aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.h
diff options
context:
space:
mode:
authorJonathan Tellier <jonathan.tellier@gmail.com>2009-08-27 00:52:45 +0800
committerjtellier <jonathan.tellier@collabora.co.uk>2009-08-29 02:27:43 +0800
commit435a811e440c3a5a79f504fa6f2850e63673f49a (patch)
tree0b3631df59ac2f7f935612b2e076e9ad0c2c7773 /libempathy-gtk/empathy-ui-utils.h
parent36e602e834790033aed3c8b82a93404efb1585ad (diff)
downloadgsoc2013-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-ui-utils.h')
-rw-r--r--libempathy-gtk/empathy-ui-utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 39baeaf41..2d54f987c 100644
--- a/libempathy-gtk/empathy-ui-utils.h
+++ b/libempathy-gtk/empathy-ui-utils.h
@@ -113,6 +113,12 @@ gchar * empathy_make_absolute_url (const gchar *url);
gchar * empathy_make_absolute_url_len (const gchar *url,
guint len);
+/* Message Dialogs */
+void empathy_show_yes_no_question_dialog (GtkWindow *parent,
+ gchar *message,
+ GCallback response_callback,
+ gpointer user_data);
+
G_END_DECLS
#endif /* __EMPATHY_UI_UTILS_H__ */