aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-07-30 05:21:40 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-07-30 06:13:21 +0800
commit25ee209b2d033ca91f23a818636926285030945d (patch)
tree2bd70af960f304068cd5c9f9dc0ca6849747c5bc
parent6bd8c2d7d8589d3d0019599c75de05b20ae18f44 (diff)
downloadgsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.tar
gsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.tar.gz
gsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.tar.bz2
gsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.tar.lz
gsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.tar.xz
gsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.tar.zst
gsoc2013-empathy-25ee209b2d033ca91f23a818636926285030945d.zip
Set the sensitivity to the forget button
-rw-r--r--libempathy-gtk/empathy-account-widget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 0361b957c..5cfff21d9 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -198,12 +198,13 @@ account_widget_forget_clicked_cb (GtkWidget *button,
static void
account_widget_password_changed_cb (GtkWidget *entry,
- GtkWidget *button)
+ EmpathyAccountWidget *self)
{
+ EmpathyAccountWidgetPriv *priv = GET_PRIV (self);
const gchar *str;
str = gtk_entry_get_text (GTK_ENTRY (entry));
- gtk_widget_set_sensitive (button, !EMP_STR_EMPTY (str));
+ gtk_widget_set_sensitive (priv->button_forget, !EMP_STR_EMPTY (str));
}
static void