Fix a small oversight
This commit is contained in:
parent
66d11f0ce9
commit
81b0d53672
@ -1,6 +1,6 @@
|
|||||||
diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3/gio/gdesktopappinfo.c
|
diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3/gio/gdesktopappinfo.c
|
||||||
--- glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps 2008-07-02 17:13:13.000000000 -0400
|
--- glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps 2008-07-02 17:13:13.000000000 -0400
|
||||||
+++ glib-2.17.3/gio/gdesktopappinfo.c 2008-07-03 10:55:58.000000000 -0400
|
+++ glib-2.17.3/gio/gdesktopappinfo.c 2008-07-03 13:21:42.000000000 -0400
|
||||||
@@ -1,3 +1,5 @@
|
@@ -1,3 +1,5 @@
|
||||||
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||||
+
|
+
|
||||||
@ -31,7 +31,15 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3
|
|||||||
|
|
||||||
info->icon = NULL;
|
info->icon = NULL;
|
||||||
if (info->icon_name)
|
if (info->icon_name)
|
||||||
@@ -517,9 +522,35 @@ expand_macro (char macro,
|
@@ -392,6 +397,7 @@ g_desktop_app_info_dup (GAppInfo *appinf
|
||||||
|
new_info->exec = g_strdup (info->exec);
|
||||||
|
new_info->binary = g_strdup (info->binary);
|
||||||
|
new_info->path = g_strdup (info->path);
|
||||||
|
+ new_info->vfs_system = g_strdup (info->vfs_system);
|
||||||
|
new_info->hidden = info->hidden;
|
||||||
|
new_info->terminal = info->terminal;
|
||||||
|
new_info->startup_notify = info->startup_notify;
|
||||||
|
@@ -517,9 +523,35 @@ expand_macro (char macro,
|
||||||
{
|
{
|
||||||
GList *uris = *uri_list;
|
GList *uris = *uri_list;
|
||||||
char *expanded;
|
char *expanded;
|
||||||
@ -69,7 +77,7 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3
|
|||||||
switch (macro)
|
switch (macro)
|
||||||
{
|
{
|
||||||
case 'u':
|
case 'u':
|
||||||
@@ -528,7 +559,17 @@ expand_macro (char macro,
|
@@ -528,7 +560,17 @@ expand_macro (char macro,
|
||||||
case 'n':
|
case 'n':
|
||||||
if (uris)
|
if (uris)
|
||||||
{
|
{
|
||||||
@ -88,7 +96,7 @@ diff -up glib-2.17.3/gio/gdesktopappinfo.c.only-pass-uri-to-gio-apps glib-2.17.3
|
|||||||
if (expanded)
|
if (expanded)
|
||||||
{
|
{
|
||||||
g_string_append (exec, expanded);
|
g_string_append (exec, expanded);
|
||||||
@@ -545,7 +586,17 @@ expand_macro (char macro,
|
@@ -545,7 +587,17 @@ expand_macro (char macro,
|
||||||
case 'N':
|
case 'N':
|
||||||
while (uris)
|
while (uris)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user