Trying to fix the application title
authorepage <eopage@byu.net>
Tue, 11 Aug 2009 02:38:52 +0000 (02:38 +0000)
committerepage <eopage@byu.net>
Tue, 11 Aug 2009 02:38:52 +0000 (02:38 +0000)
git-svn-id: file:///svnroot/quicknote/trunk@58 bb7704e3-badb-4cfa-9ab3-9374dc87eaa2

src/libquicknote.py
support/builddeb.py

index 624c4dd..bf2870f 100644 (file)
@@ -56,6 +56,8 @@ class QuicknoteProgram(hildon.Program):
 
        def __init__(self):
                super(QuicknoteProgram, self).__init__()
 
        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")
 
 
                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)
 
                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)
                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)
index 17a8614..3a2f793 100755 (executable)
@@ -20,6 +20,7 @@ __build__ = 0
 __changelog__ = '''
 0.7.8
  * Spell checking
 __changelog__ = '''
 0.7.8
  * Spell checking
+ * Fixing the application title
 
 0.7.7
  * Slight modifications to the note history and SQL dialogs
 
 0.7.7
  * Slight modifications to the note history and SQL dialogs