diff --git a/src/shell-app-system.c b/src/shell-app-system.c index a7e884baf..a8910ca1e 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -622,6 +622,12 @@ shell_app_info_get_executable (ShellAppInfo *info) return gmenu_tree_entry_get_exec ((GMenuTreeEntry*)info); } +const char * +shell_app_info_get_desktop_file_path (ShellAppInfo *info) +{ + return gmenu_tree_entry_get_desktop_file_path ((GMenuTreeEntry*)info); +} + GIcon * shell_app_info_get_icon (ShellAppInfo *info) { diff --git a/src/shell-app-system.h b/src/shell-app-system.h index 9735a9204..0ec6861fe 100644 --- a/src/shell-app-system.h +++ b/src/shell-app-system.h @@ -57,6 +57,7 @@ const char *shell_app_info_get_id (ShellAppInfo *info); const char *shell_app_info_get_name (ShellAppInfo *info); const char *shell_app_info_get_description (ShellAppInfo *info); const char *shell_app_info_get_executable (ShellAppInfo *info); +const char *shell_app_info_get_desktop_file_path (ShellAppInfo *info); GIcon *shell_app_info_get_icon (ShellAppInfo *info); ClutterActor *shell_app_info_create_icon_texture (ShellAppInfo *info, float size); GSList *shell_app_info_get_categories (ShellAppInfo *info);