[f-spot] Port Folder export to GtkBuilder



commit 7d1e4a7161056f9c7cb1072114781f655ce060ab
Author: Paul Lange <palango gmx de>
Date:   Thu Aug 12 17:06:43 2010 +0200

    Port Folder export to GtkBuilder
    
    https://bugzilla.gnome.org/show_bug.cgi?id=626741

 po/POTFILES.in                                     |    2 +-
 .../FSpot.Exporters.Folder.csproj                  |    6 +-
 .../FSpot.Exporters.Folder/FolderExport.cs         |   39 ++--
 .../Exporters/FSpot.Exporters.Folder/Makefile.am   |    2 +-
 .../{FolderExport.glade => folder_export.ui}       |  209 ++++++++++----------
 5 files changed, 127 insertions(+), 131 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4ef68e5..0e76357 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -102,7 +102,7 @@ src/Extensions/Exporters/FSpot.Exporters.Facebook/FSpot.Exporters.Facebook/Faceb
 src/Extensions/Exporters/FSpot.Exporters.Flickr/FSpot.Exporters.Flickr/FlickrExport.cs
 [type: gettext/glade]src/Extensions/Exporters/FSpot.Exporters.Flickr/Resources/flickr_export.ui
 src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
-[type: gettext/glade]src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/FolderExport.glade
+[type: gettext/glade]src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/folder_export.ui
 src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/FormClient.cs
 src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryExport.cs
 src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryRemote.cs
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj
index 9f2c94e..75f14de 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj
@@ -38,9 +38,6 @@
     <EmbeddedResource Include="Resources\f-spot.js">
       <LogicalName>f-spot.js</LogicalName>
     </EmbeddedResource>
-    <EmbeddedResource Include="Resources\FolderExport.glade">
-      <LogicalName>FolderExport.glade</LogicalName>
-    </EmbeddedResource>
     <EmbeddedResource Include="Resources\f-spot-simple.css">
       <LogicalName>f-spot-simple.css</LogicalName>
     </EmbeddedResource>
@@ -50,6 +47,9 @@
     <EmbeddedResource Include="Resources\FolderExport.addin.xml">
       <LogicalName>FolderExport.addin.xml</LogicalName>
     </EmbeddedResource>
