Index: plugins/thunar-uca/thunar-uca-model.c =================================================================== --- plugins/thunar-uca/thunar-uca-model.c (revision 22852) +++ plugins/thunar-uca/thunar-uca-model.c (working copy) @@ -1514,7 +1514,7 @@ goto error; dirname = g_path_get_dirname (path); - quoted = g_shell_quote (path); + quoted = g_shell_quote (dirname); g_string_append (command_line, quoted); g_free (dirname); g_free (quoted); @@ -1536,7 +1536,7 @@ goto error; dirname = g_path_get_dirname (path); - quoted = g_shell_quote (path); + quoted = g_shell_quote (dirname); g_string_append (command_line, quoted); g_free (dirname); g_free (quoted);