Fixing some where notification behavior with the settings dialog
authorEd Page <eopage@byu.net>
Thu, 10 Feb 2011 03:35:55 +0000 (21:35 -0600)
committerEd Page <eopage@byu.net>
Thu, 10 Feb 2011 03:35:55 +0000 (21:35 -0600)
src/dialogs.py

index 61b6ad6..0da841b 100644 (file)
@@ -283,10 +283,10 @@ class AccountDialog(object):
        def _set_notification_time(self, minutes):
                for i, (time, _) in enumerate(self._RECURRENCE_CHOICES):
                        if time == minutes:
-                               self._callbackSelector.setCurrentIndex(i)
+                               self._notificationTimeSelector.setCurrentIndex(i)
                                break
                else:
-                               self._callbackSelector.setCurrentIndex(0)
+                               self._notificationTimeSelector.setCurrentIndex(0)
 
        notificationTime = property(_get_notification_time, _set_notification_time)