]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Make the PresenceComboBox's changed handler only fire when the user changed it
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index cfcdd471f6cdc54bb714d968712d10a573fa830e..ec94383e4255e9050ad0aa6d136a3f41af84911e 100644 (file)
@@ -11,6 +11,8 @@
        GtkWidget *roster_window;
        GtkTreeStore *roster_model;
        GtkTreeModelFilter *roster_filter;
+       GtkComboBox *presence_combo;
+       gulong presence_combo_changed_handler_id;
        OFMapTable *groupMap;
        OFMutableDictionary *contactMap;
        OFMutableDictionary *chatMap;
@@ -20,4 +22,6 @@
 
 - initWithClient: (JubChatClient*)client;
 - (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
+-      (void)client: (JubChatClient*)client
+  didChangePresence: (XMPPPresence*)presence;
 @end