aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-11-08 11:19:19 -0500
committerTed Gould <ted@gould.cx>2010-11-08 11:19:19 -0500
commitde1ea7a175f0913b5a5421e666dd2d38d864fe47 (patch)
treea5d98303f56ae64b79a13da92bf4480a9fd6ca31 /src/app-indicator.c
parent9c008cd03484b38b968618f1877c64215ba2c2fb (diff)
downloadlibayatana-appindicator-de1ea7a175f0913b5a5421e666dd2d38d864fe47.tar.gz
libayatana-appindicator-de1ea7a175f0913b5a5421e666dd2d38d864fe47.tar.bz2
libayatana-appindicator-de1ea7a175f0913b5a5421e666dd2d38d864fe47.zip
Adding an API function to build the menu from a desktop file
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 4f7daa8..4734b80 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -2106,3 +2106,18 @@ app_indicator_get_ordering_index (AppIndicator *self)
}
}
+/**
+ app_indicator_build_menu_from_desktop:
+ @self: The #AppIndicator object to use
+ @desktop_file: A path to the desktop file to build the menu from
+
+ This function allows for building the Application Indicator menu
+ from a static desktop file.
+*/
+void
+app_indicator_build_menu_from_desktop (AppIndicator * self, const gchar * desktop_file)
+{
+
+
+
+}