aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/messaging-menu.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-09-01 12:25:10 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-09-01 12:25:10 +0200
commitc8794795a7054eff4e21bbca52321195f2d8720c (patch)
tree3b091347bf0f422a3b84938fa5b14592f0ca1afd /libmessaging-menu/messaging-menu.h
parentd28296b69565793050e51717a89c84eeadd88dbc (diff)
parent998854d26580f3c9b001518cc7fcd283e41001f6 (diff)
downloadayatana-indicator-messages-c8794795a7054eff4e21bbca52321195f2d8720c.tar.gz
ayatana-indicator-messages-c8794795a7054eff4e21bbca52321195f2d8720c.tar.bz2
ayatana-indicator-messages-c8794795a7054eff4e21bbca52321195f2d8720c.zip
Import upstream version 12.10.2
Diffstat (limited to 'libmessaging-menu/messaging-menu.h')
-rw-r--r--libmessaging-menu/messaging-menu.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libmessaging-menu/messaging-menu.h b/libmessaging-menu/messaging-menu.h
index e767099..6c405c7 100644
--- a/libmessaging-menu/messaging-menu.h
+++ b/libmessaging-menu/messaging-menu.h
@@ -29,6 +29,16 @@ G_BEGIN_DECLS
#define MESSAGING_MENU_APP_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), MESSAGING_MENU_TYPE_APP, MessagingMenuAppClass))
#define MESSAGING_MENU_IS_APP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MESSAGING_MENU_TYPE_APP))
+/**
+ * MessagingMenuStatus:
+ * @MESSAGING_MENU_STATUS_AVAILABLE: available
+ * @MESSAGING_MENU_STATUS_AWAY: away
+ * @MESSAGING_MENU_STATUS_BUSY: busy
+ * @MESSAGING_MENU_STATUS_INVISIBLE: invisible
+ * @MESSAGING_MENU_STATUS_OFFLINE: offline
+ *
+ * An enumeration for the possible chat statuses the messaging menu can be in.
+ */
typedef enum {
MESSAGING_MENU_STATUS_AVAILABLE,
MESSAGING_MENU_STATUS_AWAY,
@@ -107,6 +117,14 @@ void messaging_menu_app_remove_source (MessagingMenuA
gboolean messaging_menu_app_has_source (MessagingMenuApp *app,
const gchar *source_id);
+void messaging_menu_app_set_source_label (MessagingMenuApp *app,
+ const gchar *source_id,
+ const gchar *label);
+
+void messaging_menu_app_set_source_icon (MessagingMenuApp *app,
+ const gchar *source_id,
+ GIcon *icon);
+
void messaging_menu_app_set_source_count (MessagingMenuApp *app,
const gchar *source_id,
guint count);