mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
Don't ignore SUPPORTS_STARTUP_NOTIFICATION for commandline GAppInfos
https://bugzilla.gnome.org/show_bug.cgi?id=648416
This commit is contained in:
parent
d8de88e541
commit
a330c2f19f
@ -1932,10 +1932,10 @@ g_app_info_create_from_commandline (const char *commandline,
|
||||
info->filename = NULL;
|
||||
info->desktop_id = NULL;
|
||||
|
||||
info->terminal = flags & G_APP_INFO_CREATE_NEEDS_TERMINAL;
|
||||
info->startup_notify = flags & G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION;
|
||||
info->terminal = (flags & G_APP_INFO_CREATE_NEEDS_TERMINAL) != 0;
|
||||
info->startup_notify = (flags & G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION) != 0;
|
||||
info->hidden = FALSE;
|
||||
if (flags & G_APP_INFO_CREATE_SUPPORTS_URIS)
|
||||
if ((flags & G_APP_INFO_CREATE_SUPPORTS_URIS) != 0)
|
||||
info->exec = g_strconcat (commandline, " %u", NULL);
|
||||
else
|
||||
info->exec = g_strconcat (commandline, " %f", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user