diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-14 19:38:18 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-14 19:38:18 +0800 |
commit | 49c0ca0a3327016e3b4b64490c6494ef0383ce7e (patch) | |
tree | 04af97621cba089d17e6b74c0384cb9faf35464c /libempathy-gtk/empathy-account-widget.c | |
parent | 6dfc3153eb4551778f2cdbb6f9acc48013c7ddc4 (diff) | |
download | gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.tar gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.tar.gz gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.tar.bz2 gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.tar.lz gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.tar.xz gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.tar.zst gsoc2013-empathy-49c0ca0a3327016e3b4b64490c6494ef0383ce7e.zip |
account-widget: use empathy_account_widget_changed
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | 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 b74a3095e..99af21322 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 |