[empathy/mc5: 219/483] Set the sensitivity to the forget button
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 219/483] Set the sensitivity to the forget button
- Date: Fri, 21 Aug 2009 17:17:49 +0000 (UTC)
commit 25ee209b2d033ca91f23a818636926285030945d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jul 29 23:21:40 2009 +0200
Set the sensitivity to the forget button
libempathy-gtk/empathy-account-widget.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 0361b95..5cfff21 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]