diff options
author | jstebbins <[email protected]> | 2015-03-26 19:17:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-03-26 19:17:01 +0000 |
commit | fb6cd7bcc63a8c112a5c30058ee533808a56707c (patch) | |
tree | c2094b8219ff68ce28c0c49453ce2fff8dad726c /gtk | |
parent | 9669de06b6a7ba35e09ebef9f34629318335a074 (diff) |
LinGui: fix queue file open dialog filters
Forgot to change these to json from xml/plist
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7020 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/ghb-3.12.ui | 2 | ||||
-rw-r--r-- | gtk/src/ghb-3.14.ui | 2 | ||||
-rw-r--r-- | gtk/src/ghb.ui | 2 | ||||
-rw-r--r-- | gtk/src/queuehandler.c | 12 |
4 files changed, 8 insertions, 10 deletions
diff --git a/gtk/src/ghb-3.12.ui b/gtk/src/ghb-3.12.ui index ae6a624d6..391874316 100644 --- a/gtk/src/ghb-3.12.ui +++ b/gtk/src/ghb-3.12.ui @@ -16,7 +16,7 @@ <object class="GtkFileFilter" id="SourceFilterVideo"/> <object class="GtkFileFilter" id="SourceFilterWMV"/> <object class="GtkFileFilter" id="QueueFilterAll"/> - <object class="GtkFileFilter" id="QueueFilterXML"/> + <object class="GtkFileFilter" id="QueueFilterJSON"/> <object class="GtkLabel" id="SubBurnedLabel"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/gtk/src/ghb-3.14.ui b/gtk/src/ghb-3.14.ui index 911e522b0..f69c0b4ce 100644 --- a/gtk/src/ghb-3.14.ui +++ b/gtk/src/ghb-3.14.ui @@ -16,7 +16,7 @@ <object class="GtkFileFilter" id="SourceFilterVideo"/> <object class="GtkFileFilter" id="SourceFilterWMV"/> <object class="GtkFileFilter" id="QueueFilterAll"/> - <object class="GtkFileFilter" id="QueueFilterXML"/> + <object class="GtkFileFilter" id="QueueFilterJSON"/> <object class="GtkLabel" id="SubBurnedLabel"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index 17fd28a0e..fbc390060 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -16,7 +16,7 @@ <object class="GtkFileFilter" id="SourceFilterVideo"/> <object class="GtkFileFilter" id="SourceFilterWMV"/> <object class="GtkFileFilter" id="QueueFilterAll"/> - <object class="GtkFileFilter" id="QueueFilterXML"/> + <object class="GtkFileFilter" id="QueueFilterJSON"/> <object class="GtkLabel" id="SubBurnedLabel"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 20d973372..6c49c5e6f 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -761,7 +761,7 @@ save_queue_file(signal_user_data_t *ud) GHB_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GHB_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); - gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), "queue.xml"); + gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), "queue.json"); if (gtk_dialog_run(GTK_DIALOG (dialog)) != GTK_RESPONSE_ACCEPT) { ghb_value_free(queue); @@ -798,12 +798,10 @@ open_queue_file(signal_user_data_t *ud) gtk_file_filter_set_name(filter, _("All")); gtk_file_filter_add_pattern(filter, "*"); gtk_file_chooser_add_filter(chooser, filter); - filter = GTK_FILE_FILTER(GHB_OBJECT(ud->builder, "QueueFilterXML")); - gtk_file_filter_set_name(filter, "XML"); - gtk_file_filter_add_pattern(filter, "*.xml"); - gtk_file_filter_add_pattern(filter, "*.XML"); - gtk_file_filter_add_pattern(filter, "*.plist"); - gtk_file_filter_add_pattern(filter, "*.PLIST"); + filter = GTK_FILE_FILTER(GHB_OBJECT(ud->builder, "QueueFilterJSON")); + gtk_file_filter_set_name(filter, "JSON"); + gtk_file_filter_add_pattern(filter, "*.JSON"); + gtk_file_filter_add_pattern(filter, "*.json"); gtk_file_chooser_add_filter(chooser, filter); if (gtk_dialog_run(GTK_DIALOG (dialog)) != GTK_RESPONSE_ACCEPT) |