aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-12-04 09:07:34 -0600
committerCody Russell <crussell@canonical.com>2009-12-04 09:07:34 -0600
commit5f4c6f875d48081bf98b1aba13022d25b6252d35 (patch)
treec79398b33063a6314184496a22b90bbf9eab9ead /src
parent580f2be463c2ede353491c8ca0ea056b861aec69 (diff)
downloadayatana-indicator-application-5f4c6f875d48081bf98b1aba13022d25b6252d35.tar.gz
ayatana-indicator-application-5f4c6f875d48081bf98b1aba13022d25b6252d35.tar.bz2
ayatana-indicator-application-5f4c6f875d48081bf98b1aba13022d25b6252d35.zip
Fix up some docs
Diffstat (limited to 'src')
-rw-r--r--src/libappindicator/app-indicator.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index c6a31ab..85b0bf0 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -544,6 +544,14 @@ category_from_enum (AppIndicatorCategory category)
/* Public Functions */
/* ************************* */
+/**
+ app_indicator_new:
+ @id: The unique id of the indicator to create.
+ @icon_name: The icon name for this indicator
+ @category: The category of indicator.
+
+ @returns: A pointer to a new #AppIndicator object.
+ */
AppIndicator *
app_indicator_new (const gchar *id,
const gchar *icon_name,
@@ -603,6 +611,11 @@ app_indicator_set_attention_icon (AppIndicator *self, const gchar *icon_name)
}
}
+/**
+ app_indicator_set_icon:
+ @self: The #AppIndicator object to use
+ @icon_name: The icon name to set.
+**/
void
app_indicator_set_icon (AppIndicator *self, const gchar *icon_name)
{
@@ -651,6 +664,11 @@ setup_dbusmenu (AppIndicator *self)
dbusmenu_server_set_root (priv->menuservice, root);
}
+/**
+ app_indicator_set_menu:
+ @self: The #AppIndicator
+ @menu: A #GtkMenu to set
+**/
void
app_indicator_set_menu (AppIndicator *self, GtkMenu *menu)
{