Modified:
trunk/src/gui/Changelog
trunk/src/gui/aboutdialog.py
trunk/src/lib/Changelog
trunk/src/lib/common.py
Log:
Fix clickable project web site label and user a bigger icon for about
dialog and notification messages
Modified: trunk/src/gui/Changelog
==============================================================================
--- trunk/src/gui/Changelog (original)
+++ trunk/src/gui/Changelog Fri Jul 18 16:08:26 2008
@@ -1,3 +1,7 @@
+2008-07-18 Og Maciel <ogma...@gnome.org>
+
+ * aboutdialog.py: Make sure you can visit the project web site
when clicking on link.
+
2008-07-15 Og Maciel <ogma...@gnome.org>
* maindialog.py: Fixed regression from r.557 that caused records
to be reset upon editing
Modified: trunk/src/gui/aboutdialog.py
==============================================================================
--- trunk/src/gui/aboutdialog.py (original)
+++ trunk/src/gui/aboutdialog.py Fri Jul 18 16:08:26 2008
@@ -5,13 +5,13 @@
import pygtk
pygtk.require('2.0')
import gtk
-import webbrowser
-
+from gnome import url_show
import lib.common as common
from lib import i18n
TRANSLATORS = _("translator-credits")
+gtk.about_dialog_set_url_hook(lambda dialog, url, data: url_show(url), None)
class AboutDialog(gtk.AboutDialog):
"""
@@ -21,7 +21,6 @@
gtk.AboutDialog.__init__(self)
# Set up the UI
- gtk.about_dialog_set_url_hook(self.open_url)
self._initialize_dialog_widgets()
self.set_icon_from_file(common.APP_ICON)
@@ -39,7 +38,3 @@
# Show all widgets
self.show_all()
-
- # Make sure the URLs are clickable
- def open_url(self, dlg, url):
- webbrowser.open_new(url)
Modified: trunk/src/lib/Changelog
==============================================================================
--- trunk/src/lib/Changelog (original)
+++ trunk/src/lib/Changelog Fri Jul 18 16:08:26 2008
@@ -1,5 +1,9 @@
2008-07-15 Og Maciel <ogma...@gnome.org>
+ * common.py: Use a bigger icon for the about dialog and notifications.
+
+2008-07-15 Og Maciel <ogma...@gnome.org>
+
* dialogs.py: Fixed regression from r.557 that caused records to
be reset upon editing
2008-07-10 Og Maciel <ogma...@gnome.org>
Modified: trunk/src/lib/common.py
==============================================================================
--- trunk/src/lib/common.py (original)
+++ trunk/src/lib/common.py Fri Jul 18 16:08:26 2008
@@ -48,7 +48,7 @@
# Images
APP_ICON = os.path.join(IMAGE_PATH, 'billreminder16.png')
TRAY_ICON = os.path.join(IMAGE_PATH, 'billreminder16.png')
-APP_HEADER = os.path.join(IMAGE_PATH, 'billreminder.png')
+APP_HEADER = os.path.join(IMAGE_PATH, 'header.png')
# Config info
CFG_NAME = 'billreminder.cfg'