+    <EmbeddedResource Include="Resources\folder_export.ui">
+      <LogicalName>folder_export.ui</LogicalName>
+    </EmbeddedResource>
   </ItemGroup>
   <ProjectExtensions>
     <MonoDevelop>
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
index 8cef453..32ab8a5 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
+++ b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
@@ -43,24 +43,23 @@ namespace FSpot.Exporters.Folder {
 	public class FolderExport : FSpot.Extensions.IExporter {
 		IBrowsableCollection selection;
 
-		[Glade.Widget] Gtk.Dialog dialog;
-		[Glade.Widget] Gtk.ScrolledWindow thumb_scrolledwindow;
-		[Glade.Widget] Gtk.Entry name_entry;
-		[Glade.Widget] Gtk.Entry description_entry;
+		[GtkBeans.Builder.Object] Gtk.Dialog dialog;
+		[GtkBeans.Builder.Object] Gtk.ScrolledWindow thumb_scrolledwindow;
+		[GtkBeans.Builder.Object] Gtk.Entry name_entry;
+		[GtkBeans.Builder.Object] Gtk.Entry description_entry;
 
-		//[Glade.Widget] Gtk.CheckButton meta_check;
-		[Glade.Widget] Gtk.CheckButton scale_check;
-		[Glade.Widget] Gtk.CheckButton export_tags_check;
-		[Glade.Widget] Gtk.CheckButton export_tag_icons_check;
-		[Glade.Widget] Gtk.CheckButton open_check;
+		[GtkBeans.Builder.Object] Gtk.CheckButton scale_check;
+		[GtkBeans.Builder.Object] Gtk.CheckButton export_tags_check;
+		[GtkBeans.Builder.Object] Gtk.CheckButton export_tag_icons_check;
+		[GtkBeans.Builder.Object] Gtk.CheckButton open_check;
 
-		[Glade.Widget] Gtk.RadioButton static_radio;
-		[Glade.Widget] Gtk.RadioButton original_radio;
-		[Glade.Widget] Gtk.RadioButton plain_radio;
+		[GtkBeans.Builder.Object] Gtk.RadioButton static_radio;
+		[GtkBeans.Builder.Object] Gtk.RadioButton original_radio;
+		[GtkBeans.Builder.Object] Gtk.RadioButton plain_radio;
 
-		[Glade.Widget] Gtk.SpinButton size_spin;
+		[GtkBeans.Builder.Object] Gtk.SpinButton size_spin;
 
-		[Glade.Widget] Gtk.HBox chooser_hbox;
+		[GtkBeans.Builder.Object] Gtk.HBox chooser_hbox;
 
 		public const string EXPORT_SERVICE = "folder/";
 		public const string SCALE_KEY = Preferences.APP_FSPOT_EXPORT + EXPORT_SERVICE + "scale";
@@ -73,7 +72,7 @@ namespace FSpot.Exporters.Folder {
 		public const string SHARPEN_KEY = Preferences.APP_FSPOT_EXPORT + EXPORT_SERVICE + "sharpen";
 		public const string INCLUDE_TARBALLS_KEY = Preferences.APP_FSPOT_EXPORT + EXPORT_SERVICE + "include_tarballs";
 
-		private Glade.XML xml;
+		private GtkBeans.Builder builder;
 		private string dialog_name = "folder_export_dialog";
 		GLib.File dest;
 		Gtk.FileChooserButton uri_chooser;
@@ -92,8 +91,8 @@ namespace FSpot.Exporters.Folder {
 		ThreadProgressDialog progress_dialog;
 		System.Threading.Thread command_thread;
 
-		public FolderExport ()
-		{}
+		public FolderExport () {}
+
 		public void Run (IBrowsableCollection selection)
 		{
 			this.selection = selection;
@@ -102,8 +101,8 @@ namespace FSpot.Exporters.Folder {
 			view.DisplayDates = false;
 			view.DisplayTags = false;
 
-			xml = new Glade.XML (null, "FolderExport.glade", dialog_name, "f-spot");
-			xml.Autoconnect (this);
+			builder = new GtkBeans.Builder (null, "folder_export.ui", null);
+			builder.Autoconnect (this);
 			Dialog.Modal = false;
 			Dialog.TransientFor = null;
 
@@ -358,7 +357,7 @@ namespace FSpot.Exporters.Folder {
 		private Gtk.Dialog Dialog {
 			get {
 				if (dialog == null)
-					dialog = (Gtk.Dialog) xml.GetWidget (dialog_name);
+					dialog = new Gtk.Dialog (builder.GetRawObject (dialog_name));
 
 				return dialog;
 			}
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Folder/Makefile.am b/src/Extensions/Exporters/FSpot.Exporters.Folder/Makefile.am
index 115d01f..285637e 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Folder/Makefile.am
+++ b/src/Extensions/Exporters/FSpot.Exporters.Folder/Makefile.am
@@ -6,8 +6,8 @@ INSTALL_DIR = $(EXTENSIONS_INSTALL_DIR)
 SOURCES = FSpot.Exporters.Folder/FolderExport.cs
 
 RESOURCES =  \
+	Resources/folder_export.ui \
 	Resources/FolderExport.addin.xml \
-	Resources/FolderExport.glade \
 	Resources/f-spot.js \
 	Resources/f-spot-simple.css \
 	Resources/f-spot-simple-white.css
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/FolderExport.glade b/src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/folder_export.ui
similarity index 82%
rename from src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/FolderExport.glade
rename to src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/folder_export.ui
index 66f3d98..7043bc5 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/FolderExport.glade
+++ b/src/Extensions/Exporters/FSpot.Exporters.Folder/Resources/folder_export.ui
@@ -1,30 +1,30 @@
 <?xml version="1.0"?>
-<glade-interface>
-  <!-- interface-requires gtk+ 2.6 -->
+<interface>
+  <!-- interface-requires gtk+ 2.12 -->
   <!-- interface-naming-policy toplevel-contextual -->
-  <widget class="GtkDialog" id="folder_export_dialog">
+  <object class="GtkDialog" id="folder_export_dialog">
     <property name="title" translatable="yes">Folder Export</property>
     <property name="type_hint">dialog</property>
     <property name="has_separator">False</property>
     <child internal-child="vbox">
-      <widget class="GtkVBox" id="vbox55">
+      <object class="GtkVBox" id="vbox55">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <child>
-          <widget class="GtkHBox" id="hbox48">
+          <object class="GtkHBox" id="hbox48">
             <property name="visible">True</property>
             <property name="border_width">6</property>
             <child>
-              <widget class="GtkFrame" id="frame37">
+              <object class="GtkFrame" id="frame37">
                 <property name="visible">True</property>
                 <property name="label_xalign">0</property>
                 <property name="shadow_type">none</property>
                 <child>
-                  <widget class="GtkAlignment" id="alignment41">
+                  <object class="GtkAlignment" id="alignment41">
                     <property name="visible">True</property>
                     <property name="left_padding">12</property>
                     <child>
-                      <widget class="GtkScrolledWindow" id="thumb_scrolledwindow">
+                      <object class="GtkScrolledWindow" id="thumb_scrolledwindow">
                         <property name="width_request">180</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
@@ -34,70 +34,67 @@
                         <child>
                           <placeholder/>
                         </child>
-                      </widget>
+                      </object>
                     </child>
-                  </widget>
+                  </object>
                 </child>
-                <child>
-                  <widget class="GtkLabel" id="label139">
+                <child type="label">
+                  <object class="GtkLabel" id="label139">
                     <property name="visible">True</property>
                     <property name="label" translatable="yes">&lt;b&gt;Photos&lt;/b&gt;</property>
                     <property name="use_markup">True</property>
-                  </widget>
-                  <packing>
-                    <property name="type">label_item</property>
-                  </packing>
+                  </object>
                 </child>
-              </widget>
+              </object>
               <packing>
                 <property name="position">0</property>
               </packing>
             </child>
             <child>
-              <widget class="GtkVBox" id="vbox56">
+              <object class="GtkVBox" id="vbox56">
                 <property name="visible">True</property>
                 <property name="orientation">vertical</property>
                 <property name="spacing">6</property>
                 <child>
-                  <widget class="GtkFrame" id="frame38">
+                  <object class="GtkFrame" id="frame38">
                     <property name="visible">True</property>
                     <property name="label_xalign">0</property>
                     <property name="shadow_type">none</property>
                     <child>
-                      <widget class="GtkAlignment" id="alignment42">
+                      <object class="GtkAlignment" id="alignment42">
                         <property name="visible">True</property>
                         <property name="left_padding">12</property>
                         <child>
-                          <widget class="GtkVBox" id="vbox57">
+                          <object class="GtkVBox" id="vbox57">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
                             <property name="spacing">6</property>
                             <child>
-                              <widget class="GtkTable" id="table17">
+                              <object class="GtkTable" id="table17">
                                 <property name="visible">True</property>
                                 <property name="n_rows">3</property>
                                 <property name="n_columns">2</property>
                                 <property name="column_spacing">6</property>
                                 <property name="row_spacing">6</property>
                                 <child>
-                                  <widget class="GtkLabel" id="label140">
+                                  <object class="GtkLabel" id="label140">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
                                     <property name="label" translatable="yes">_Folder:</property>
                                     <property name="use_underline">True</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="x_options">GTK_FILL</property>
                                     <property name="y_options"></property>
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label141">
+                                  <object class="GtkLabel" id="label141">
                                     <property name="visible">True</property>
                                     <property name="label" translatable="yes">G_allery Name:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">name_entry</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="top_attach">1</property>
                                     <property name="bottom_attach">2</property>
@@ -106,10 +103,10 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkEntry" id="name_entry">
+                                  <object class="GtkEntry" id="name_entry">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="left_attach">1</property>
                                     <property name="right_attach">2</property>
@@ -119,7 +116,7 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkHBox" id="chooser_hbox">
+                                  <object class="GtkHBox" id="chooser_hbox">
                                     <property name="visible">True</property>
                                     <property name="spacing">6</property>
                                     <child>
@@ -128,7 +125,7 @@
                                     <child>
                                       <placeholder/>
                                     </child>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="left_attach">1</property>
                                     <property name="right_attach">2</property>
@@ -137,10 +134,10 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkEntry" id="description_entry">
+                                  <object class="GtkEntry" id="description_entry">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="left_attach">1</property>
                                     <property name="right_attach">2</property>
@@ -150,12 +147,12 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label150">
+                                  <object class="GtkLabel" id="label150">
                                     <property name="visible">True</property>
                                     <property name="label" translatable="yes">D_escription:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">description_entry</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="top_attach">2</property>
                                     <property name="bottom_attach">3</property>
@@ -163,13 +160,13 @@
                                     <property name="y_options"></property>
                                   </packing>
                                 </child>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="position">0</property>
                               </packing>
                             </child>
                             <child>
-                              <widget class="GtkCheckButton" id="open_check">
+                              <object class="GtkCheckButton" id="open_check">
                                 <property name="label" translatable="yes">Open _destination when done exporting</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
@@ -177,7 +174,7 @@
                                 <property name="use_underline">True</property>
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
@@ -185,32 +182,29 @@
                               </packing>
                             </child>
                             <child>
-                              <widget class="GtkLabel" id="label142">
+                              <object class="GtkLabel" id="label142">
                                 <property name="visible">True</property>
                                 <property name="label">
 </property>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
                                 <property name="position">2</property>
                               </packing>
                             </child>
-                          </widget>
+                          </object>
                         </child>
-                      </widget>
+                      </object>
                     </child>
-                    <child>
-                      <widget class="GtkLabel" id="label143">
+                    <child type="label">
+                      <object class="GtkLabel" id="label143">
                         <property name="visible">True</property>
                         <property name="label" translatable="yes">&lt;b&gt;Destination&lt;/b&gt;</property>
                         <property name="use_markup">True</property>
-                      </widget>
-                      <packing>
-                        <property name="type">label_item</property>
-                      </packing>
+                      </object>
                     </child>
-                  </widget>
+                  </object>
                   <packing>
                     <property name="expand">False</property>
                     <property name="fill">False</property>
@@ -218,21 +212,21 @@
                   </packing>
                 </child>
                 <child>
-                  <widget class="GtkFrame" id="frame40">
+                  <object class="GtkFrame" id="frame40">
                     <property name="visible">True</property>
                     <property name="label_xalign">0</property>
                     <property name="shadow_type">none</property>
                     <child>
-                      <widget class="GtkAlignment" id="alignment47">
+                      <object class="GtkAlignment" id="alignment47">
                         <property name="visible">True</property>
                         <property name="left_padding">12</property>
                         <child>
-                          <widget class="GtkVBox" id="vbox61">
+                          <object class="GtkVBox" id="vbox61">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
                             <property name="spacing">6</property>
                             <child>
-                              <widget class="GtkRadioButton" id="static_radio">
+                              <object class="GtkRadioButton" id="static_radio">
                                 <property name="label" translatable="yes">Create standalone _web gallery</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
@@ -241,7 +235,7 @@
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
                                 <signal name="toggled" handler="HandleStandaloneActive"/>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
@@ -249,7 +243,7 @@
                               </packing>
                             </child>
                             <child>
-                              <widget class="GtkRadioButton" id="plain_radio">
+                              <object class="GtkRadioButton" id="plain_radio">
                                 <property name="label" translatable="yes">_Save the files only</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
@@ -257,7 +251,7 @@
                                 <property name="use_underline">True</property>
                                 <property name="draw_indicator">True</property>
                                 <property name="group">static_radio</property>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
@@ -265,7 +259,7 @@
                               </packing>
                             </child>
                             <child>
-                              <widget class="GtkRadioButton" id="original_radio">
+                              <object class="GtkRadioButton" id="original_radio">
                                 <property name="label" translatable="yes">Create _gallery using "Original"</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
@@ -273,28 +267,25 @@
                                 <property name="use_underline">True</property>
                                 <property name="draw_indicator">True</property>
                                 <property name="group">static_radio</property>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="expand">False</property>
                                 <property name="fill">False</property>
                                 <property name="position">2</property>
                               </packing>
                             </child>
-                          </widget>
+                          </object>
                         </child>
-                      </widget>
+                      </object>
                     </child>
-                    <child>
-                      <widget class="GtkLabel" id="label151">
+                    <child type="label">
+                      <object class="GtkLabel" id="label151">
                         <property name="visible">True</property>
                         <property name="label" translatable="yes">&lt;b&gt;Export Method&lt;/b&gt;</property>
                         <property name="use_markup">True</property>
-                      </widget>
-                      <packing>
-                        <property name="type">label_item</property>
-                      </packing>
+                      </object>
                     </child>
-                  </widget>
+                  </object>
                   <packing>
                     <property name="expand">False</property>
                     <property name="fill">False</property>
@@ -302,24 +293,24 @@
                   </packing>
                 </child>
                 <child>
-                  <widget class="GtkFrame" id="frame39">
+                  <object class="GtkFrame" id="frame39">
                     <property name="visible">True</property>
                     <property name="label_xalign">0</property>
                     <property name="shadow_type">none</property>
                     <child>
-                      <widget class="GtkAlignment" id="alignment43">
+                      <object class="GtkAlignment" id="alignment43">
                         <property name="visible">True</property>
                         <property name="left_padding">12</property>
                         <child>
-                          <widget class="GtkVBox" id="vbox58">
+                          <object class="GtkVBox" id="vbox58">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
                             <property name="spacing">6</property>
                             <child>
-                              <widget class="GtkHBox" id="hbox49">
+                              <object class="GtkHBox" id="hbox49">
                                 <property name="visible">True</property>
                                 <child>
-                                  <widget class="GtkCheckButton" id="scale_check">
+                                  <object class="GtkCheckButton" id="scale_check">
                                     <property name="label" translatable="yes">_Resize to: </property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
@@ -327,7 +318,7 @@
                                     <property name="use_underline">True</property>
                                     <property name="draw_indicator">True</property>
                                     <signal name="toggled" handler="HandleSizeActive"/>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="expand">False</property>
                                     <property name="fill">False</property>
@@ -335,12 +326,12 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkSpinButton" id="size_spin">
+                                  <object class="GtkSpinButton" id="size_spin">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="adjustment">400 0 10000 1 10 10</property>
+                                    <property name="adjustment">adjustment1</property>
                                     <property name="climb_rate">1</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="expand">False</property>
                                     <property name="fill">False</property>
@@ -348,26 +339,26 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label144">
+                                  <object class="GtkLabel" id="label144">
                                     <property name="visible">True</property>
                                     <property name="label" translatable="yes">pixels</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="expand">False</property>
                                     <property name="fill">False</property>
                                     <property name="position">2</property>
                                   </packing>
                                 </child>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="position">0</property>
                               </packing>
                             </child>
                             <child>
-                              <widget class="GtkHBox" id="hbox1">
+                              <object class="GtkHBox" id="hbox1">
                                 <property name="visible">True</property>
                                 <child>
-                                  <widget class="GtkCheckButton" id="export_tags_check">
+                                  <object class="GtkCheckButton" id="export_tags_check">
                                     <property name="label" translatable="yes">Export _tags</property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
@@ -377,7 +368,7 @@
                                     <property name="active">True</property>
                                     <property name="draw_indicator">True</property>
                                     <signal name="toggled" handler="HandleExportTagsActive"/>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="expand">False</property>
                                     <property name="fill">False</property>
@@ -385,7 +376,7 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkCheckButton" id="export_tag_icons_check">
+                                  <object class="GtkCheckButton" id="export_tag_icons_check">
                                     <property name="label" translatable="yes">Export tag _icons</property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
@@ -393,61 +384,57 @@
                                     <property name="use_underline">True</property>
                                     <property name="active">True</property>
                                     <property name="draw_indicator">True</property>
-                                  </widget>
+                                  </object>
                                   <packing>
                                     <property name="expand">False</property>
                                     <property name="fill">False</property>
                                     <property name="position">1</property>
                                   </packing>
                                 </child>
-                              </widget>
+                              </object>
                               <packing>
                                 <property name="position">1</property>
                               </packing>
                             </child>
-                          </widget>
+                          </object>
                         </child>
-                      </widget>
+                      </object>
                     </child>
-                    <child>
-                      <widget class="GtkLabel" id="label145">
+                    <child type="label">
+                      <object class="GtkLabel" id="label145">
                         <property name="visible">True</property>
                         <property name="label" translatable="yes">&lt;b&gt;Style&lt;/b&gt;</property>
                         <property name="use_markup">True</property>
-                      </widget>
-                      <packing>
-                        <property name="type">label_item</property>
-                      </packing>
+                      </object>
                     </child>
-                  </widget>
+                  </object>
                   <packing>
                     <property name="position">2</property>
                   </packing>
                 </child>
-              </widget>
+              </object>
               <packing>
                 <property name="position">1</property>
               </packing>
             </child>
-          </widget>
+          </object>
           <packing>
             <property name="position">1</property>
           </packing>
         </child>
         <child internal-child="action_area">
-          <widget class="GtkHButtonBox" id="hbuttonbox9">
+          <object class="GtkHButtonBox" id="hbuttonbox9">
             <property name="visible">True</property>
             <property name="layout_style">end</property>
             <child>
-              <widget class="GtkButton" id="button20">
+              <object class="GtkButton" id="button20">
                 <property name="label">gtk-cancel</property>
-                <property name="response_id">-6</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>
                 <property name="receives_default">False</property>
                 <property name="use_stock">True</property>
-              </widget>
+              </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
@@ -455,29 +442,39 @@
               </packing>
             </child>
             <child>
-              <widget class="GtkButton" id="export_button">
+              <object class="GtkButton" id="export_button">
                 <property name="label" translatable="yes">_Export</property>
-                <property name="response_id">-5</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>
                 <property name="receives_default">False</property>
                 <property name="use_underline">True</property>
-              </widget>
+              </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">1</property>
               </packing>
             </child>
-          </widget>
+          </object>
           <packing>
             <property name="expand">False</property>
             <property name="pack_type">end</property>
             <property name="position">0</property>
           </packing>
         </child>
-      </widget>
+      </object>
     </child>
-  </widget>
-</glade-interface>
+    <action-widgets>
+      <action-widget response="-6">button20</action-widget>
+      <action-widget response="-5">export_button</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkAdjustment" id="adjustment1">
+    <property name="value">400</property>
+    <property name="upper">10000</property>
+    <property name="step_increment">1</property>
+    <property name="page_increment">10</property>
+    <property name="page_size">10</property>
+  </object>
+</interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]