aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.h
diff options
context:
space:
mode:
authorC10uD <c10ud.dev@gmail.com>2010-07-22 15:04:52 +0200
committerC10uD <c10ud.dev@gmail.com>2010-07-22 15:04:52 +0200
commit3fb0e1143677f16976fa991098dc009a0a7b1a79 (patch)
tree2ec2fecd0988defb0891c5ce9002a78998bb0c1b /src/app-indicator.h
parent47806177db55300ada6d5f6bf543eb77d765f0f3 (diff)
downloadayatana-indicator-application-3fb0e1143677f16976fa991098dc009a0a7b1a79.tar.gz
ayatana-indicator-application-3fb0e1143677f16976fa991098dc009a0a7b1a79.tar.bz2
ayatana-indicator-application-3fb0e1143677f16976fa991098dc009a0a7b1a79.zip
forgot some files
Diffstat (limited to 'src/app-indicator.h')
-rw-r--r--src/app-indicator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/app-indicator.h b/src/app-indicator.h
index e37abd4..a5ee4d6 100644
--- a/src/app-indicator.h
+++ b/src/app-indicator.h
@@ -69,6 +69,7 @@ G_BEGIN_DECLS
Gets a pointer to the #AppIndicatorClass for the object @obj.
*/
+
#define APP_INDICATOR_TYPE (app_indicator_get_type ())
#define APP_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APP_INDICATOR_TYPE, AppIndicator))
#define APP_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APP_INDICATOR_TYPE, AppIndicatorClass))
@@ -96,10 +97,16 @@ G_BEGIN_DECLS
String identifier for the #AppIndicator::connection-changed signal.
*/
+/**
+ APP_INDICATOR_SIGNAL_NEW_PATH:
+
+ String identifier for the #AppIndicator::new-path signal.
+*/
#define APP_INDICATOR_SIGNAL_NEW_ICON "new-icon"
#define APP_INDICATOR_SIGNAL_NEW_ATTENTION_ICON "new-attention-icon"
#define APP_INDICATOR_SIGNAL_NEW_STATUS "new-status"
#define APP_INDICATOR_SIGNAL_CONNECTION_CHANGED "connection-changed"
+#define APP_INDICATOR_SIGNAL_NEW_PATH "new-path"
/**
AppIndicatorCategory:
@@ -170,6 +177,8 @@ struct _AppIndicatorClass {
void (* new_status) (AppIndicator *indicator,
const gchar *status,
gpointer user_data);
+ void (* new_path) (AppIndicator *indicator,
+ gpointer user_data);
/* Local Signals */
void (* connection_changed) (AppIndicator * indicator,
@@ -226,6 +235,8 @@ void app_indicator_set_menu (AppIndicator
GtkMenu *menu);
void app_indicator_set_icon (AppIndicator *self,
const gchar *icon_name);
+void app_indicator_set_icon_path (AppIndicator *self,
+ const gchar *icon_path);
/* Get properties */
const gchar * app_indicator_get_id (AppIndicator *self);