Home
last modified time | relevance | path

Searched refs:appinfo (Results 1 – 21 of 21) sorted by relevance

/third_party/glib/gio/tests/
Dappinfo.c10 test_launch_for_app_info (GAppInfo *appinfo) in test_launch_for_app_info() argument
25 success = g_app_info_launch (appinfo, NULL, NULL, &error); in test_launch_for_app_info()
29 success = g_app_info_launch_uris (appinfo, NULL, NULL, &error); in test_launch_for_app_info()
38 success = g_app_info_launch (appinfo, l, NULL, &error); in test_launch_for_app_info()
49 success = g_app_info_launch_uris (appinfo, l, NULL, &error); in test_launch_for_app_info()
60 GAppInfo *appinfo; in test_launch() local
64 appinfo = (GAppInfo*)g_desktop_app_info_new_from_filename (path); in test_launch()
66 if (appinfo == NULL) in test_launch()
72 test_launch_for_app_info (appinfo); in test_launch()
73 g_object_unref (appinfo); in test_launch()
[all …]
Dmimeapps.c207 GAppInfo *appinfo; in test_mime_api() local
217 appinfo = (GAppInfo*)g_desktop_app_info_new ("myapp.desktop"); in test_mime_api()
226 g_app_info_add_supports_type (appinfo, contenttype, &error); in test_mime_api()
231 g_assert_true (g_app_info_equal (def, appinfo)); in test_mime_api()
233 g_assert_true (g_app_info_equal ((GAppInfo*)list->data, appinfo)); in test_mime_api()
243 g_assert_true (g_app_info_equal (def, appinfo)); in test_mime_api()
245 g_assert_true (g_app_info_equal ((GAppInfo*)list->data, appinfo)); in test_mime_api()
251 g_app_info_set_as_default_for_type (appinfo, contenttype, &error); in test_mime_api()
256 g_assert_true (g_app_info_equal (def, appinfo)); in test_mime_api()
258 g_assert_true (g_app_info_equal ((GAppInfo*)list->data, appinfo)); in test_mime_api()
[all …]
Ddesktop-app-info.c283 GDesktopAppInfo *appinfo; in test_extra_getters() local
292appinfo = g_desktop_app_info_new_from_filename (g_test_get_filename (G_TEST_DIST, "appinfo-test-st… in test_extra_getters()
293 g_assert_nonnull (appinfo); in test_extra_getters()
295 g_assert_true (g_desktop_app_info_has_key (appinfo, "Terminal")); in test_extra_getters()
296 g_assert_false (g_desktop_app_info_has_key (appinfo, "Bratwurst")); in test_extra_getters()
298 s = g_desktop_app_info_get_string (appinfo, "StartupWMClass"); in test_extra_getters()
302 s = g_desktop_app_info_get_locale_string (appinfo, "X-JunkFood"); in test_extra_getters()
309 s = g_desktop_app_info_get_locale_string (appinfo, "X-JunkFood"); in test_extra_getters()
313 b = g_desktop_app_info_get_boolean (appinfo, "Terminal"); in test_extra_getters()
316 g_object_unref (appinfo); in test_extra_getters()
[all …]
Ddbus-appinfo.c25 static GDesktopAppInfo *appinfo; variable
80 g_app_info_launch (G_APP_INFO (appinfo), NULL, NULL, NULL); in G_DEFINE_TYPE()
90 g_app_info_launch (G_APP_INFO (appinfo), files, NULL, NULL); in G_DEFINE_TYPE()
96 g_desktop_app_info_launch_action (appinfo, "frob", NULL); in G_DEFINE_TYPE()
99 g_desktop_app_info_launch_action (appinfo, "tweak", NULL); in G_DEFINE_TYPE()
102 g_desktop_app_info_launch_action (appinfo, "twiddle", NULL); in G_DEFINE_TYPE()
111 g_app_info_launch (G_APP_INFO (appinfo), NULL, ctx, NULL); in G_DEFINE_TYPE()
125 g_desktop_app_info_launch_action (appinfo, "frob", ctx); in G_DEFINE_TYPE()
134 g_desktop_app_info_launch_action (appinfo, "quit", NULL); in G_DEFINE_TYPE()
262 appinfo = g_desktop_app_info_new_from_filename (desktop_file); in test_dbus_appinfo()
[all …]
Dappinfo-test.desktop.in3 GenericName=generic-appinfo-test
4 Name=appinfo-test
5 Name[de]=appinfo-test-de
10 Exec=@installed_tests_dir@/appinfo-test --option %U %i --name %c --filename %k %m %%
14 StartupWMClass=appinfo-class
Dappinfo-test-static.desktop3 GenericName=generic-appinfo-test
4 Name=appinfo-test
5 Name[de]=appinfo-test-de
14 StartupWMClass=appinfo-class
Dappinfo-test2.desktop.in3 Name=appinfo-test
4 Name[de]=appinfo-test-de
9 Exec=@installed_tests_dir@/appinfo-test --option
Dappinfo-test-notgnome.desktop.in3 Name=appinfo-test
4 Exec=@installed_tests_dir@/appinfo-test --option
Dappinfo-test-gnome.desktop.in3 Name=appinfo-test
4 Exec=@installed_tests_dir@/appinfo-test --option
D.gitignore2 appinfo
3 appinfo-test
20 dbus-appinfo
Dmeson.build98 'win32-appinfo' : {},
197 'appinfo' : {
209 'appinfo-test' : {},
347 'dbus-appinfo' : {
484 'appinfo-test-gnome.desktop',
485 'appinfo-test-notgnome.desktop',
486 'appinfo-test.desktop',
487 'appinfo-test2.desktop',
518 'appinfo-test-actions.desktop',
519 'appinfo-test-static.desktop',
/third_party/glib/gio/
Dgappinfo.c123 g_app_info_dup (GAppInfo *appinfo) in g_app_info_dup() argument
127 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL); in g_app_info_dup()
129 iface = G_APP_INFO_GET_IFACE (appinfo); in g_app_info_dup()
131 return (* iface->dup) (appinfo); in g_app_info_dup()
179 g_app_info_get_id (GAppInfo *appinfo) in g_app_info_get_id() argument
183 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL); in g_app_info_get_id()
185 iface = G_APP_INFO_GET_IFACE (appinfo); in g_app_info_get_id()
187 return (* iface->get_id) (appinfo); in g_app_info_get_id()
199 g_app_info_get_name (GAppInfo *appinfo) in g_app_info_get_name() argument
203 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL); in g_app_info_get_name()
[all …]
Dgappinfo.h94 GAppInfo * (* dup) (GAppInfo *appinfo);
97 const char * (* get_id) (GAppInfo *appinfo);
98 const char * (* get_name) (GAppInfo *appinfo);
99 const char * (* get_description) (GAppInfo *appinfo);
100 const char * (* get_executable) (GAppInfo *appinfo);
101 GIcon * (* get_icon) (GAppInfo *appinfo);
102 gboolean (* launch) (GAppInfo *appinfo,
106 gboolean (* supports_uris) (GAppInfo *appinfo);
107 gboolean (* supports_files) (GAppInfo *appinfo);
108 gboolean (* launch_uris) (GAppInfo *appinfo,
[all …]
Dgosxappinfo.m45 static const char *g_osx_app_info_get_id (GAppInfo *appinfo);
111 g_osx_app_info_dup (GAppInfo *appinfo)
116 g_return_val_if_fail (appinfo != NULL, NULL);
118 info = G_OSX_APP_INFO (appinfo);
367 g_osx_app_info_get_id (GAppInfo *appinfo)
369 GOsxAppInfo *info = G_OSX_APP_INFO (appinfo);
378 g_osx_app_info_get_name (GAppInfo *appinfo)
380 GOsxAppInfo *info = G_OSX_APP_INFO (appinfo);
389 g_osx_app_info_get_display_name (GAppInfo *appinfo)
391 return g_osx_app_info_get_name (appinfo);
[all …]
Dgdesktopappinfo.c2009 GDesktopAppInfo *appinfo = NULL; in g_desktop_app_info_new() local
2016 appinfo = desktop_file_dir_get_app (g_ptr_array_index (desktop_file_dirs, i), desktop_id); in g_desktop_app_info_new()
2018 if (appinfo) in g_desktop_app_info_new()
2024 if (appinfo == NULL) in g_desktop_app_info_new()
2027 g_free (appinfo->desktop_id); in g_desktop_app_info_new()
2028 appinfo->desktop_id = g_strdup (desktop_id); in g_desktop_app_info_new()
2030 if (g_desktop_app_info_get_is_hidden (appinfo)) in g_desktop_app_info_new()
2032 g_object_unref (appinfo); in g_desktop_app_info_new()
2033 appinfo = NULL; in g_desktop_app_info_new()
2036 return appinfo; in g_desktop_app_info_new()
[all …]
Dgdesktopappinfo.h161 typedef void (*GDesktopAppLaunchCallback) (GDesktopAppInfo *appinfo,
166 gboolean g_desktop_app_info_launch_uris_as_manager (GDesktopAppInfo *appinfo,
177 gboolean g_desktop_app_info_launch_uris_as_manager_with_fds (GDesktopAppInfo *appinfo,
Dgwin32appinfo.c4136 g_win32_app_info_dup (GAppInfo *appinfo) in g_win32_app_info_dup() argument
4138 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo); in g_win32_app_info_dup()
4204 g_win32_app_info_get_id (GAppInfo *appinfo) in g_win32_app_info_get_id() argument
4206 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo); in g_win32_app_info_get_id()
4223 g_win32_app_info_get_name (GAppInfo *appinfo) in g_win32_app_info_get_name() argument
4225 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo); in g_win32_app_info_get_name()
4236 g_win32_app_info_get_display_name (GAppInfo *appinfo) in g_win32_app_info_get_display_name() argument
4238 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo); in g_win32_app_info_get_display_name()
4248 return g_win32_app_info_get_name (appinfo); in g_win32_app_info_get_display_name()
4252 g_win32_app_info_get_description (GAppInfo *appinfo) in g_win32_app_info_get_description() argument
[all …]
Dgfile.c6874 GAppInfo *appinfo; in g_file_query_default_handler() local
6881 appinfo = g_app_info_get_default_for_uri_scheme (uri_scheme); in g_file_query_default_handler()
6884 if (appinfo != NULL) in g_file_query_default_handler()
6885 return appinfo; in g_file_query_default_handler()
6899 appinfo = NULL; in g_file_query_default_handler()
6908 appinfo = g_app_info_get_default_for_type (content_type, in g_file_query_default_handler()
6915 if (appinfo != NULL) in g_file_query_default_handler()
6916 return appinfo; in g_file_query_default_handler()
6934 GAppInfo *appinfo = NULL; in query_default_handler_query_info_cb() local
6955 appinfo = g_app_info_get_default_for_type (content_type, in query_default_handler_query_info_cb()
[all …]
/third_party/libxml2/result/schemas/
Dannot-err_0_0.err2 …3.org/2001/XMLSchema}annotation': The content is not valid. Expected is (appinfo | documentation)*.
3 …chemas/annot-err_0.xsd:10: element appinfo: Schemas parser error : Element '{http://www.w3.org/200…
4 …chemas/annot-err_0.xsd:10: element appinfo: Schemas parser error : Element '{http://www.w3.org/200…
/third_party/glib/gio/tests/desktop-files/usr/applications/
Dinvalid-desktop.desktop3 Name=appinfo-test
/third_party/glib/
DNEWS457 - !1754 GWin32AppInfo: Use a thread pool for async appinfo tree rebuilds
504 * Support appinfo verbs other than ‘open’ on Windows (work by LRN) (!1502)
747 - !1582 appinfo: Add properties
756 - !1602 Revert "Merge branch 'appinfo-properties' into 'master'"
1129 …- #1983 glib:gio / dbus-appinfo test fails: GLib-GIO:ERROR:../../../../Projects/glib/gio/tests/dbu…
2227 - #1514 gio/appinfo test sometimes fails in CI
2258 - #1601 appinfo test fix is defective
2783 780309 gio/tests/appinfo build fails: gdesktopappinfo.c skipped on OS X
3165 780309 gio/tests/appinfo build fails: gdesktopappinfo.c skipped on OS X
5195 711178 appinfo test problems
[all …]