summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-14 17:11:48 +0000
committerjstebbins <[email protected]>2015-05-14 17:11:48 +0000
commit9ae7e30dc8daace92d17ea36a4f0bdede00b9471 (patch)
tree9485255c993389a6740b833e7aa30c5b5b2622aa /gtk/src/queuehandler.c
parent90cafad3e4c610b8b009769f922fabc283979231 (diff)
lingui: use libhb preset management from linux gui
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 876d49ec9..64421f8d9 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -168,10 +168,9 @@ add_to_queue_list(signal_user_data_t *ud, GhbValue *settings, GtkTreeIter *piter
// Next line in the display
// Preset: PresetName
- gchar *preset;
+ const char *name;
gboolean markers;
gboolean preset_modified;
- const GhbValue *path;
const char *mux_id;
const hb_container_t *mux;
@@ -180,19 +179,17 @@ add_to_queue_list(signal_user_data_t *ud, GhbValue *settings, GtkTreeIter *piter
mux = ghb_lookup_container_by_name(mux_id);
preset_modified = ghb_dict_get_bool(settings, "preset_modified");
- path = ghb_dict_get_value(settings, "preset");
- preset = ghb_preset_path_string(path);
+ name = ghb_dict_get_string(settings, "PresetFullName");
markers = ghb_dict_get_bool(settings, "ChapterMarkers");
if (preset_modified)
{
- XPRINT(_("<b>Modified Preset Based On:</b> <small>%s</small>\n"), preset);
+ XPRINT(_("<b>Modified Preset Based On:</b> <small>%s</small>\n"), name);
}
else
{
- XPRINT(_("<b>Preset:</b> <small>%s</small>\n"), preset);
+ XPRINT(_("<b>Preset:</b> <small>%s</small>\n"), name);
}
- g_free(preset);
// Next line in the display (Container type)
// Format: XXX Container