From b69cd0e9324a77d6134a1a5a67c42bc6774404fd Mon Sep 17 00:00:00 2001 From: Boris billiob Faure Date: Tue, 21 Apr 2009 23:13:18 +0200 Subject: [PATCH] Fix signin button issue --- amsn2/gui/front_ends/efl/login.py | 10 +++++----- amsn2/gui/front_ends/efl/main.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/amsn2/gui/front_ends/efl/login.py b/amsn2/gui/front_ends/efl/login.py index d0ef654e..b94bc604 100644 --- a/amsn2/gui/front_ends/efl/login.py +++ b/amsn2/gui/front_ends/efl/login.py @@ -58,7 +58,7 @@ def show(self): def hide(self): self._edje.hide() - #FIXME: those are not hidden by self._edje.hide() + #FIXME: those are not hidden by self._edje.hide() self.password.hide() self.status.hide() self.username.hide() @@ -83,9 +83,9 @@ def switch_to_profile(self, profile): def signin(self): - self.current_profile.username = self.username.entry_get() - self.current_profile.email = self.username.entry_get() - self.current_profile.password = self.password.entry_get() + self.current_profile.username = elementary.Entry.markup_to_utf8(self.username.entry_get()) + self.current_profile.email = self.current_profile.username + self.current_profile.password = elementary.Entry.markup_to_utf8(self.password.entry_get()) self._amsn_core.signinToAccount(self, self.current_profile) def onConnecting(self, progress, message): @@ -108,5 +108,5 @@ def onConnecting(self, progress, message): def __signin_cb(self, edje_obj, signal, source): self.signin() - def __signin_button_cb(self, button, event): + def __signin_button_cb(self, button, event, data): self.signin() diff --git a/amsn2/gui/front_ends/efl/main.py b/amsn2/gui/front_ends/efl/main.py index fee6299b..f282abe8 100644 --- a/amsn2/gui/front_ends/efl/main.py +++ b/amsn2/gui/front_ends/efl/main.py @@ -21,7 +21,7 @@ def __init__(self, amsn_core): def __on_show(self, evas_obj): self._amsn_core.mainWindowShown() - def __on_delete_request(self, evas_obj): + def __on_delete_request(self, evas_obj, emission, data): self._amsn_core.quit() def __on_key_down(self, obj, event):