[Xword-commits] r65 - in trunk: debian root/usr/bin

btb at garage.maemo.org btb at garage.maemo.org
Thu May 1 05:58:24 EEST 2008


Author: btb
Date: 2008-05-01 05:58:21 +0300 (Thu, 01 May 2008)
New Revision: 65

Modified:
   trunk/debian/changelog
   trunk/root/usr/bin/xword
Log:
Use HildonBanner for notifications. Need to find out how to make xword
raise itself when invoked via dbus so people will actually be able to
read the banner


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-04-30 03:52:56 UTC (rev 64)
+++ trunk/debian/changelog	2008-05-01 02:58:21 UTC (rev 65)
@@ -1,3 +1,9 @@
+xword (1.0.7) stable; urgency=low
+
+  * Use HildonBanner for notifications
+
+ -- Bradley Bell <bradleyb at u.washington.edu>  Wed, 30 Apr 2008 19:55:35 -0700
+
 xword (1.0.6) stable; urgency=low
 
   * Added osso support

Modified: trunk/root/usr/bin/xword
===================================================================
--- trunk/root/usr/bin/xword	2008-04-30 03:52:56 UTC (rev 64)
+++ trunk/root/usr/bin/xword	2008-05-01 02:58:21 UTC (rev 65)
@@ -1374,7 +1374,7 @@
         self.load_list(ACROSS)
         self.load_list(DOWN)
         self.enable_controls(True)
-        if has_osso:
+        if has_hildon:
             self.notify("Opened puzzle '" + self.puzzle.title + "'")
 
         self.idle_event()
@@ -1447,9 +1447,8 @@
         gtk.main_quit()
 
     def notify(self, msg):
-        if has_osso:
-            note = osso.SystemNote(osso_c)
-            note.system_note_infoprint(msg)
+        if has_hildon:
+            hildon.hildon_banner_show_information(self.win, None, msg)
         else:
             dialog = gtk.MessageDialog(parent=self.win,
                                        type=gtk.MESSAGE_INFO,



More information about the Xword-commits mailing list