Fixing the title under maemo
authorepage <eopage@byu.net>
Tue, 11 Aug 2009 02:35:55 +0000 (02:35 +0000)
committerepage <eopage@byu.net>
Tue, 11 Aug 2009 02:35:55 +0000 (02:35 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@380 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/dc_glade.py

index 2370076..87ab87e 100755 (executable)
@@ -153,7 +153,9 @@ class Dialcentral(object):
                else:
                        pass # warnings.warn("No Hildon", UserWarning, 2)
 
-               self._window.set_title("%s" % constants.__pretty_app_name__)
+               # If under hildon, rely on the application name being shown
+               if hildon is None:
+                       self._window.set_title("%s" % constants.__pretty_app_name__)
 
                callbackMapping = {
                        "on_dialpad_quit": self._on_close,