Browse Source

Don't escape the command when dropping a .desktop file in the launcher dialog (bug #4818).

(Old svn revision: 29534)
upstream/xfce4-panel-4.10.1
Nick Schermer 13 years ago
parent
commit
276d1db66c
  1. 2
      NEWS
  2. 5
      plugins/launcher/launcher-dialog.c

2
NEWS

@ -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
========

5
plugins/launcher/launcher-dialog.c

@ -153,7 +153,6 @@ launcher_dialog_read_desktop_file (const gchar *path,
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 @@ launcher_dialog_read_desktop_file (const gchar *path,
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 */

Loading…
Cancel
Save