aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-14 19:30:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-14 19:30:37 +0800
commit7f3762d3676e2b0711793f82f6cd789ba237106a (patch)
tree8bbfaf6ad12c3baa3b0945fcc2534b9d17090396 /libempathy-gtk/empathy-account-widget.c
parentb4cac9d1b0e95f27e294b71d6aa653d86f1a9287 (diff)
downloadgsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.tar
gsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.tar.gz
gsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.tar.bz2
gsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.tar.lz
gsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.tar.xz
gsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.tar.zst
gsoc2013-empathy-7f3762d3676e2b0711793f82f6cd789ba237106a.zip
add empathy_account_widget_changed as protected method
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index ae210a42e..b74a3095e 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1870,3 +1870,13 @@ empathy_account_widget_get_default_display_name (EmpathyAccountWidget *self)
return default_display_name;
}
+
+/* Used by subclass to indicate that widget contains pending changes */
+void
+empathy_account_widget_changed (EmpathyAccountWidget *self)
+{
+ EmpathyAccountWidgetPriv *priv = GET_PRIV (self);
+
+ account_widget_handle_control_buttons_sensitivity (self);
+ priv->contains_pending_changes = TRUE;
+}