summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-07-13 14:54:29 +0000
committerjstebbins <[email protected]>2009-07-13 14:54:29 +0000
commit9174ed21203f39a912dae84ee2d7e2a549ade773 (patch)
tree291f3bf18de44ecf07b7bc6893b21e4d53cab517 /gtk/src
parent59e07f6e61c2f924ef491f1bbb52ef3a064a98e3 (diff)
LinGui: rearrange the preset menu a bit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2690 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/ghb.ui49
-rw-r--r--gtk/src/presets.c2
2 files changed, 27 insertions, 24 deletions
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui
index cff7f43e1..f5015376b 100644
--- a/gtk/src/ghb.ui
+++ b/gtk/src/ghb.ui
@@ -462,32 +462,23 @@
<object class="GtkMenu" id="presets_menu">
<child>
- <object class="GtkImageMenuItem" id="presets_new_folder">
- <property name="label" translatable="yes">New _Folder</property>
- <property name="use-underline">True</property>
- <property name="visible">True</property>
- <property name="use_stock">True</property>
- <property name="image">image11</property>
- <signal name="activate" handler="presets_new_folder_clicked_cb"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="presets_save">
- <property name="label">_Save Preset</property>
+ <object class="GtkImageMenuItem" id="presets_default">
+ <property name="label">_Make Default</property>
<property name="image">image12</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
- <signal name="activate" handler="presets_save_clicked_cb"/>
+ <signal name="activate" handler="presets_default_clicked_cb"/>
</object>
</child>
<child>
- <object class="GtkImageMenuItem" id="presets_remove">
- <property name="label">gtk-delete</property>
+ <object class="GtkImageMenuItem" id="presets_new_folder">
+ <property name="label" translatable="yes">New _Folder</property>
+ <property name="use-underline">True</property>
<property name="visible">True</property>
- <property name="use_underline">True</property>
<property name="use_stock">True</property>
- <signal name="activate" handler="presets_remove_clicked_cb"/>
+ <property name="image">image11</property>
+ <signal name="activate" handler="presets_new_folder_clicked_cb"/>
</object>
</child>
<child>
@@ -3542,14 +3533,26 @@ no-dct-decimate=0:cabac=1</property>
<property name="show_arrow">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<child>
- <object class="GtkToolButton" id="presets_default">
+ <object class="GtkToolButton" id="presets_save">
+ <property name="visible">True</property>
+ <property name="sensitive">True</property>
+ <property name="is_important">True</property>
+ <property name="tooltip-text" translatable="yes">Save current settings to new preset.</property>
+ <property name="icon_name">gtk-save</property>
+ <signal name="clicked" handler="presets_save_clicked_cb"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="presets_remove">
<property name="visible">True</property>
<property name="sensitive">True</property>
<property name="is_important">True</property>
- <property name="label" translatable="yes">Default</property>
- <property name="tooltip-text" translatable="yes">Make the current preset the default.</property>
- <property name="icon_name">gtk-apply</property>
- <signal handler="presets_default_clicked_cb" name="clicked"/>
+ <property name="tooltip-text" translatable="yes">Delete the currently selected preset.</property>
+ <property name="icon_name">gtk-delete</property>
+ <signal name="clicked" handler="presets_remove_clicked_cb"/>
</object>
<packing>
<property name="expand">False</property>
@@ -6570,7 +6573,7 @@ libx264 authors:
</object>
<object class="GtkImage" id="image12">
<property name="visible">True</property>
- <property name="stock">gtk-save</property>
+ <property name="stock">gtk-apply</property>
</object>
<object class="GtkImage" id="image13">
<property name="visible">True</property>
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index c11b9994a..f3d26c7aa 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -3152,7 +3152,7 @@ preset_import_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
g_debug("preset_import_clicked_cb ()");
- dialog = gtk_file_chooser_dialog_new("Export Preset", NULL,
+ dialog = gtk_file_chooser_dialog_new("Import Preset", NULL,
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,