Lines Matching refs:appinfo
353 GDesktopAppInfo *appinfo;
368 appinfo = g_desktop_app_info_new_from_filename (filename);
370 if (appinfo != NULL)
379 appinfo = g_desktop_app_info_new_from_filename (filename);
381 if (appinfo != NULL)
394 appinfo->desktop_id = g_strdup (desktop_id);
396 if (g_desktop_app_info_get_is_hidden (appinfo))
398 g_object_unref (appinfo);
399 appinfo = NULL;
402 return appinfo;
406 g_desktop_app_info_dup (GAppInfo *appinfo)
408 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
450 g_desktop_app_info_get_id (GAppInfo *appinfo)
452 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
458 g_desktop_app_info_get_name (GAppInfo *appinfo)
460 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
483 g_desktop_app_info_get_description (GAppInfo *appinfo)
485 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
491 g_desktop_app_info_get_executable (GAppInfo *appinfo)
493 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
499 g_desktop_app_info_get_commandline (GAppInfo *appinfo)
501 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
507 g_desktop_app_info_get_icon (GAppInfo *appinfo)
509 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
974 g_desktop_app_info_launch_uris (GAppInfo *appinfo,
979 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
989 g_return_val_if_fail (appinfo != NULL, FALSE);
1014 appinfo,
1020 appinfo,
1086 g_desktop_app_info_supports_uris (GAppInfo *appinfo)
1088 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1096 g_desktop_app_info_supports_files (GAppInfo *appinfo)
1098 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1106 g_desktop_app_info_launch (GAppInfo *appinfo,
1125 res = g_desktop_app_info_launch_uris (appinfo, uris, launch_context, error);
1167 g_desktop_app_info_should_show (GAppInfo *appinfo)
1169 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1432 g_desktop_app_info_set_as_default_for_type (GAppInfo *appinfo,
1436 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1497 g_desktop_app_info_set_as_default_for_extension (GAppInfo *appinfo,
1505 if (!g_desktop_app_info_ensure_saved (G_DESKTOP_APP_INFO (appinfo), error))
1539 res = g_desktop_app_info_set_as_default_for_type (appinfo,
1549 g_desktop_app_info_add_supports_type (GAppInfo *appinfo,
1553 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1562 g_desktop_app_info_can_remove_supports_type (GAppInfo *appinfo)
1568 g_desktop_app_info_remove_supports_type (GAppInfo *appinfo,
1572 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1672 g_desktop_app_info_can_delete (GAppInfo *appinfo)
1674 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1686 g_desktop_app_info_delete (GAppInfo *appinfo)
1688 GDesktopAppInfo *info = G_DESKTOP_APP_INFO (appinfo);
1977 GDesktopAppInfo *appinfo;
1992 appinfo = g_desktop_app_info_new_from_filename (filename);
1994 if (appinfo && g_desktop_app_info_get_is_hidden (appinfo))
1996 g_object_unref (appinfo);
1997 appinfo = NULL;
2001 if (appinfo || hidden)
2003 g_hash_table_insert (apps, g_strdup (desktop_id), appinfo);
2005 if (appinfo)
2008 appinfo->desktop_id = desktop_id;