Fixing the switching to accounts tab when no callback is set
authorepage <eopage@byu.net>
Sat, 24 Oct 2009 18:43:13 +0000 (18:43 +0000)
committerepage <eopage@byu.net>
Sat, 24 Oct 2009 18:43:13 +0000 (18:43 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@558 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/dc_glade.py
support/builddeb.py

index 6923606..5ae1503 100755 (executable)
@@ -388,6 +388,10 @@ class Dialcentral(object):
                                        hildonize.show_information_banner(self._window, "Logged In")
                                else:
                                        hildonize.show_information_banner(self._window, "Login Failed")
+                               if not self._phoneBackends[self._defaultBackendId].get_callback_number():
+                                       # subtle reminder to the users to configure things
+                                       self._notebook.set_current_page(self.ACCOUNT_TAB)
+
                except Exception, e:
                        with gtk_toolbox.gtk_lock():
                                self._errorDisplay.push_exception()
@@ -438,10 +442,6 @@ class Dialcentral(object):
                                credentials = self._credentialsDialog.request_credentials(
                                        defaultCredentials = self._credentials
                                )
-                               if not self._phoneBackends[tmpServiceId].get_callback_number():
-                                       # subtle reminder to the users to configure things
-                                       self._notebook.set_current_page(self.ACCOUNT_TAB)
-
                                banner = hildonize.show_busy_banner_start(self._window, "Logging In...")
                        try:
                                username, password = credentials
index 5381ff4..0045f7a 100755 (executable)
@@ -35,6 +35,7 @@ __changelog__ = """
 * Ability to narrow down messages either by type or status
 * Fremantle: Notification Support including testing of custom notifications
 * UI Tweak: Cut down the number of times the login dialog is needlessly displayed
+* Bug Fix: Switching to accounts tab when callback is blank
 
 1.0.7
 * Sped up various login cases