aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-03-15 13:23:32 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-04-08 18:41:29 +0800
commit2a85f0995c7e706dccc43b79aaa2d11457371605 (patch)
tree60082795c89fb3d2ace1d58ef5ab9cc97e48ed89
parente9a4efb7c5ce691e0547f72b8cc4eb7af6a62a2b (diff)
downloadgsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.tar
gsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.tar.gz
gsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.tar.bz2
gsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.tar.lz
gsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.tar.xz
gsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.tar.zst
gsoc2013-empathy-2a85f0995c7e706dccc43b79aaa2d11457371605.zip
Remove Forget Password sweeper in password_entry
-rw-r--r--libempathy-gtk/empathy-account-widget-skype.c23
-rw-r--r--libempathy-gtk/empathy-account-widget-skype.ui4
2 files changed, 0 insertions, 27 deletions
diff --git a/libempathy-gtk/empathy-account-widget-skype.c b/libempathy-gtk/empathy-account-widget-skype.c
index 82eac4372..0b2fd1df4 100644
--- a/libempathy-gtk/empathy-account-widget-skype.c
+++ b/libempathy-gtk/empathy-account-widget-skype.c
@@ -432,27 +432,6 @@ account_widget_build_skype_password_entry_focus (GtkWidget *password_entry,
}
static void
-account_widget_skype_forget_password (GtkEntry *entry,
- GtkEntryIconPosition pos,
- GdkEvent *event,
- EmpathyAccountWidget *self)
-{
- EmpathyAccountWidgetPriv *priv = GET_PRIV (self);
- TpAccount *account = empathy_account_settings_get_account (priv->settings);
-
- if (pos != GTK_ENTRY_ICON_SECONDARY)
- return;
-
- if (account == NULL)
- return;
-
- DEBUG ("ForgetPassword clicked");
-
- emp_cli_account_interface_external_password_storage_call_forget_password (
- TP_PROXY (account), -1, NULL, NULL, NULL, NULL);
-}
-
-static void
account_widget_skype_remember_password_toggled (GtkToggleButton *button,
EmpathyAccountWidget *self)
{
@@ -791,8 +770,6 @@ empathy_account_widget_build_skype (EmpathyAccountWidget *self,
empathy_builder_connect (self->ui_details->gui, self,
"edit-privacy-settings-button", "clicked",
account_widget_skype_privacy_settings,
- "entry_password", "icon-press",
- account_widget_skype_forget_password,
"remember-password", "toggled",
account_widget_skype_remember_password_toggled,
NULL);
diff --git a/libempathy-gtk/empathy-account-widget-skype.ui b/libempathy-gtk/empathy-account-widget-skype.ui
index 4d68e1aeb..7e4b8b77d 100644
--- a/libempathy-gtk/empathy-account-widget-skype.ui
+++ b/libempathy-gtk/empathy-account-widget-skype.ui
@@ -437,10 +437,6 @@ Get one at &lt;a href="http://www.skype.com/go/register"&gt;Skype.com&lt;/a&gt;<
<property name="can_focus">True</property>
<property name="visibility">False</property>
<property name="invisible_char">●</property>
- <property name="secondary_icon_stock">gtk-clear</property>
- <property name="secondary_icon_activatable">True</property>
- <property name="secondary_icon_sensitive">True</property>
- <property name="secondary_icon_tooltip_text">Forget the password</property>
</object>
<packing>
<property name="left_attach">1</property>