Switching to a touch selector for the addressbook selector
[gc-dialer] / src / null_views.py
index 07fdfe8..ce6a6cd 100644 (file)
@@ -61,7 +61,7 @@ class AccountInfo(object):
                self._clearCookiesButton = widgetTree.get_widget("clearcookies")
 
                self._notifyCheckbox = widgetTree.get_widget("notifyCheckbox")
-               self._minutesEntry = widgetTree.get_widget("minutesEntry")
+               self._minutesEntryButton = widgetTree.get_widget("minutesEntryButton")
                self._missedCheckbox = widgetTree.get_widget("missedCheckbox")
                self._voicemailCheckbox = widgetTree.get_widget("voicemailCheckbox")
                self._smsCheckbox = widgetTree.get_widget("smsCheckbox")
@@ -71,7 +71,7 @@ class AccountInfo(object):
                self._clearCookiesButton.set_sensitive(False)
 
                self._notifyCheckbox.set_sensitive(False)
-               self._minutesEntry.set_sensitive(False)
+               self._minutesEntryButton.set_sensitive(False)
                self._missedCheckbox.set_sensitive(False)
                self._voicemailCheckbox.set_sensitive(False)
                self._smsCheckbox.set_sensitive(False)
@@ -83,13 +83,13 @@ class AccountInfo(object):
                self._clearCookiesButton.set_sensitive(True)
 
                self._notifyCheckbox.set_sensitive(True)
-               self._minutesEntry.set_sensitive(True)
+               self._minutesEntryButton.set_sensitive(True)
                self._missedCheckbox.set_sensitive(True)
                self._voicemailCheckbox.set_sensitive(True)
                self._smsCheckbox.set_sensitive(True)
 
        @staticmethod
-       def update():
+       def update(force = False):
                return False
 
        @staticmethod
@@ -121,7 +121,7 @@ class RecentCallsView(object):
        def disable(self):
                pass
 
-       def update(self):
+       def update(self, force = False):
                return False
 
        @staticmethod
@@ -153,7 +153,7 @@ class MessagesView(object):
        def disable(self):
                pass
 
-       def update(self):
+       def update(self, force = False):
                return False
 
        @staticmethod
@@ -177,15 +177,15 @@ class MessagesView(object):
 class ContactsView(object):
 
        def __init__(self, widgetTree):
-               self._booksSelectionBox = widgetTree.get_widget("addressbook_combo")
+               self._bookSelectionButton = widgetTree.get_widget("addressbookSelectButton")
 
        def enable(self):
-               self._booksSelectionBox.set_sensitive(False)
+               self._bookSelectionButton.set_sensitive(False)
 
        def disable(self):
-               self._booksSelectionBox.set_sensitive(True)
+               self._bookSelectionButton.set_sensitive(True)
 
-       def update(self):
+       def update(self, force = False):
                return False
 
        @staticmethod