Add appInfo.get_desktop_file_path method
Add shell_app_info_get_desktop_file_path, matching *_get_executable, *_get_id, etc. This is useful for Zeitgeist.
This commit is contained in:
parent
77c92d75d5
commit
93ea4b07c1
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user