[billreminder] Seems that we're getting Cancel and Ok by default now?



commit 62b3de2065355b24bca4d038ae4e924f5be48117
Author: Og B. Maciel <ogmaciel gnome org>
Date:   Sun Jan 10 18:59:26 2010 -0500

    Seems that we're getting Cancel and Ok by default now?

 src/daemon/alarm.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/daemon/alarm.py b/src/daemon/alarm.py
index 2a30ba1..8d2431b 100644
--- a/src/daemon/alarm.py
+++ b/src/daemon/alarm.py
@@ -80,7 +80,7 @@ class Alarm(object):
             bubble = self.notification(common.APPNAME, msg)
             bubble.add_action("view", _("Show BillReminder"),
                 self.__cb_launch_gui, None)
-            bubble.add_action("close", _("Cancel"), None)
+            #bubble.add_action("close", _("Cancel"), None)
             bubble.show()
 
         return False
@@ -146,7 +146,7 @@ class Alarm(object):
                 bubble.add_action("paid", _("Mark as paid"),
                     self.__cb_mark_as_paid, bill)
                 bubble.add_action("edit", _("Edit"), self.__cb_edit_bill, bill)
-                bubble.add_action("close", _("Cancel"), None)
+                #bubble.add_action("close", _("Cancel"), None)
                 if timeout:
                     bubble.set_timeout(timeout)
                 bubble.show()



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