From: epage Date: Tue, 11 Aug 2009 02:38:52 +0000 (+0000) Subject: Trying to fix the application title X-Git-Url: http://git.maemo.org/git/?p=quicknote;a=commitdiff_plain;h=95a7f33eee9a55cafe60f739a29f4a2caf212721 Trying to fix the application title git-svn-id: file:///svnroot/quicknote/trunk@58 bb7704e3-badb-4cfa-9ab3-9374dc87eaa2 --- diff --git a/src/libquicknote.py b/src/libquicknote.py index 624c4dd..bf2870f 100644 --- a/src/libquicknote.py +++ b/src/libquicknote.py @@ -56,6 +56,8 @@ class QuicknoteProgram(hildon.Program): def __init__(self): super(QuicknoteProgram, self).__init__() + if IS_HILDON: + gtk.set_application_name(constants.__pretty_app_name__) dblog = os.path.join(self._user_data, "quicknote.log") @@ -83,9 +85,8 @@ class QuicknoteProgram(hildon.Program): self._window = hildon.Window() self.add_window(self._window) - if IS_HILDON: - gtk.set_application_name(constants.__pretty_app_name__) - self._window.set_title(constants.__pretty_app_name__) + if not IS_HILDON: + self._window.set_title(constants.__pretty_app_name__) self._window.connect("delete_event", self._on_delete_event) self._window.connect("destroy", self._on_destroy) self._window.connect("key-press-event", self._on_key_press) diff --git a/support/builddeb.py b/support/builddeb.py index 17a8614..3a2f793 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -20,6 +20,7 @@ __build__ = 0 __changelog__ = ''' 0.7.8 * Spell checking + * Fixing the application title 0.7.7 * Slight modifications to the note history and SQL dialogs