Skip to content

Commit

Permalink
AccountView constructor expects to be passed core object
Browse files Browse the repository at this point in the history
  • Loading branch information
jperezq committed Sep 24, 2009
1 parent 10ac7bd commit 78d4a08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions amsn2/gui/front_ends/gtk/login.py
Expand Up @@ -230,7 +230,7 @@ def __switch_to_account(self, email):
accv = self.getAccountViewFromEmail(email)

if accv is None:
accv = AccountView()
accv = AccountView(self._amsn_core)
accv.email = email

self.user.get_children()[0].set_text(accv.email)
Expand Down Expand Up @@ -287,7 +287,7 @@ def signin(self):
accv = self.getAccountViewFromEmail(email)

if accv is None:
accv = AccountView()
accv = AccountView(self._amsn_core)
accv.email = email

accv.password = self.password.get_text()
Expand Down Expand Up @@ -341,7 +341,7 @@ def __on_toggled_cb(self, source):
accv = self.getAccountViewFromEmail(email)

if accv is None:
accv = AccountView()
accv = AccountView(self._amsn_core)
accv.email = email

if source is self.rememberMe:
Expand Down

0 comments on commit 78d4a08

Please sign in to comment.