aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app-indicator.c15
-rw-r--r--src/app-indicator.h4
2 files changed, 19 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)
+{
+
+
+
+}
diff --git a/src/app-indicator.h b/src/app-indicator.h
index ce152bb..cfc9565 100644
--- a/src/app-indicator.h
+++ b/src/app-indicator.h
@@ -280,6 +280,10 @@ const gchar * app_indicator_get_label (AppIndicator *
const gchar * app_indicator_get_label_guide (AppIndicator *self);
guint32 app_indicator_get_ordering_index (AppIndicator *self);
+/* Helpers */
+void app_indicator_build_menu_from_desktop (AppIndicator * self,
+ const gchar * desktop_file);
+
G_END_DECLS
/**