[billreminder] Found a few remaining object.alarm instead of object.alarmDate.



commit 67f6ad206d666e8a218c130c45dac932b1eaab1d
Author: Og B. Maciel <ogmaciel gnome org>
Date:   Sun Jan 10 13:53:49 2010 -0500

    Found a few remaining object.alarm instead of object.alarmDate.

 src/gui/adddialog.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/adddialog.py b/src/gui/adddialog.py
index 6499bb7..2417c1f 100644
--- a/src/gui/adddialog.py
+++ b/src/gui/adddialog.py
@@ -160,8 +160,8 @@ class AddDialog(object):
             self.txtbuffer.set_text(self.currentrecord.notes)
         #self.chkPaid.set_active(self.currentrecord.Paid)
 
-        if self.currentrecord.alarm > 0:
-            self.alarmbutton.set_date(self.currentrecord.alarm)
+        if self.currentrecord.alarmDate:
+            self.alarmbutton.set_date(self.currentrecord.alarmDate)
 
     def _populate_payee(self):
         """ Populates combobox with existing payees """
@@ -339,7 +339,7 @@ class AddDialog(object):
             self.currentrecord.dueDate = selectedDate
             self.currentrecord.amount = amount
             self.currentrecord.notes = sbuffer
-            self.currentrecord.alarm = alarm
+            self.currentrecord.alarmDate = alarm
             if category:
                 self.currentrecord.category = category
 



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