[empathy] account-widget: use empathy_account_widget_changed
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] account-widget: use empathy_account_widget_changed
- Date: Thu, 14 Jan 2010 11:57:19 +0000 (UTC)
commit 49c0ca0a3327016e3b4b64490c6494ef0383ce7e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Jan 14 11:38:18 2010 +0000
account-widget: use empathy_account_widget_changed
libempathy-gtk/empathy-account-widget.c | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index b74a309..99af213 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -168,12 +168,8 @@ static void
account_widget_entry_changed_cb (GtkEditable *entry,
EmpathyAccountWidget *self)
{
- EmpathyAccountWidgetPriv *priv = GET_PRIV (self);
-
account_widget_entry_changed_common (self, GTK_ENTRY (entry), FALSE);
- account_widget_handle_control_buttons_sensitivity (self);
-
- priv->contains_pending_changes = TRUE;
+ empathy_account_widget_changed (self);
}
static void
@@ -214,8 +210,7 @@ account_widget_int_changed_cb (GtkWidget *widget,
g_return_if_reached ();
}
- account_widget_handle_control_buttons_sensitivity (self);
- priv->contains_pending_changes = TRUE;
+ empathy_account_widget_changed (self);
}
static void
@@ -247,8 +242,7 @@ account_widget_checkbutton_toggled_cb (GtkWidget *widget,
empathy_account_settings_set_boolean (priv->settings, param_name, value);
}
- account_widget_handle_control_buttons_sensitivity (self);
- priv->contains_pending_changes = TRUE;
+ empathy_account_widget_changed (self);
}
static void
@@ -265,8 +259,7 @@ account_widget_forget_clicked_cb (GtkWidget *button,
empathy_account_settings_unset (priv->settings, param_name);
gtk_entry_set_text (GTK_ENTRY (priv->entry_password), "");
- account_widget_handle_control_buttons_sensitivity (self);
- priv->contains_pending_changes = TRUE;
+ empathy_account_widget_changed (self);
}
static void
@@ -345,8 +338,7 @@ account_widget_combobox_changed_cb (GtkWidget *widget,
empathy_account_settings_set_string (priv->settings, param_name, value);
}
- account_widget_handle_control_buttons_sensitivity (self);
- priv->contains_pending_changes = TRUE;
+ empathy_account_widget_changed (self);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]