diff options
author | Jonathan Tellier <jonathan.tellier@gmail.com> | 2009-08-27 00:52:45 +0800 |
---|---|---|
committer | jtellier <jonathan.tellier@collabora.co.uk> | 2009-08-29 02:27:43 +0800 |
commit | 435a811e440c3a5a79f504fa6f2850e63673f49a (patch) | |
tree | 0b3631df59ac2f7f935612b2e076e9ad0c2c7773 /libempathy-gtk/empathy-account-widget.h | |
parent | 36e602e834790033aed3c8b82a93404efb1585ad (diff) | |
download | gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.tar gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.tar.gz gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.tar.bz2 gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.tar.lz gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.tar.xz gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.tar.zst gsoc2013-empathy-435a811e440c3a5a79f504fa6f2850e63673f49a.zip |
Asking for confirmation before losing pending accounts changes.
If an account has pending changes, we now ask for a confirmation before:
- Adding a new account
- Closing the accounts dialog
- Selecting a new account.
Those are all options which discard pending changes.
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.h')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.h b/libempathy-gtk/empathy-account-widget.h index d4111eba2..75214fac8 100644 --- a/libempathy-gtk/empathy-account-widget.h +++ b/libempathy-gtk/empathy-account-widget.h @@ -65,6 +65,11 @@ EmpathyAccountWidget * empathy_account_widget_new_for_protocol ( EmpathyAccountSettings *settings, gboolean simple); +gboolean empathy_account_widget_contains_pending_changes + (EmpathyAccountWidget *widget); +void empathy_account_widget_discard_pending_changes + (EmpathyAccountWidget *widget); + G_END_DECLS #endif /* __EMPATHY_ACCOUNT_WIDGET_H__ */ |