From b69a2ae27d28eba72585246bc810de0ea0d33886 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 26 Nov 2008 16:23:23 +0000 Subject: LinGui: add a file chooser button for the dest directory. dest file is separated with its own entry box. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1955 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/resource_data.h | 129 +++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 85 deletions(-) (limited to 'gtk/src/resource_data.h') diff --git a/gtk/src/resource_data.h b/gtk/src/resource_data.h index a6fe4794e..7631d0249 100644 --- a/gtk/src/resource_data.h +++ b/gtk/src/resource_data.h @@ -1078,9 +1078,33 @@ "quot;hbox6">\n" " <property name="visible"&g" "t;True</property>\n" +" <property name="spacing"&g" +"t;5</property>\n" +"\n" +"\n" +"\n" +"\n" +" <child>\n" +" <object class="GtkFileChooser" +"Button" id="dest_dir">\n" +" <property name="visible&quo" +"t;>True</property>\n" +" <property name="action"" +";>select-folder</property>\n" +" <property name="title"" +" translatable="yes">Destination Directory</property>" +"\n" +" <signal name="selection_cha" +"nged" handler="dest_dir_set_cb"/>\n" +" </object>\n" +" <packing>\n" +" <property name="position&qu" +"ot;>0</property>\n" +" </packing>\n" +" </child>\n" " <child>\n" " <object class="GtkLabel"" -" id="label8">\n" +" id="label18">\n" " <property name="visible&quo" "t;>True</property>\n" " <property name="label"" @@ -1091,107 +1115,38 @@ ";>False</property>\n" " <property name="fill"&" "gt;False</property>\n" +" <property name="position&qu" +"ot;>1</property>\n" " </packing>\n" " </child>\n" " <child>\n" " <object class="GtkEntry"" -" id="destination">\n" +" id="dest_file">\n" " <property name="visible&quo" "t;>True</property>\n" " <property name="can_focus&q" "uot;>True</property>\n" -" <property name="tooltip-tex" -"t" translatable="yes">Destination path with file name" -" for output.</property>\n" " <property name="width_chars" -"">41</property>\n" -" <signal handler="destinatio" -"n_entry_changed_cb" name="changed"/>\n" -" <signal handler="destinatio" -"n_grab_cb" name="grab-focus" after="yes"/>\n" +"">20</property>\n" " <accelerator key="d" s" "ignal="grab-focus" modifiers="GDK_MOD1_MASK"/>\n" +" <signal name="changed"" +" handler="dest_file_changed_cb"/>\n" +" <signal name="grab_focus&qu" +"ot; handler="destination_grab_cb" after="yes"/>\n" " </object>\n" " <packing>\n" " <property name="position&qu" -"ot;>1</property>\n" -" </packing>\n" -" </child>\n" -" <child>\n" -" <object class="GtkButton"" -"; id="destination_browse">\n" -" <property name="visible&quo" -"t;>True</property>\n" -" <property name="can_focus&q" -"uot;>True</property>\n" -" <property name="relief"" -";>GTK_RELIEF_NONE</property>\n" -" <signal handler="destinatio" -"n_browse_clicked_cb" name="clicked"/>\n" -" <child>\n" -" <object class="GtkAlignme" -"nt" id="alignment4">\n" -" <property name="visible" -"">True</property>\n" -" <property name="xscale&" -"quot;>0</property>\n" -" <property name="yscale&" -"quot;>0</property>\n" -" <child>\n" -" <object class="GtkHBo" -"x" id="hbox7">\n" -" <property name="vis" -"ible">True</property>\n" -" <property name="spa" -"cing">2</property>\n" -" <child>\n" -" <object class="Gt" -"kImage" id="image2">\n" -" <property name="" -";visible">True</property>\n" -" <property name="" -";stock">gtk-open</property>\n" -" </object>\n" -" <packing>\n" -" <property name="" -";expand">False</property>\n" -" <property name="" -";fill">False</property>\n" -" </packing>\n" -" </child>\n" -" <child>\n" -" <object class="Gt" -"kLabel" id="label9">\n" -" <property name="" -";visible">True</property>\n" -" <property name="" -";label" translatable="yes">Browse</property>\n" -" <property name="" -";use_underline">True</property>\n" -" </object>\n" -" <packing>\n" -" <property name="" -";expand">False</property>\n" -" <property name="" -";fill">False</property>\n" -" <property name="" -";position">1</property>\n" -" </packing>\n" -" </child>\n" -" </object>\n" -" </child>\n" -" </object>\n" -" </child>\n" -" </object>\n" -" <packing>\n" -" <property name="expand"" -";>False</property>\n" -" <property name="fill"&" -"gt;False</property>\n" -" <property name="position&qu" "ot;>2</property>\n" " </packing>\n" " </child>\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" " </object>\n" " </child>\n" " <child>\n" @@ -10576,6 +10531,10 @@ " \n" " autoscale\n" " \n" +" dest_dir\n" +" \n" +" dest_file\n" +" new_video.mp4\n" " end_chapter\n" " 100\n" " folder\n" -- cgit v1.2.3