pybank r75 - trunk



Author: walters
Date: Thu Sep 25 19:46:43 2008
New Revision: 75
URL: http://svn.gnome.org/viewvc/pybank?rev=75&view=rev

Log:
Bug 552554: small fixes

New file.


Added:
   trunk/notify.py

Added: trunk/notify.py
==============================================================================
--- (empty file)
+++ trunk/notify.py	Thu Sep 25 19:46:43 2008
@@ -0,0 +1,12 @@
+import bank
+import Notify
+
+Notify.init("pybank_notification")
+
+print("App name is " + Notify.get_app_name())
+
+n = Notify.Notification("test notification", "Test notification from pybank", None, None)
+n.set_timeout(5000)
+n.show(None)
+
+Notify.uninit()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]