aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
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
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')
-rw-r--r--libempathy-gtk/empathy-account-widget.c10
-rw-r--r--libempathy-gtk/empathy-account-widget.h3
2 files changed, 13 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;
+}
diff --git a/libempathy-gtk/empathy-account-widget.h b/libempathy-gtk/empathy-account-widget.h
index 56ba9d06e..5b994c277 100644
--- a/libempathy-gtk/empathy-account-widget.h
+++ b/libempathy-gtk/empathy-account-widget.h
@@ -73,6 +73,9 @@ void empathy_account_widget_discard_pending_changes
gchar * empathy_account_widget_get_default_display_name (
EmpathyAccountWidget *widget);
+/* protected methods */
+void empathy_account_widget_changed (EmpathyAccountWidget *widget);
+
G_END_DECLS
#endif /* __EMPATHY_ACCOUNT_WIDGET_H__ */