From de1ea7a175f0913b5a5421e666dd2d38d864fe47 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 8 Nov 2010 11:19:19 -0500 Subject: Adding an API function to build the menu from a desktop file --- src/app-indicator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app-indicator.h') 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 /** -- cgit v1.2.3 From d2427bba3a731af3db25878f7e63fd2a83a3243e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 8 Nov 2010 11:25:40 -0500 Subject: Adding the profile in there --- src/app-indicator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/app-indicator.h') diff --git a/src/app-indicator.h b/src/app-indicator.h index cfc9565..3e159db 100644 --- a/src/app-indicator.h +++ b/src/app-indicator.h @@ -282,7 +282,8 @@ guint32 app_indicator_get_ordering_index (AppIndicator * /* Helpers */ void app_indicator_build_menu_from_desktop (AppIndicator * self, - const gchar * desktop_file); + const gchar * desktop_file, + const gchar * desktop_profile); G_END_DECLS -- cgit v1.2.3