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:
Siegfried-Angel Gevatter Pujals 2009-07-29 23:36:48 +02:00
parent 77c92d75d5
commit 93ea4b07c1
2 changed files with 7 additions and 0 deletions

View File

@ -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)
{

View File

@ -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);