summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/callbacks.c19
-rw-r--r--gtk/src/ghb.ui274
-rw-r--r--gtk/src/hb-backend.c6
-rw-r--r--gtk/src/hb-backend.h2
-rw-r--r--gtk/src/internal_defaults.xml2
-rw-r--r--gtk/src/resource_data.h432
-rw-r--r--gtk/src/resources.plist276
7 files changed, 573 insertions, 438 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index c5234e59b..0eeae277d 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -576,7 +576,9 @@ ghb_do_scan(signal_user_data_t *ud, const gchar *filename, gboolean force)
gtk_progress_bar_set_text (progress, "Scanning ...");
ghb_hb_cleanup(TRUE);
prune_logs(ud);
- ghb_backend_scan (path, 0);
+ gint preview_count;
+ preview_count = ghb_settings_get_int(ud->settings, "preview_count");
+ ghb_backend_scan(path, 0, preview_count);
g_free(path);
}
else
@@ -1026,10 +1028,15 @@ title_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
}
// Unfortunately, there is no way to query how many frames were
- // actually generated during the scan. It attempts to make 10.
+ // actually generated during the scan.
// If I knew how many were generated, I would adjust the spin
// control range here.
- ghb_ui_update(ud, "preview_frame", ghb_int64_value(1));
+ // I do know how many were asked for.
+ gint preview_count;
+ preview_count = ghb_settings_get_int(ud->settings, "preview_count");
+ widget = GHB_WIDGET(ud->builder, "preview_frame");
+ gtk_spin_button_set_range (GTK_SPIN_BUTTON(widget), 1, preview_count);
+ ghb_ui_update(ud, "preview_frame", ghb_int64_value(2));
ghb_set_preview_image (ud);
}
@@ -2476,13 +2483,15 @@ drive_changed_cb(GVolumeMonitor *gvm, GDrive *gd, signal_user_data_t *ud)
update_source_label(ud, device);
ghb_hb_cleanup(TRUE);
prune_logs(ud);
- ghb_backend_scan(device, 0);
+ gint preview_count;
+ preview_count = ghb_settings_get_int(ud->settings, "preview_count");
+ ghb_backend_scan(device, 0, preview_count);
}
else
{
ghb_hb_cleanup(TRUE);
prune_logs(ud);
- ghb_backend_scan("/dev/null", 0);
+ ghb_backend_scan("/dev/null", 0, 1);
}
}
g_free(device);
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui
index 8995bbeb7..489c8b7dc 100644
--- a/gtk/src/ghb.ui
+++ b/gtk/src/ghb.ui
@@ -168,6 +168,14 @@
<property name="page_increment">10</property>
<property name="value">0</property>
</object>
+ <object class="GtkAdjustment" id="preview_count_adj">
+ <property name="upper">30</property>
+ <property name="lower">5</property>
+ <property name="page_increment">10</property>
+ <property name="step_increment">5</property>
+ <property name="page_size">0</property>
+ <property name="value">10</property>
+ </object>
<object class="GtkUIManager" id="uimanager1">
<child>
<object class="GtkActionGroup" id="actiongroup1">
@@ -266,7 +274,7 @@
<child>
<object class="GtkToggleAction" id="show_presets">
<property name="visible">True</property>
- <property name="active">False</property>
+ <property name="active">True</property>
<property name="name">show_presets</property>
<property name="label" translatable="yes">Show Presets</property>
<signal handler="show_presets_toggled_cb" name="toggled"/>
@@ -456,6 +464,7 @@
</child>
</object>
<packing>
+ <property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
@@ -479,6 +488,8 @@
<object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
<property name="left_padding">12</property>
+ <property name="top_padding">6</property>
+ <property name="bottom_padding">6</property>
<child>
<object class="GtkVBox" id="vbox3">
<property name="visible">True</property>
@@ -519,7 +530,6 @@
</child>
<child>
<object class="GtkComboBox" id="title">
- <property name="height_request">16</property>
<property name="width_request">150</property>
<property name="visible">True</property>
<property name="has_frame">False</property>
@@ -658,15 +668,6 @@
</packing>
</child>
<child>
- <object class="GtkHSeparator" id="hseparator1">
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<object class="GtkFrame" id="frame2">
<property name="visible">True</property>
<property name="label_xalign">0</property>
@@ -675,141 +676,142 @@
<object class="GtkAlignment" id="alignment3">
<property name="visible">True</property>
<property name="left_padding">12</property>
+ <property name="top_padding">6</property>
+ <property name="bottom_padding">6</property>
<child>
- <object class="GtkVBox" id="vbox4">
+ <object class="GtkHBox" id="hbox_j4">
<property name="visible">True</property>
+ <property name="spacing">12</property>
<child>
- <object class="GtkHBox" id="hbox6">
+ <object class="GtkTable" id="table3">
<property name="visible">True</property>
- <property name="spacing">5</property>
-
-
-
-
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <child>
+ <placeholder/>
+ </child>
<child>
<object class="GtkFileChooserButton" id="dest_dir">
<property name="visible">True</property>
- <property name="action">select-folder</property>
+ <property name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
<property name="title" translatable="yes">Destination Directory</property>
<signal name="selection_changed" handler="dest_dir_set_cb"/>
</object>
<packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label18">
- <property name="visible">True</property>
- <property name="label" translatable="yes">File:</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="dest_file">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="width_chars">20</property>
- <accelerator key="d" signal="grab-focus" modifiers="GDK_MOD1_MASK"/>
+ <property name="width_chars">30</property>
<signal name="changed" handler="dest_file_changed_cb"/>
<signal name="grab_focus" handler="destination_grab_cb" after="yes"/>
+ <accelerator key="d" signal="grab-focus" modifiers="GDK_MOD1_MASK"/>
</object>
<packing>
- <property name="position">2</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
</packing>
</child>
-
-
-
-
-
-
-
- </object>
- </child>
- <child>
- <object class="GtkHBox" id="container_box">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="spacing">8</property>
<child>
- <object class="GtkLabel" id="label10">
+ <object class="GtkLabel" id="label18">
<property name="visible">True</property>
- <property name="label" translatable="yes">Container:</property>
+ <property name="label" translatable="yes">File:</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
</child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTable" id="table1">
+ <property name="visible">True</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">4</property>
<child>
- <object class="GtkComboBox" id="FileFormat">
+ <object class="GtkHBox" id="hbox3">
<property name="visible">True</property>
- <property name="tooltip-text" translatable="yes">Output file container type</property>
- <signal handler="container_changed_cb" name="changed"/>
+ <child>
+ <object class="GtkLabel" id="label27">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Container:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="FileFormat">
+ <property name="visible">True</property>
+ <signal name="changed" handler="container_changed_cb"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
</child>
<child>
- <object class="GtkAlignment" id="alignment39">
+ <object class="GtkCheckButton" id="Mp4iPodCompatible">
+ <property name="label" translatable="yes">iPod 5G Support</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="xalign">0.10000000149011612</property>
- <property name="xscale">0</property>
- <child>
- <object class="GtkCheckButton" id="Mp4iPodCompatible">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">iPod 5G Support</property>
- <property name="draw_indicator">True</property>
- <signal handler="setting_widget_changed_cb" name="toggled"/>
- </object>
- </child>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="setting_widget_changed_cb"/>
</object>
<packing>
- <property name="expand">False</property>
- <property name="position">2</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="Mp4HttpOptimize">
+ <property name="label" translatable="yes">Web optimized</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">Web optimized</property>
- <property name="tooltip-text" translatable="yes">Tunes the MP4 to be better suited for streaming</property>
<property name="draw_indicator">True</property>
- <signal handler="http_opt_changed_cb" name="toggled"/>
+ <signal name="toggled" handler="http_opt_changed_cb"/>
</object>
<packing>
- <property name="expand">False</property>
- <property name="position">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="Mp4LargeFile">
+ <property name="label" translatable="yes">Large file size (&gt;4GB)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="tooltip-text" translatable="yes">Caution: This option will likely break device compatiblity with all but the AppleTV Take 2. Checking this box enables a 64 bit mp4 file which can be over 4 GB.</property>
- <property name="label" translatable="yes">Large file size (&gt;4GB)</property>
<property name="draw_indicator">True</property>
- <signal handler="setting_widget_changed_cb" name="toggled"/>
+ <signal name="toggled" handler="setting_widget_changed_cb"/>
</object>
<packing>
- <property name="position">4</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
+ <property name="expand">False</property>
</packing>
</child>
</object>
@@ -826,7 +828,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="position">2</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
@@ -865,7 +867,7 @@
<object class="GtkAlignment" id="alignment9">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<child>
@@ -991,7 +993,7 @@
<object class="GtkAlignment" id="alignment5">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -1116,7 +1118,7 @@
<object class="GtkAlignment" id="alignment7">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -1389,7 +1391,7 @@
<object class="GtkAlignment" id="alignment10">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<child>
@@ -1708,7 +1710,7 @@
<object class="GtkAlignment" id="alignment18">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -1990,7 +1992,7 @@
<object class="GtkAlignment" id="alignmentj01">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -2032,7 +2034,7 @@
<object class="GtkAlignment" id="alignmentj02">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -2119,6 +2121,7 @@
<object class="GtkAlignment" id="alignment25">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="top_padding">6</property>
<property name="left_padding">12</property>
<child>
<object class="GtkVBox" id="vbox22">
@@ -2198,7 +2201,7 @@
<object class="GtkAlignment" id="alignment26">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -2428,7 +2431,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1</property>
<object class="GtkAlignment" id="alignment30">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -2649,7 +2652,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1</property>
<object class="GtkAlignment" id="alignment35">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -2916,7 +2919,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1</property>
</child>
<child>
<object class="GtkFrame" id="presets_frame">
- <property name="visible">False</property>
+ <property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="border_width">3</property>
<property name="label_xalign">0</property>
@@ -2926,6 +2929,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1</property>
<object class="GtkAlignment" id="alignment21">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="top_padding">6</property>
<property name="left_padding">8</property>
<child>
<object class="GtkVBox" id="presets_vbox">
@@ -3085,6 +3089,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1</property>
</object>
<object class="GtkDialog" id="prefs_dialog">
<property name="border_width">5</property>
+ <property name="title" translatable="yes">Preferences</property>
<property name="modal">True</property>
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
@@ -3127,11 +3132,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1</property>
</child>
</object>
</child>
- <child>
- <object class="GtkFrame" id="frame16">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_ETCHED_OUT</property>
+
<child>
<object class="GtkAlignment" id="alignment6">
<property name="visible">True</property>
@@ -3232,6 +3233,48 @@ location as the movie.</property>
<property name="position">5</property>
</packing>
</child>
+
+ <child>
+ <object class="GtkAlignment" id="alignment_j6">
+ <property name="visible">True</property>
+ <property name="left_padding">4</property>
+ <child>
+ <object class="GtkHBox" id="hbox_j3">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkSpinButton" id="preview_count">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="max_length">2</property>
+ <property name="shadow_type">none</property>
+ <property name="adjustment">preview_count_adj</property>
+ <property name="numeric">True</property>
+ <signal name="value_changed" handler="pref_changed_cb"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label_j3">
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"> Number of previews </property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">6</property>
+ </packing>
+ </child>
<child>
<object class="GtkCheckButton" id="allow_tweaks">
<property name="can_focus">True</property>
@@ -3240,7 +3283,7 @@ location as the movie.</property>
<signal name="toggled" handler="tweaks_changed_cb"/>
</object>
<packing>
- <property name="position">6</property>
+ <property name="position">7</property>
</packing>
</child>
<child>
@@ -3251,25 +3294,17 @@ location as the movie.</property>
<signal name="toggled" handler="hbfd_feature_changed_cb"/>
</object>
<packing>
- <property name="position">7</property>
+ <property name="position">8</property>
</packing>
</child>
</object>
</child>
</object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
</child>
- <child type="label">
- <object class="GtkLabel" id="label18">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Preferences&lt;/b&gt;</property>
- <property name="use_markup">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
+
</object>
<packing>
<property name="position">1</property>
@@ -3452,7 +3487,7 @@ location as the movie.</property>
<object class="GtkAlignment" id="alignment36">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">4</property>
<property name="left_padding">12</property>
<property name="right_padding">4</property>
@@ -3891,7 +3926,6 @@ location as the movie.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="max_length">2</property>
- <property name="has_frame">False</property>
<property name="shadow_type">none</property>
<property name="adjustment">adjustment19</property>
<property name="numeric">True</property>
@@ -4163,7 +4197,7 @@ location as the movie.</property>
<object class="GtkAlignment" id="alignment43">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<property name="right_padding">2</property>
@@ -4358,7 +4392,7 @@ the other to maintain the video's original aspect ratio.</property>
<object class="GtkAlignment" id="alignment8">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">2</property>
+ <property name="top_padding">6</property>
<property name="bottom_padding">2</property>
<property name="left_padding">12</property>
<child>
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 5c8741411..252d96f9e 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -1996,9 +1996,9 @@ ghb_backend_close()
}
void
-ghb_backend_scan(const gchar *path, gint titleindex)
+ghb_backend_scan(const gchar *path, gint titleindex, gint preview_count)
{
- hb_scan( h_scan, path, titleindex );
+ hb_scan( h_scan, path, titleindex, preview_count, 1 );
hb_status.scan.state |= GHB_STATE_SCANNING;
// initialize count and cur to something that won't cause FPE
// when computing progress
@@ -2010,7 +2010,7 @@ void
ghb_backend_queue_scan(const gchar *path, gint titlenum)
{
g_debug("ghb_backend_queue_scan()");
- hb_scan( h_queue, path, titlenum );
+ hb_scan( h_queue, path, titlenum, 10, 0 );
hb_status.queue.state |= GHB_STATE_SCANNING;
}
diff --git a/gtk/src/hb-backend.h b/gtk/src/hb-backend.h
index 16165d61b..8fa0ddc82 100644
--- a/gtk/src/hb-backend.h
+++ b/gtk/src/hb-backend.h
@@ -113,7 +113,7 @@ gint ghb_get_scan_state();
gint ghb_get_queue_state();
void ghb_get_status(ghb_status_t *status);
void ghb_track_status(void);
-void ghb_backend_scan(const gchar *path, gint titleindex);
+void ghb_backend_scan(const gchar *path, gint titleindex, gint preview_count);
void ghb_backend_queue_scan(const gchar *path, gint titleindex);
gboolean ghb_get_title_info(ghb_title_info_t *tinfo, gint titleindex);
void ghb_set_scale(signal_user_data_t *ud, gint mode);
diff --git a/gtk/src/internal_defaults.xml b/gtk/src/internal_defaults.xml
index bdb599afe..d531a0c36 100644
--- a/gtk/src/internal_defaults.xml
+++ b/gtk/src/internal_defaults.xml
@@ -112,6 +112,8 @@
<true />
<key>noscale</key>
<false />
+ <key>preview_count</key>
+ <integer>10</integer>
<key>show_presets</key>
<true />
<key>use_source_name</key>
diff --git a/gtk/src/resource_data.h b/gtk/src/resource_data.h
index bc77de007..a085d2ca2 100644
--- a/gtk/src/resource_data.h
+++ b/gtk/src/resource_data.h
@@ -215,6 +215,16 @@
"\n"
" &lt;property name=&quot;value&quot;&gt;0&lt;/property&gt;\n"
" &lt;/object&gt;\n"
+" &lt;object class=&quot;GtkAdjustment&quot; id=&quot;preview_count_adj"
+"&quot;&gt;\n"
+" &lt;property name=&quot;upper&quot;&gt;30&lt;/property&gt;\n"
+" &lt;property name=&quot;lower&quot;&gt;5&lt;/property&gt;\n"
+" &lt;property name=&quot;page_increment&quot;&gt;10&lt;/property&gt;"
+"\n"
+" &lt;property name=&quot;step_increment&quot;&gt;5&lt;/property&gt;\n"
+" &lt;property name=&quot;page_size&quot;&gt;0&lt;/property&gt;\n"
+" &lt;property name=&quot;value&quot;&gt;10&lt;/property&gt;\n"
+" &lt;/object&gt;\n"
" &lt;object class=&quot;GtkUIManager&quot; id=&quot;uimanager1&quot;&g"
"t;\n"
" &lt;child&gt;\n"
@@ -373,8 +383,8 @@
"esets&quot;&gt;\n"
" &lt;property name=&quot;visible&quot;&gt;True&lt;/property&"
"gt;\n"
-" &lt;property name=&quot;active&quot;&gt;False&lt;/property&"
-"gt;\n"
+" &lt;property name=&quot;active&quot;&gt;True&lt;/property&g"
+"t;\n"
" &lt;property name=&quot;name&quot;&gt;show_presets&lt;/prop"
"erty&gt;\n"
" &lt;property name=&quot;label&quot; translatable=&quot;yes&"
@@ -665,6 +675,8 @@
" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
+" &lt;property name=&quot;expand&quot;&gt;False&lt;/property&"
+"gt;\n"
" &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt"
";\n"
" &lt;/packing&gt;\n"
@@ -702,6 +714,10 @@
"t;/property&gt;\n"
" &lt;property name=&quot;left_padding&quot;&gt;1"
"2&lt;/property&gt;\n"
+" &lt;property name=&quot;top_padding&quot;&gt;6&"
+"lt;/property&gt;\n"
+" &lt;property name=&quot;bottom_padding&quot;&gt"
+";6&lt;/property&gt;\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkVBox&quot; id=&quot"
";vbox3&quot;&gt;\n"
@@ -764,8 +780,6 @@
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkComboBox&qu"
"ot; id=&quot;title&quot;&gt;\n"
-" &lt;property name=&quot;height_request&quot;&gt"
-";16&lt;/property&gt;\n"
" &lt;property name=&quot;width_reque"
"st&quot;&gt;150&lt;/property&gt;\n"
" &lt;property name=&quot;visible&quo"
@@ -984,19 +998,6 @@
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkHSeparator&quot; id=&quot;h"
-"separator1&quot;&gt;\n"
-" &lt;property name=&quot;visible&quot;&gt;True&lt;/p"
-"roperty&gt;\n"
-" &lt;/object&gt;\n"
-" &lt;packing&gt;\n"
-" &lt;property name=&quot;expand&quot;&gt;False&lt;/p"
-"roperty&gt;\n"
-" &lt;property name=&quot;position&quot;&gt;1&lt;/pro"
-"perty&gt;\n"
-" &lt;/packing&gt;\n"
-" &lt;/child&gt;\n"
-" &lt;child&gt;\n"
" &lt;object class=&quot;GtkFrame&quot; id=&quot;frame2"
"&quot;&gt;\n"
" &lt;property name=&quot;visible&quot;&gt;True&lt;/p"
@@ -1012,29 +1013,36 @@
"t;/property&gt;\n"
" &lt;property name=&quot;left_padding&quot;&gt;1"
"2&lt;/property&gt;\n"
+" &lt;property name=&quot;top_padding&quot;&gt;6&"
+"lt;/property&gt;\n"
+" &lt;property name=&quot;bottom_padding&quot;&gt"
+";6&lt;/property&gt;\n"
" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkVBox&quot; id=&quot"
-";vbox4&quot;&gt;\n"
+" &lt;object class=&quot;GtkHBox&quot; id=&quot"
+";hbox_j4&quot;&gt;\n"
" &lt;property name=&quot;visible&quot;&gt;Tr"
"ue&lt;/property&gt;\n"
+" &lt;property name=&quot;spacing&quot;&gt;12"
+"&lt;/property&gt;\n"
" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkHBox&quot; id=&"
-"quot;hbox6&quot;&gt;\n"
+" &lt;object class=&quot;GtkTable&quot; id="
+"&quot;table3&quot;&gt;\n"
" &lt;property name=&quot;visible&quot;&g"
"t;True&lt;/property&gt;\n"
-" &lt;property name=&quot;spacing&quot;&g"
-"t;5&lt;/property&gt;\n"
-"\n"
-"\n"
-"\n"
-"\n"
+" &lt;property name=&quot;n_rows&quot;&gt"
+";2&lt;/property&gt;\n"
+" &lt;property name=&quot;n_columns&quot;"
+"&gt;2&lt;/property&gt;\n"
+" &lt;child&gt;\n"
+" &lt;placeholder/&gt;\n"
+" &lt;/child&gt;\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkFileChooser"
"Button&quot; id=&quot;dest_dir&quot;&gt;\n"
" &lt;property name=&quot;visible&quo"
"t;&gt;True&lt;/property&gt;\n"
" &lt;property name=&quot;action&quot"
-";&gt;select-folder&lt;/property&gt;\n"
+";&gt;GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER&lt;/property&gt;\n"
" &lt;property name=&quot;title&quot;"
" translatable=&quot;yes&quot;&gt;Destination Directory&lt;/property&gt;"
"\n"
@@ -1042,25 +1050,14 @@
"nged&quot; handler=&quot;dest_dir_set_cb&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;0&lt;/property&gt;\n"
-" &lt;/packing&gt;\n"
-" &lt;/child&gt;\n"
-" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkLabel&quot;"
-" id=&quot;label18&quot;&gt;\n"
-" &lt;property name=&quot;visible&quo"
-"t;&gt;True&lt;/property&gt;\n"
-" &lt;property name=&quot;label&quot;"
-" translatable=&quot;yes&quot;&gt;File:&lt;/property&gt;\n"
-" &lt;/object&gt;\n"
-" &lt;packing&gt;\n"
-" &lt;property name=&quot;expand&quot"
-";&gt;False&lt;/property&gt;\n"
-" &lt;property name=&quot;fill&quot;&"
-"gt;False&lt;/property&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;left_attach"
+"&quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;right_attac"
+"h&quot;&gt;2&lt;/property&gt;\n"
+" &lt;property name=&quot;top_attach&"
+"quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;bottom_atta"
+"ch&quot;&gt;2&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;child&gt;\n"
@@ -1071,168 +1068,175 @@
" &lt;property name=&quot;can_focus&q"
"uot;&gt;True&lt;/property&gt;\n"
" &lt;property name=&quot;width_chars"
-"&quot;&gt;20&lt;/property&gt;\n"
-" &lt;accelerator key=&quot;d&quot; s"
-"ignal=&quot;grab-focus&quot; modifiers=&quot;GDK_MOD1_MASK&quot;/&gt;\n"
+"&quot;&gt;30&lt;/property&gt;\n"
" &lt;signal name=&quot;changed&quot;"
" handler=&quot;dest_file_changed_cb&quot;/&gt;\n"
" &lt;signal name=&quot;grab_focus&qu"
"ot; handler=&quot;destination_grab_cb&quot; after=&quot;yes&quot;/&gt;\n"
+" &lt;accelerator key=&quot;d&quot; s"
+"ignal=&quot;grab-focus&quot; modifiers=&quot;GDK_MOD1_MASK&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;2&lt;/property&gt;\n"
+" &lt;property name=&quot;left_attach"
+"&quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;right_attac"
+"h&quot;&gt;2&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-" &lt;/object&gt;\n"
-" &lt;/child&gt;\n"
-" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkHBox&quot; id=&"
-"quot;container_box&quot;&gt;\n"
-" &lt;property name=&quot;visible&quot;&g"
-"t;True&lt;/property&gt;\n"
-" &lt;property name=&quot;events&quot;&gt"
-";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
-"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;spacing&quot;&g"
-"t;8&lt;/property&gt;\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkLabel&quot;"
-" id=&quot;label10&quot;&gt;\n"
+" id=&quot;label18&quot;&gt;\n"
" &lt;property name=&quot;visible&quo"
"t;&gt;True&lt;/property&gt;\n"
" &lt;property name=&quot;label&quot;"
-" translatable=&quot;yes&quot;&gt;Container:&lt;/property&gt;\n"
+" translatable=&quot;yes&quot;&gt;File:&lt;/property&gt;\n"
" &lt;/object&gt;\n"
-" &lt;packing&gt;\n"
-" &lt;property name=&quot;expand&quot"
-";&gt;False&lt;/property&gt;\n"
-" &lt;property name=&quot;fill&quot;&"
-"gt;False&lt;/property&gt;\n"
-" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;expand&quot;&gt"
+";False&lt;/property&gt;\n"
+" &lt;/packing&gt;\n"
+" &lt;/child&gt;\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkTable&quot; id="
+"&quot;table1&quot;&gt;\n"
+" &lt;property name=&quot;visible&quot;&g"
+"t;True&lt;/property&gt;\n"
+" &lt;property name=&quot;n_rows&quot;&gt"
+";2&lt;/property&gt;\n"
+" &lt;property name=&quot;n_columns&quot;"
+"&gt;2&lt;/property&gt;\n"
+" &lt;property name=&quot;column_spacing&"
+"quot;&gt;4&lt;/property&gt;\n"
" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkComboBox&qu"
-"ot; id=&quot;FileFormat&quot;&gt;\n"
+" &lt;object class=&quot;GtkHBox&quot; "
+"id=&quot;hbox3&quot;&gt;\n"
" &lt;property name=&quot;visible&quo"
"t;&gt;True&lt;/property&gt;\n"
-" &lt;property name=&quot;tooltip-tex"
-"t&quot; translatable=&quot;yes&quot;&gt;Output file container type&lt;/"
-"property&gt;\n"
-" &lt;signal handler=&quot;container_"
-"changed_cb&quot; name=&quot;changed&quot;/&gt;\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkLabel&q"
+"uot; id=&quot;label27&quot;&gt;\n"
+" &lt;property name=&quot;visible"
+"&quot;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;label&q"
+"uot; translatable=&quot;yes&quot;&gt;Container:&lt;/property&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;expand&"
+"quot;&gt;False&lt;/property&gt;\n"
+" &lt;property name=&quot;fill&qu"
+"ot;&gt;False&lt;/property&gt;\n"
+" &lt;property name=&quot;positio"
+"n&quot;&gt;0&lt;/property&gt;\n"
+" &lt;/packing&gt;\n"
+" &lt;/child&gt;\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkComboBo"
+"x&quot; id=&quot;FileFormat&quot;&gt;\n"
+" &lt;property name=&quot;visible"
+"&quot;&gt;True&lt;/property&gt;\n"
+" &lt;signal name=&quot;changed&q"
+"uot; handler=&quot;container_changed_cb&quot;/&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;expand&"
+"quot;&gt;False&lt;/property&gt;\n"
+" &lt;property name=&quot;positio"
+"n&quot;&gt;1&lt;/property&gt;\n"
+" &lt;/packing&gt;\n"
+" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
-" &lt;packing&gt;\n"
-" &lt;property name=&quot;expand&quot"
-";&gt;False&lt;/property&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;1&lt;/property&gt;\n"
-" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkAlignment&q"
-"uot; id=&quot;alignment39&quot;&gt;\n"
+" &lt;object class=&quot;GtkCheckButton"
+"&quot; id=&quot;Mp4iPodCompatible&quot;&gt;\n"
+" &lt;property name=&quot;label&quot;"
+" translatable=&quot;yes&quot;&gt;iPod 5G Support&lt;/property&gt;\n"
" &lt;property name=&quot;visible&quo"
"t;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;can_focus&q"
+"uot;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;receives_de"
+"fault&quot;&gt;False&lt;/property&gt;\n"
" &lt;property name=&quot;events&quot"
";&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTO"
"N_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;xalign&quot"
-";&gt;0.10000000149011612&lt;/property&gt;\n"
-" &lt;property name=&quot;xscale&quot"
-";&gt;0&lt;/property&gt;\n"
-" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkCheckBu"
-"tton&quot; id=&quot;Mp4iPodCompatible&quot;&gt;\n"
-" &lt;property name=&quot;visible"
-"&quot;&gt;True&lt;/property&gt;\n"
-" &lt;property name=&quot;can_foc"
-"us&quot;&gt;True&lt;/property&gt;\n"
-" &lt;property name=&quot;events&"
-"quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_B"
-"UTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;label&q"
-"uot; translatable=&quot;yes&quot;&gt;iPod 5G Support&lt;/property&gt;\n"
-" &lt;property name=&quot;draw_in"
-"dicator&quot;&gt;True&lt;/property&gt;\n"
-" &lt;signal handler=&quot;settin"
-"g_widget_changed_cb&quot; name=&quot;toggled&quot;/&gt;\n"
-" &lt;/object&gt;\n"
-" &lt;/child&gt;\n"
+" &lt;property name=&quot;draw_indica"
+"tor&quot;&gt;True&lt;/property&gt;\n"
+" &lt;signal name=&quot;toggled&quot;"
+" handler=&quot;setting_widget_changed_cb&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;expand&quot"
-";&gt;False&lt;/property&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;2&lt;/property&gt;\n"
+" &lt;property name=&quot;left_attach"
+"&quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;right_attac"
+"h&quot;&gt;2&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkCheckButton"
"&quot; id=&quot;Mp4HttpOptimize&quot;&gt;\n"
+" &lt;property name=&quot;label&quot;"
+" translatable=&quot;yes&quot;&gt;Web optimized&lt;/property&gt;\n"
" &lt;property name=&quot;visible&quo"
"t;&gt;True&lt;/property&gt;\n"
" &lt;property name=&quot;can_focus&q"
"uot;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;receives_de"
+"fault&quot;&gt;False&lt;/property&gt;\n"
" &lt;property name=&quot;events&quot"
";&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTO"
"N_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;label&quot;"
-" translatable=&quot;yes&quot;&gt;Web optimized&lt;/property&gt;\n"
-" &lt;property name=&quot;tooltip-tex"
-"t&quot; translatable=&quot;yes&quot;&gt;Tunes the MP4 to be better suit"
-"ed for streaming&lt;/property&gt;\n"
" &lt;property name=&quot;draw_indica"
"tor&quot;&gt;True&lt;/property&gt;\n"
-" &lt;signal handler=&quot;http_opt_c"
-"hanged_cb&quot; name=&quot;toggled&quot;/&gt;\n"
+" &lt;signal name=&quot;toggled&quot;"
+" handler=&quot;http_opt_changed_cb&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;expand&quot"
-";&gt;False&lt;/property&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;3&lt;/property&gt;\n"
+" &lt;property name=&quot;top_attach&"
+"quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;bottom_atta"
+"ch&quot;&gt;2&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkCheckButton"
"&quot; id=&quot;Mp4LargeFile&quot;&gt;\n"
+" &lt;property name=&quot;label&quot;"
+" translatable=&quot;yes&quot;&gt;Large file size (&amp;gt;4GB)&lt;/prop"
+"erty&gt;\n"
" &lt;property name=&quot;visible&quo"
"t;&gt;True&lt;/property&gt;\n"
" &lt;property name=&quot;can_focus&q"
"uot;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;receives_de"
+"fault&quot;&gt;False&lt;/property&gt;\n"
" &lt;property name=&quot;events&quot"
";&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTO"
"N_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;tooltip-tex"
-"t&quot; translatable=&quot;yes&quot;&gt;Caution: This option will likel"
-"y break device compatiblity with all but the AppleTV Take 2. Checking t"
-"his box enables a 64 bit mp4 file which can be over 4 GB.&lt;/property&"
-"gt;\n"
-" &lt;property name=&quot;label&quot;"
-" translatable=&quot;yes&quot;&gt;Large file size (&amp;gt;4GB)&lt;/prop"
-"erty&gt;\n"
" &lt;property name=&quot;draw_indica"
"tor&quot;&gt;True&lt;/property&gt;\n"
-" &lt;signal handler=&quot;setting_wi"
-"dget_changed_cb&quot; name=&quot;toggled&quot;/&gt;\n"
+" &lt;signal name=&quot;toggled&quot;"
+" handler=&quot;setting_widget_changed_cb&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;position&qu"
-"ot;&gt;4&lt;/property&gt;\n"
+" &lt;property name=&quot;left_attach"
+"&quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;right_attac"
+"h&quot;&gt;2&lt;/property&gt;\n"
+" &lt;property name=&quot;top_attach&"
+"quot;&gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;bottom_atta"
+"ch&quot;&gt;2&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
" &lt;property name=&quot;position&quot;&"
"gt;1&lt;/property&gt;\n"
+" &lt;property name=&quot;expand&quot;&gt"
+";False&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
@@ -1255,7 +1259,7 @@
" &lt;packing&gt;\n"
" &lt;property name=&quot;expand&quot;&gt;False&lt;/p"
"roperty&gt;\n"
-" &lt;property name=&quot;position&quot;&gt;2&lt;/pro"
+" &lt;property name=&quot;position&quot;&gt;1&lt;/pro"
"perty&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
@@ -1324,7 +1328,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -1533,7 +1537,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -1735,7 +1739,7 @@
";&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTO"
"N_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding"
-"&quot;&gt;2&lt;/property&gt;\n"
+"&quot;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padd"
"ing&quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_paddin"
@@ -2155,7 +2159,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -2688,7 +2692,7 @@
"_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_"
"MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quot;&g"
-"t;2&lt;/property&gt;\n"
+"t;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&quot"
";&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&quot;&"
@@ -3172,7 +3176,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -3246,7 +3250,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -3393,6 +3397,8 @@
" &lt;property name=&quot;events&quot;&gt"
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
+" &lt;property name=&quot;top_padding&quo"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
"ot;&gt;12&lt;/property&gt;\n"
" &lt;child&gt;\n"
@@ -3534,7 +3540,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -3929,7 +3935,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -4315,7 +4321,7 @@
";GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PR"
"ESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
" &lt;property name=&quot;top_padding&quo"
-"t;&gt;2&lt;/property&gt;\n"
+"t;&gt;6&lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&"
"quot;&gt;2&lt;/property&gt;\n"
" &lt;property name=&quot;left_padding&qu"
@@ -4758,8 +4764,8 @@
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkFrame&quot; id=&quot;presets_frame&"
"quot;&gt;\n"
-" &lt;property name=&quot;visible&quot;&gt;False&lt;/property"
-"&gt;\n"
+" &lt;property name=&quot;visible&quot;&gt;True&lt;/property&"
+"gt;\n"
" &lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_"
"MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTO"
"N_RELEASE_MASK&lt;/property&gt;\n"
@@ -4779,6 +4785,8 @@
" &lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOT"
"ION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_B"
"UTTON_RELEASE_MASK&lt;/property&gt;\n"
+" &lt;property name=&quot;top_padding&quot;&gt;6&lt;/prop"
+"erty&gt;\n"
" &lt;property name=&quot;left_padding&quot;&gt;8&lt;/pro"
"perty&gt;\n"
" &lt;child&gt;\n"
@@ -5038,6 +5046,8 @@
" &lt;object class=&quot;GtkDialog&quot; id=&quot;prefs_dialog&quot;&gt"
";\n"
" &lt;property name=&quot;border_width&quot;&gt;5&lt;/property&gt;\n"
+" &lt;property name=&quot;title&quot; translatable=&quot;yes&quot;&gt"
+";Preferences&lt;/property&gt;\n"
" &lt;property name=&quot;modal&quot;&gt;True&lt;/property&gt;\n"
" &lt;property name=&quot;window_position&quot;&gt;GTK_WIN_POS_CENTER"
"_ON_PARENT&lt;/property&gt;\n"
@@ -5105,15 +5115,7 @@
" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
" &lt;/child&gt;\n"
-" &lt;child&gt;\n"
-" &lt;object class=&quot;GtkFrame&quot; id=&quot;frame16&qu"
-"ot;&gt;\n"
-" &lt;property name=&quot;visible&quot;&gt;True&lt;/prope"
-"rty&gt;\n"
-" &lt;property name=&quot;label_xalign&quot;&gt;0&lt;/pro"
-"perty&gt;\n"
-" &lt;property name=&quot;shadow_type&quot;&gt;GTK_SHADOW"
-"_ETCHED_OUT&lt;/property&gt;\n"
+"\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkAlignment&quot; id=&quot;al"
"ignment6&quot;&gt;\n"
@@ -5270,6 +5272,71 @@
"&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
+"\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkAlignment&quot; id="
+"&quot;alignment_j6&quot;&gt;\n"
+" &lt;property name=&quot;visible&quot;&gt;Tr"
+"ue&lt;/property&gt;\n"
+" &lt;property name=&quot;left_padding&quot;&"
+"gt;4&lt;/property&gt;\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkHBox&quot; id=&"
+"quot;hbox_j3&quot;&gt;\n"
+" &lt;property name=&quot;visible&quot;&g"
+"t;True&lt;/property&gt;\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkSpinButton&"
+"quot; id=&quot;preview_count&quot;&gt;\n"
+" &lt;property name=&quot;visible&quo"
+"t;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;can_focus&q"
+"uot;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;max_length&"
+"quot;&gt;2&lt;/property&gt;\n"
+" &lt;property name=&quot;shadow_type"
+"&quot;&gt;none&lt;/property&gt;\n"
+" &lt;property name=&quot;adjustment&"
+"quot;&gt;preview_count_adj&lt;/property&gt;\n"
+" &lt;property name=&quot;numeric&quo"
+"t;&gt;True&lt;/property&gt;\n"
+" &lt;signal name=&quot;value_changed"
+"&quot; handler=&quot;pref_changed_cb&quot;/&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;expand&quot"
+";&gt;False&lt;/property&gt;\n"
+" &lt;property name=&quot;position&qu"
+"ot;&gt;0&lt;/property&gt;\n"
+" &lt;/packing&gt;\n"
+" &lt;/child&gt;\n"
+" &lt;child&gt;\n"
+" &lt;object class=&quot;GtkLabel&quot;"
+" id=&quot;label_j3&quot;&gt;\n"
+" &lt;property name=&quot;justify&quo"
+"t;&gt;GTK_JUSTIFY_LEFT&lt;/property&gt;\n"
+" &lt;property name=&quot;visible&quo"
+"t;&gt;True&lt;/property&gt;\n"
+" &lt;property name=&quot;label&quot;"
+" translatable=&quot;yes&quot;&gt; Number of previews &lt;/property&gt;\n"
+" &lt;property name=&quot;use_markup&"
+"quot;&gt;True&lt;/property&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;expand&quot"
+";&gt;False&lt;/property&gt;\n"
+" &lt;property name=&quot;position&qu"
+"ot;&gt;1&lt;/property&gt;\n"
+" &lt;/packing&gt;\n"
+" &lt;/child&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;/child&gt;\n"
+" &lt;/object&gt;\n"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;position&quot;&gt;6"
+"&lt;/property&gt;\n"
+" &lt;/packing&gt;\n"
+" &lt;/child&gt;\n"
" &lt;child&gt;\n"
" &lt;object class=&quot;GtkCheckButton&quot; i"
"d=&quot;allow_tweaks&quot;&gt;\n"
@@ -5283,7 +5350,7 @@
"=&quot;tweaks_changed_cb&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;position&quot;&gt;6"
+" &lt;property name=&quot;position&quot;&gt;7"
"&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
@@ -5300,32 +5367,19 @@
"=&quot;hbfd_feature_changed_cb&quot;/&gt;\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
-" &lt;property name=&quot;position&quot;&gt;7"
+" &lt;property name=&quot;position&quot;&gt;8"
"&lt;/property&gt;\n"
" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
" &lt;/child&gt;\n"
" &lt;/object&gt;\n"
-" &lt;/child&gt;\n"
-" &lt;child type=&quot;label&quot;&gt;\n"
-" &lt;object class=&quot;GtkLabel&quot; id=&quot;label1"
-"8&quot;&gt;\n"
-" &lt;property name=&quot;visible&quot;&gt;True&lt;/p"
-"roperty&gt;\n"
-" &lt;property name=&quot;label&quot; translatable=&q"
-"uot;yes&quot;&gt;&amp;lt;b&amp;gt;Preferences&amp;lt;/b&amp;gt;&lt;/pro"
+" &lt;packing&gt;\n"
+" &lt;property name=&quot;position&quot;&gt;1&lt;/pro"
"perty&gt;\n"
-" &lt;property name=&quot;use_markup&quot;&gt;True&lt"
-";/property&gt;\n"
-" &lt;/object&gt;\n"
+" &lt;/packing&gt;\n"
" &lt;/child&gt;\n"
-" &lt;/object&gt;\n"
-" &lt;packing&gt;\n"
-" &lt;property name=&quot;position&quot;&gt;1&lt;/propert"
-"y&gt;\n"
-" &lt;/packing&gt;\n"
-" &lt;/child&gt;\n"
+"\n"
" &lt;/object&gt;\n"
" &lt;packing&gt;\n"
" &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt"
@@ -5628,7 +5682,7 @@
" &lt;property name=&quot;events&quot;&gt;GDK_POINTER"
"_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | G"
"DK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;top_padding&quot;&gt;2&lt;/"
+" &lt;property name=&quot;top_padding&quot;&gt;6&lt;/"
"property&gt;\n"
" &lt;property name=&quot;bottom_padding&quot;&gt;4&l"
"t;/property&gt;\n"
@@ -6331,8 +6385,6 @@
"/property&gt;\n"
" &lt;property name=&quot;max_length&quot;&gt;2&lt;/p"
"roperty&gt;\n"
-" &lt;property name=&quot;has_frame&quot;&gt;False&lt"
-";/property&gt;\n"
" &lt;property name=&quot;shadow_type&quot;&gt;none&l"
"t;/property&gt;\n"
" &lt;property name=&quot;adjustment&quot;&gt;adjustm"
@@ -6752,7 +6804,7 @@
" &lt;property name=&quot;events&quot;&gt;GDK_POINTER"
"_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | G"
"DK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;top_padding&quot;&gt;2&lt;/"
+" &lt;property name=&quot;top_padding&quot;&gt;6&lt;/"
"property&gt;\n"
" &lt;property name=&quot;bottom_padding&quot;&gt;2&l"
"t;/property&gt;\n"
@@ -7083,7 +7135,7 @@
" &lt;property name=&quot;events&quot;&gt;GDK_POI"
"NTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK"
" | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;\n"
-" &lt;property name=&quot;top_padding&quot;&gt;2&"
+" &lt;property name=&quot;top_padding&quot;&gt;6&"
"lt;/property&gt;\n"
" &lt;property name=&quot;bottom_padding&quot;&gt"
";2&lt;/property&gt;\n"
@@ -10455,6 +10507,8 @@
" <false />\n"
" <key>noscale</key>\n"
" <false />\n"
+" <key>preview_count</key>\n"
+" <integer>10</integer>\n"
" <key>reduce_hd_preview</key>\n"
" <true />\n"
" <key>show_presets</key>\n"
diff --git a/gtk/src/resources.plist b/gtk/src/resources.plist
index af57e035d..5cc700ced 100644
--- a/gtk/src/resources.plist
+++ b/gtk/src/resources.plist
@@ -173,6 +173,14 @@
&lt;property name=&quot;page_increment&quot;&gt;10&lt;/property&gt;
&lt;property name=&quot;value&quot;&gt;0&lt;/property&gt;
&lt;/object&gt;
+ &lt;object class=&quot;GtkAdjustment&quot; id=&quot;preview_count_adj&quot;&gt;
+ &lt;property name=&quot;upper&quot;&gt;30&lt;/property&gt;
+ &lt;property name=&quot;lower&quot;&gt;5&lt;/property&gt;
+ &lt;property name=&quot;page_increment&quot;&gt;10&lt;/property&gt;
+ &lt;property name=&quot;step_increment&quot;&gt;5&lt;/property&gt;
+ &lt;property name=&quot;page_size&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;value&quot;&gt;10&lt;/property&gt;
+ &lt;/object&gt;
&lt;object class=&quot;GtkUIManager&quot; id=&quot;uimanager1&quot;&gt;
&lt;child&gt;
&lt;object class=&quot;GtkActionGroup&quot; id=&quot;actiongroup1&quot;&gt;
@@ -271,7 +279,7 @@
&lt;child&gt;
&lt;object class=&quot;GtkToggleAction&quot; id=&quot;show_presets&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;active&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;active&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;name&quot;&gt;show_presets&lt;/property&gt;
&lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Show Presets&lt;/property&gt;
&lt;signal handler=&quot;show_presets_toggled_cb&quot; name=&quot;toggled&quot;/&gt;
@@ -461,6 +469,7 @@
&lt;/child&gt;
&lt;/object&gt;
&lt;packing&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
&lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
@@ -484,6 +493,8 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment1&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
+ &lt;property name=&quot;bottom_padding&quot;&gt;6&lt;/property&gt;
&lt;child&gt;
&lt;object class=&quot;GtkVBox&quot; id=&quot;vbox3&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
@@ -524,7 +535,6 @@
&lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkComboBox&quot; id=&quot;title&quot;&gt;
- &lt;property name=&quot;height_request&quot;&gt;16&lt;/property&gt;
&lt;property name=&quot;width_request&quot;&gt;150&lt;/property&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;has_frame&quot;&gt;False&lt;/property&gt;
@@ -663,15 +673,6 @@
&lt;/packing&gt;
&lt;/child&gt;
&lt;child&gt;
- &lt;object class=&quot;GtkHSeparator&quot; id=&quot;hseparator1&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;/object&gt;
- &lt;packing&gt;
- &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
- &lt;/packing&gt;
- &lt;/child&gt;
- &lt;child&gt;
&lt;object class=&quot;GtkFrame&quot; id=&quot;frame2&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;label_xalign&quot;&gt;0&lt;/property&gt;
@@ -680,141 +681,142 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment3&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
+ &lt;property name=&quot;bottom_padding&quot;&gt;6&lt;/property&gt;
&lt;child&gt;
- &lt;object class=&quot;GtkVBox&quot; id=&quot;vbox4&quot;&gt;
+ &lt;object class=&quot;GtkHBox&quot; id=&quot;hbox_j4&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;spacing&quot;&gt;12&lt;/property&gt;
&lt;child&gt;
- &lt;object class=&quot;GtkHBox&quot; id=&quot;hbox6&quot;&gt;
+ &lt;object class=&quot;GtkTable&quot; id=&quot;table3&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;spacing&quot;&gt;5&lt;/property&gt;
-
-
-
-
+ &lt;property name=&quot;n_rows&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;n_columns&quot;&gt;2&lt;/property&gt;
+ &lt;child&gt;
+ &lt;placeholder/&gt;
+ &lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkFileChooserButton&quot; id=&quot;dest_dir&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;action&quot;&gt;select-folder&lt;/property&gt;
+ &lt;property name=&quot;action&quot;&gt;GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER&lt;/property&gt;
&lt;property name=&quot;title&quot; translatable=&quot;yes&quot;&gt;Destination Directory&lt;/property&gt;
&lt;signal name=&quot;selection_changed&quot; handler=&quot;dest_dir_set_cb&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;position&quot;&gt;0&lt;/property&gt;
- &lt;/packing&gt;
- &lt;/child&gt;
- &lt;child&gt;
- &lt;object class=&quot;GtkLabel&quot; id=&quot;label18&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;File:&lt;/property&gt;
- &lt;/object&gt;
- &lt;packing&gt;
- &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;fill&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;left_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;right_attach&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;bottom_attach&quot;&gt;2&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkEntry&quot; id=&quot;dest_file&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;width_chars&quot;&gt;20&lt;/property&gt;
- &lt;accelerator key=&quot;d&quot; signal=&quot;grab-focus&quot; modifiers=&quot;GDK_MOD1_MASK&quot;/&gt;
+ &lt;property name=&quot;width_chars&quot;&gt;30&lt;/property&gt;
&lt;signal name=&quot;changed&quot; handler=&quot;dest_file_changed_cb&quot;/&gt;
&lt;signal name=&quot;grab_focus&quot; handler=&quot;destination_grab_cb&quot; after=&quot;yes&quot;/&gt;
+ &lt;accelerator key=&quot;d&quot; signal=&quot;grab-focus&quot; modifiers=&quot;GDK_MOD1_MASK&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;left_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;right_attach&quot;&gt;2&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
-
-
-
-
-
-
-
- &lt;/object&gt;
- &lt;/child&gt;
- &lt;child&gt;
- &lt;object class=&quot;GtkHBox&quot; id=&quot;container_box&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;spacing&quot;&gt;8&lt;/property&gt;
&lt;child&gt;
- &lt;object class=&quot;GtkLabel&quot; id=&quot;label10&quot;&gt;
+ &lt;object class=&quot;GtkLabel&quot; id=&quot;label18&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Container:&lt;/property&gt;
+ &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;File:&lt;/property&gt;
&lt;/object&gt;
- &lt;packing&gt;
- &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;fill&quot;&gt;False&lt;/property&gt;
- &lt;/packing&gt;
&lt;/child&gt;
+ &lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
+ &lt;/packing&gt;
+ &lt;/child&gt;
+ &lt;child&gt;
+ &lt;object class=&quot;GtkTable&quot; id=&quot;table1&quot;&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;n_rows&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;n_columns&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;column_spacing&quot;&gt;4&lt;/property&gt;
&lt;child&gt;
- &lt;object class=&quot;GtkComboBox&quot; id=&quot;FileFormat&quot;&gt;
+ &lt;object class=&quot;GtkHBox&quot; id=&quot;hbox3&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;tooltip-text&quot; translatable=&quot;yes&quot;&gt;Output file container type&lt;/property&gt;
- &lt;signal handler=&quot;container_changed_cb&quot; name=&quot;changed&quot;/&gt;
+ &lt;child&gt;
+ &lt;object class=&quot;GtkLabel&quot; id=&quot;label27&quot;&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Container:&lt;/property&gt;
+ &lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;fill&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;0&lt;/property&gt;
+ &lt;/packing&gt;
+ &lt;/child&gt;
+ &lt;child&gt;
+ &lt;object class=&quot;GtkComboBox&quot; id=&quot;FileFormat&quot;&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;signal name=&quot;changed&quot; handler=&quot;container_changed_cb&quot;/&gt;
+ &lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
+ &lt;/packing&gt;
+ &lt;/child&gt;
&lt;/object&gt;
- &lt;packing&gt;
- &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
- &lt;/packing&gt;
&lt;/child&gt;
&lt;child&gt;
- &lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment39&quot;&gt;
+ &lt;object class=&quot;GtkCheckButton&quot; id=&quot;Mp4iPodCompatible&quot;&gt;
+ &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;iPod 5G Support&lt;/property&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;receives_default&quot;&gt;False&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;xalign&quot;&gt;0.10000000149011612&lt;/property&gt;
- &lt;property name=&quot;xscale&quot;&gt;0&lt;/property&gt;
- &lt;child&gt;
- &lt;object class=&quot;GtkCheckButton&quot; id=&quot;Mp4iPodCompatible&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;iPod 5G Support&lt;/property&gt;
- &lt;property name=&quot;draw_indicator&quot;&gt;True&lt;/property&gt;
- &lt;signal handler=&quot;setting_widget_changed_cb&quot; name=&quot;toggled&quot;/&gt;
- &lt;/object&gt;
- &lt;/child&gt;
+ &lt;property name=&quot;draw_indicator&quot;&gt;True&lt;/property&gt;
+ &lt;signal name=&quot;toggled&quot; handler=&quot;setting_widget_changed_cb&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;left_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;right_attach&quot;&gt;2&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkCheckButton&quot; id=&quot;Mp4HttpOptimize&quot;&gt;
+ &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Web optimized&lt;/property&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;receives_default&quot;&gt;False&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Web optimized&lt;/property&gt;
- &lt;property name=&quot;tooltip-text&quot; translatable=&quot;yes&quot;&gt;Tunes the MP4 to be better suited for streaming&lt;/property&gt;
&lt;property name=&quot;draw_indicator&quot;&gt;True&lt;/property&gt;
- &lt;signal handler=&quot;http_opt_changed_cb&quot; name=&quot;toggled&quot;/&gt;
+ &lt;signal name=&quot;toggled&quot; handler=&quot;http_opt_changed_cb&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;position&quot;&gt;3&lt;/property&gt;
+ &lt;property name=&quot;top_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;bottom_attach&quot;&gt;2&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkCheckButton&quot; id=&quot;Mp4LargeFile&quot;&gt;
+ &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Large file size (&amp;gt;4GB)&lt;/property&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;receives_default&quot;&gt;False&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;tooltip-text&quot; translatable=&quot;yes&quot;&gt;Caution: This option will likely break device compatiblity with all but the AppleTV Take 2. Checking this box enables a 64 bit mp4 file which can be over 4 GB.&lt;/property&gt;
- &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;Large file size (&amp;gt;4GB)&lt;/property&gt;
&lt;property name=&quot;draw_indicator&quot;&gt;True&lt;/property&gt;
- &lt;signal handler=&quot;setting_widget_changed_cb&quot; name=&quot;toggled&quot;/&gt;
+ &lt;signal name=&quot;toggled&quot; handler=&quot;setting_widget_changed_cb&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;position&quot;&gt;4&lt;/property&gt;
+ &lt;property name=&quot;left_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;right_attach&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_attach&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;bottom_attach&quot;&gt;2&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;/object&gt;
&lt;packing&gt;
&lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;/object&gt;
@@ -831,7 +833,7 @@
&lt;/object&gt;
&lt;packing&gt;
&lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
- &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;/object&gt;
@@ -870,7 +872,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment9&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;child&gt;
@@ -996,7 +998,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment5&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -1121,7 +1123,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment7&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -1394,7 +1396,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment10&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;child&gt;
@@ -1713,7 +1715,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment18&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -1995,7 +1997,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignmentj01&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -2037,7 +2039,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignmentj02&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -2124,6 +2126,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment25&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;child&gt;
&lt;object class=&quot;GtkVBox&quot; id=&quot;vbox22&quot;&gt;
@@ -2203,7 +2206,7 @@
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment26&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -2433,7 +2436,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1&lt;/property&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment30&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -2654,7 +2657,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1&lt;/property&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment35&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -2921,7 +2924,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1&lt;/property&gt;
&lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkFrame&quot; id=&quot;presets_frame&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
&lt;property name=&quot;border_width&quot;&gt;3&lt;/property&gt;
&lt;property name=&quot;label_xalign&quot;&gt;0&lt;/property&gt;
@@ -2931,6 +2934,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1&lt;/property&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment21&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;8&lt;/property&gt;
&lt;child&gt;
&lt;object class=&quot;GtkVBox&quot; id=&quot;presets_vbox&quot;&gt;
@@ -3090,6 +3094,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1&lt;/property&gt;
&lt;/object&gt;
&lt;object class=&quot;GtkDialog&quot; id=&quot;prefs_dialog&quot;&gt;
&lt;property name=&quot;border_width&quot;&gt;5&lt;/property&gt;
+ &lt;property name=&quot;title&quot; translatable=&quot;yes&quot;&gt;Preferences&lt;/property&gt;
&lt;property name=&quot;modal&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;window_position&quot;&gt;GTK_WIN_POS_CENTER_ON_PARENT&lt;/property&gt;
&lt;property name=&quot;type_hint&quot;&gt;GDK_WINDOW_TYPE_HINT_DIALOG&lt;/property&gt;
@@ -3132,11 +3137,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1&lt;/property&gt;
&lt;/child&gt;
&lt;/object&gt;
&lt;/child&gt;
- &lt;child&gt;
- &lt;object class=&quot;GtkFrame&quot; id=&quot;frame16&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;label_xalign&quot;&gt;0&lt;/property&gt;
- &lt;property name=&quot;shadow_type&quot;&gt;GTK_SHADOW_ETCHED_OUT&lt;/property&gt;
+
&lt;child&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment6&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
@@ -3237,6 +3238,48 @@ location as the movie.&lt;/property&gt;
&lt;property name=&quot;position&quot;&gt;5&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
+
+ &lt;child&gt;
+ &lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment_j6&quot;&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;left_padding&quot;&gt;4&lt;/property&gt;
+ &lt;child&gt;
+ &lt;object class=&quot;GtkHBox&quot; id=&quot;hbox_j3&quot;&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;child&gt;
+ &lt;object class=&quot;GtkSpinButton&quot; id=&quot;preview_count&quot;&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;max_length&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;shadow_type&quot;&gt;none&lt;/property&gt;
+ &lt;property name=&quot;adjustment&quot;&gt;preview_count_adj&lt;/property&gt;
+ &lt;property name=&quot;numeric&quot;&gt;True&lt;/property&gt;
+ &lt;signal name=&quot;value_changed&quot; handler=&quot;pref_changed_cb&quot;/&gt;
+ &lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;0&lt;/property&gt;
+ &lt;/packing&gt;
+ &lt;/child&gt;
+ &lt;child&gt;
+ &lt;object class=&quot;GtkLabel&quot; id=&quot;label_j3&quot;&gt;
+ &lt;property name=&quot;justify&quot;&gt;GTK_JUSTIFY_LEFT&lt;/property&gt;
+ &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
+ &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt; Number of previews &lt;/property&gt;
+ &lt;property name=&quot;use_markup&quot;&gt;True&lt;/property&gt;
+ &lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;expand&quot;&gt;False&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
+ &lt;/packing&gt;
+ &lt;/child&gt;
+ &lt;/object&gt;
+ &lt;/child&gt;
+ &lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;position&quot;&gt;6&lt;/property&gt;
+ &lt;/packing&gt;
+ &lt;/child&gt;
&lt;child&gt;
&lt;object class=&quot;GtkCheckButton&quot; id=&quot;allow_tweaks&quot;&gt;
&lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
@@ -3245,7 +3288,7 @@ location as the movie.&lt;/property&gt;
&lt;signal name=&quot;toggled&quot; handler=&quot;tweaks_changed_cb&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;position&quot;&gt;6&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;7&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;child&gt;
@@ -3256,25 +3299,17 @@ location as the movie.&lt;/property&gt;
&lt;signal name=&quot;toggled&quot; handler=&quot;hbfd_feature_changed_cb&quot;/&gt;
&lt;/object&gt;
&lt;packing&gt;
- &lt;property name=&quot;position&quot;&gt;7&lt;/property&gt;
+ &lt;property name=&quot;position&quot;&gt;8&lt;/property&gt;
&lt;/packing&gt;
&lt;/child&gt;
&lt;/object&gt;
&lt;/child&gt;
&lt;/object&gt;
+ &lt;packing&gt;
+ &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
+ &lt;/packing&gt;
&lt;/child&gt;
- &lt;child type=&quot;label&quot;&gt;
- &lt;object class=&quot;GtkLabel&quot; id=&quot;label18&quot;&gt;
- &lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
- &lt;property name=&quot;label&quot; translatable=&quot;yes&quot;&gt;&amp;lt;b&amp;gt;Preferences&amp;lt;/b&amp;gt;&lt;/property&gt;
- &lt;property name=&quot;use_markup&quot;&gt;True&lt;/property&gt;
- &lt;/object&gt;
- &lt;/child&gt;
- &lt;/object&gt;
- &lt;packing&gt;
- &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
- &lt;/packing&gt;
- &lt;/child&gt;
+
&lt;/object&gt;
&lt;packing&gt;
&lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;
@@ -3457,7 +3492,7 @@ location as the movie.&lt;/property&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment36&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;4&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;4&lt;/property&gt;
@@ -3896,7 +3931,6 @@ location as the movie.&lt;/property&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;can_focus&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;max_length&quot;&gt;2&lt;/property&gt;
- &lt;property name=&quot;has_frame&quot;&gt;False&lt;/property&gt;
&lt;property name=&quot;shadow_type&quot;&gt;none&lt;/property&gt;
&lt;property name=&quot;adjustment&quot;&gt;adjustment19&lt;/property&gt;
&lt;property name=&quot;numeric&quot;&gt;True&lt;/property&gt;
@@ -4168,7 +4202,7 @@ location as the movie.&lt;/property&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment43&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;property name=&quot;right_padding&quot;&gt;2&lt;/property&gt;
@@ -4363,7 +4397,7 @@ the other to maintain the video&apos;s original aspect ratio.&lt;/property&gt;
&lt;object class=&quot;GtkAlignment&quot; id=&quot;alignment8&quot;&gt;
&lt;property name=&quot;visible&quot;&gt;True&lt;/property&gt;
&lt;property name=&quot;events&quot;&gt;GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK&lt;/property&gt;
- &lt;property name=&quot;top_padding&quot;&gt;2&lt;/property&gt;
+ &lt;property name=&quot;top_padding&quot;&gt;6&lt;/property&gt;
&lt;property name=&quot;bottom_padding&quot;&gt;2&lt;/property&gt;
&lt;property name=&quot;left_padding&quot;&gt;12&lt;/property&gt;
&lt;child&gt;
@@ -5178,6 +5212,8 @@ R2RrUAAABBgBAQACAAAAQAAAABAAAAAQ////AP///wD///8A////AP///wD///8A////AP///wD///8A
<false />
<key>noscale</key>
<false />
+ <key>preview_count</key>
+ <integer>10</integer>
<key>reduce_hd_preview</key>
<true />
<key>show_presets</key>