summaryrefslogtreecommitdiff
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-14 11:38:18 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-14 11:38:18 +0000
commit49c0ca0a3327016e3b4b64490c6494ef0383ce7e (patch)
tree04af97621cba089d17e6b74c0384cb9faf35464c /libempathy-gtk
parent6dfc3153eb4551778f2cdbb6f9acc48013c7ddc4 (diff)
account-widget: use empathy_account_widget_changed
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c18
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