diff options
author | jstebbins <[email protected]> | 2008-11-30 04:01:14 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-11-30 04:01:14 +0000 |
commit | 98e27438a5fc1d977c16539f89507ca82dce903f (patch) | |
tree | 45b1fdc375ec812141d1a409c8c0b27e1a0b8882 /gtk/src/ghb.ui | |
parent | 69f6bca6694d93d05a69bad93a748cf31d52c28f (diff) |
LinGui: variable number of preview frames. preference option to set
the number of frames
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1971 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghb.ui')
-rw-r--r-- | gtk/src/ghb.ui | 274 |
1 files changed, 154 insertions, 120 deletions
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 (>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 (>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"><b>Preferences</b></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> |