diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-05-02 12:34:51 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-05-02 12:34:51 +0000 |
commit | 713bcddb5d95b6c8e30133f8c9b4fb0c12accb2d (patch) | |
tree | 9c9136635f965aff9e3f34f2c245ad4540215019 /xfce-base/thunar/files | |
parent | Marked stable on x86, to work with stable ffmpeg. (diff) | |
download | gentoo-2-713bcddb5d95b6c8e30133f8c9b4fb0c12accb2d.tar.gz gentoo-2-713bcddb5d95b6c8e30133f8c9b4fb0c12accb2d.tar.bz2 gentoo-2-713bcddb5d95b6c8e30133f8c9b4fb0c12accb2d.zip |
Apply patch from upstream to fix bug 173795, adding quotes to UCA browse. Thanks to Alexander Skwar for reporting.
(Portage version: 2.1.2.5)
Diffstat (limited to 'xfce-base/thunar/files')
-rw-r--r-- | xfce-base/thunar/files/digest-thunar-0.8.0-r3 | 3 | ||||
-rw-r--r-- | xfce-base/thunar/files/thunar-0.8.0-uca.patch | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/xfce-base/thunar/files/digest-thunar-0.8.0-r3 b/xfce-base/thunar/files/digest-thunar-0.8.0-r3 new file mode 100644 index 000000000000..36154971d4f9 --- /dev/null +++ b/xfce-base/thunar/files/digest-thunar-0.8.0-r3 @@ -0,0 +1,3 @@ +MD5 9f7b0945d6a235391049f6818fb4d188 Thunar-0.8.0.tar.bz2 6205993 +RMD160 95d29cca64c102b7d8bdcc0592f6fcab7198148b Thunar-0.8.0.tar.bz2 6205993 +SHA256 460484f8397a0e0e4115d1629d2ae027b5052dc2c564d4a4629a3557e4a055f9 Thunar-0.8.0.tar.bz2 6205993 diff --git a/xfce-base/thunar/files/thunar-0.8.0-uca.patch b/xfce-base/thunar/files/thunar-0.8.0-uca.patch new file mode 100644 index 000000000000..53d3dbc18852 --- /dev/null +++ b/xfce-base/thunar/files/thunar-0.8.0-uca.patch @@ -0,0 +1,19 @@ +Index: plugins/thunar-uca/thunar-uca-editor.c +=================================================================== +--- plugins/thunar-uca/thunar-uca-editor.c (revision 25631) ++++ plugins/thunar-uca/thunar-uca-editor.c (working copy) +@@ -582,7 +582,13 @@ + if (gtk_dialog_run (GTK_DIALOG (chooser)) == GTK_RESPONSE_ACCEPT) + { + filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (chooser)); +- s = g_strconcat (filename, " %f", NULL); ++ ++ /* quote the command when the filename contains spaces */ ++ if (G_LIKELY (strchr (filename, ' ') == NULL)) ++ s = g_strconcat (filename, " %f", NULL); ++ else ++ s = g_strconcat ("'", filename, "' %f", NULL); ++ + gtk_entry_set_text (GTK_ENTRY (uca_editor->command_entry), s); + g_free (filename); + g_free (s); |