diff options
author | jstebbins <[email protected]> | 2010-10-10 23:38:31 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-10-10 23:38:31 +0000 |
commit | 56a07e3cd580d8662d9f76a20fa701ce3c5ea176 (patch) | |
tree | 2af383c3403cd85e30e53c8caabcc290149eba59 /gtk | |
parent | 8019891f41076f6eb1f2ed6ae535103b392662e2 (diff) |
LinGui: fix queue display problem when there's '&' in input file name
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3596 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/queuehandler.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 1cc0161eb..a9c230098 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -75,7 +75,7 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) gboolean pass2 = FALSE, keep_aspect, vqtype, turbo; gint pic_par; gboolean tweaks; - gchar *escape; + gchar *escape, *escape2; g_debug("update_queue_list ()"); if (settings == NULL) return; @@ -90,6 +90,7 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) dest = ghb_settings_get_string(settings, "destination"); basename = g_path_get_basename(dest); escape = g_markup_escape_text(basename, -1); + escape2 = g_markup_escape_text(vol_name, -1); vqtype = ghb_settings_get_boolean(settings, "vquality_type_constant"); if (!vqtype) @@ -106,11 +107,12 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) "<big><b>%s</b></big> " "<small>(Title %d, %s %d through %d, %d Video %s)" " --> %s</small>", - vol_name, title, points, start_point, end_point, + escape2, title, points, start_point, end_point, pass2 ? 2:1, pass2 ? "Passes":"Pass", escape ); g_free(basename); g_free(escape); + g_free(escape2); if (piter) iter = *piter; |