diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-07-26 22:27:45 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-07-26 22:27:45 +0800 |
commit | c21fd52728f7fe1ad14abafe7a5983f9f0df20b7 (patch) | |
tree | 0c13a5b7b0cc6e8a678db595e6b79eb2d46ffa25 /libempathy-gtk/empathy-account-chooser.h | |
parent | 8b462cc50c3e2a89d889598bb4a63d9d625bf53d (diff) | |
download | gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.tar gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.tar.gz gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.tar.bz2 gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.tar.lz gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.tar.xz gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.tar.zst gsoc2013-empathy-c21fd52728f7fe1ad14abafe7a5983f9f0df20b7.zip |
2007-07-26 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-account-chooser.c:
* libempathy-gtk/empathy-new-chatroom-dialog.c:
* libempathy-gtk/empathy-account-chooser.h:
* libempathy-gtk/empathy-contact-dialogs.c:
* libempathy-gtk/empathy-chatrooms-window.c:
* libempathy-gtk/empathy-contact-widget.c:
* libempathy-gtk/empathy-contact-widget.h:
* libempathy-gtk/empathy-log-window.c:
* doc/*: Do not show salut accounts in the add contact dialog. Rework
a bit EmpathyContactWidget. Fixes bug #459100
(Guillaume Desmottes, Xavier Claessens).
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@197 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-account-chooser.h')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.h b/libempathy-gtk/empathy-account-chooser.h index 8d9cb657c..146160380 100644 --- a/libempathy-gtk/empathy-account-chooser.h +++ b/libempathy-gtk/empathy-account-chooser.h @@ -36,6 +36,10 @@ G_BEGIN_DECLS #define EMPATHY_IS_ACCOUNT_CHOOSER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_ACCOUNT_CHOOSER)) #define EMPATHY_ACCOUNT_CHOOSER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_ACCOUNT_CHOOSER, EmpathyAccountChooserClass)) +typedef gboolean (* EmpathyAccountChooserFilterFunc) (McAccount *account, + gpointer user_data); + + typedef struct _EmpathyAccountChooser EmpathyAccountChooser; typedef struct _EmpathyAccountChooserClass EmpathyAccountChooserClass; @@ -51,14 +55,15 @@ GType empathy_account_chooser_get_type (void) G_GNUC_CONST; GtkWidget * empathy_account_chooser_new (void); McAccount * empathy_account_chooser_get_account (EmpathyAccountChooser *chooser); gboolean empathy_account_chooser_set_account (EmpathyAccountChooser *chooser, - McAccount *account); -gboolean empathy_account_chooser_get_can_select_all (EmpathyAccountChooser *chooser); - -void empathy_account_chooser_set_can_select_all (EmpathyAccountChooser *chooser, - gboolean can_select_all); + McAccount *account); gboolean empathy_account_chooser_get_has_all_option (EmpathyAccountChooser *chooser); void empathy_account_chooser_set_has_all_option (EmpathyAccountChooser *chooser, - gboolean has_all_option); + gboolean has_all_option); +void empathy_account_chooser_set_filter (EmpathyAccountChooser *chooser, + EmpathyAccountChooserFilterFunc filter, + gpointer user_data); +gboolean empathy_account_chooser_filter_is_connected(McAccount *account, + gpointer user_data); G_END_DECLS |