[Xfce4-commits] r29534 - in xfce4-panel/trunk: . plugins/launcher
Nick Schermer
nick at xfce.org
Sun Feb 22 17:18:44 CET 2009
Author: nick
Date: 2009-02-22 16:18:44 +0000 (Sun, 22 Feb 2009)
New Revision: 29534
Modified:
xfce4-panel/trunk/NEWS
xfce4-panel/trunk/plugins/launcher/launcher-dialog.c
Log:
Don't escape the command when dropping a .desktop file in the launcher dialog (bug #4818).
Modified: xfce4-panel/trunk/NEWS
===================================================================
--- xfce4-panel/trunk/NEWS 2009-02-22 13:26:00 UTC (rev 29533)
+++ xfce4-panel/trunk/NEWS 2009-02-22 16:18:44 UTC (rev 29534)
@@ -5,6 +5,8 @@
- Send the event time with startup notification instead
of zero, so focus stealing works properly.
- Set the foreground color of the lcd clock (bug #4923).
+- Don't escape the command when dropping a .desktop file in the
+ launcher dialog (bug #4818).
4.5.99.1
========
Modified: xfce4-panel/trunk/plugins/launcher/launcher-dialog.c
===================================================================
--- xfce4-panel/trunk/plugins/launcher/launcher-dialog.c 2009-02-22 13:26:00 UTC (rev 29533)
+++ xfce4-panel/trunk/plugins/launcher/launcher-dialog.c 2009-02-22 16:18:44 UTC (rev 29534)
@@ -153,7 +153,6 @@
XfceRc *rc = NULL;
const gchar *value = NULL;
const gchar *p;
- gchar *tmp;
/* we only support .desktop files */
if (G_UNLIKELY (g_str_has_suffix (path, ".desktop") == FALSE ||
@@ -214,9 +213,7 @@
g_free (entry->exec);
/* expand and quote command and store */
- tmp = xfce_expand_variables (value, NULL);
- entry->exec = g_shell_quote (tmp);
- g_free (tmp);
+ entry->exec = xfce_expand_variables (value, NULL);
}
/* working directory */
More information about the Xfce4-commits
mailing list