[Xword-commits] r97 - trunk
btb at garage.maemo.org
btb at garage.maemo.org
Thu May 22 01:13:51 EEST 2008
Author: btb
Date: 2008-05-22 01:13:50 +0300 (Thu, 22 May 2008)
New Revision: 97
Modified:
trunk/xword
Log:
Switch back to osso.SystemNote for notifications
Modified: trunk/xword
===================================================================
--- trunk/xword 2008-05-21 21:35:13 UTC (rev 96)
+++ trunk/xword 2008-05-21 22:13:50 UTC (rev 97)
@@ -1484,8 +1484,15 @@
gtk.main_quit()
def notify(self, msg):
- if has_hildon:
- hildon.hildon_banner_show_information(self.win, None, msg)
+ # FIXME: we want to use HildonBanner instead of
+ # SystemNote, but when a new puzzle is opened via dbus,
+ # the user will never see the notification (because xword
+ # remains in the background)
+ #if has_hildon:
+ # hildon.hildon_banner_show_information(self.win, None, msg)
+ if has_osso:
+ note = osso.SystemNote(osso_c)
+ note.system_note_infoprint(msg)
else:
self.status_bar.push(self.status_bar.get_context_id('stat'), msg)
More information about the Xword-commits
mailing list