* doc-src/glade.txt
authorChristoph Hohmann <reboot@gmx.ch>
Wed, 7 May 2003 11:03:04 +0000 (11:03 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Wed, 7 May 2003 11:03:04 +0000 (11:03 +0000)
* src/gtk/pluginwindow.glade
* src/plugins/image_viewer/viewerprefs.glade
* src/plugins/spamassassin/spamassassin_gtk.glade
        add glade files for user interfaces and a description how
        to use glade to create the sylpheed code

ChangeLog.claws
doc/src/glade.txt [new file with mode: 0644]
src/gtk/pluginwindow.glade [new file with mode: 0644]
src/plugins/image_viewer/viewerprefs.glade [new file with mode: 0644]
src/plugins/spamassassin/spamassassin_gtk.glade [new file with mode: 0644]

index 460aae6daa11334f1494d03306947534eb0e77d7..9808435944d11fd19fa74da8a51a19eba9e6f4b1 100644 (file)
@@ -1,3 +1,12 @@
+2003-05-07 [christoph]
+
+       * doc-src/glade.txt
+       * src/gtk/pluginwindow.glade
+       * src/plugins/image_viewer/viewerprefs.glade
+       * src/plugins/spamassassin/spamassassin_gtk.glade
+               add glade files for user interfaces and a description how
+               to use glade to create the sylpheed code
+
 2003-05-07 [paul]      0.8.11claws146
 
        * sync with 0.8.11cvs41
 2003-05-07 [paul]      0.8.11claws146
 
        * sync with 0.8.11cvs41
diff --git a/doc/src/glade.txt b/doc/src/glade.txt
new file mode 100644 (file)
index 0000000..f65f231
--- /dev/null
@@ -0,0 +1,40 @@
+Using glade to create interfaces for Sylpheed
+---------------------------------------------
+
+Sylpheed is not a glade project and so it cannot use the directory and
+file structure that is created by glade directly. Glade is only used to
+design the user interface and write most of the GTK code.
+
+To create a part of the Sylpheed user interface ,create a new window in
+glade and put all the widgets that you need into it. Glade always wants
+to have its glade file in the project directory where it creates the
+files, so its better to do this in a temporary directory. After saving
+the C source copy the GTK code from the create_<WINDOWNAME>() function to
+your own code in Sylpheed. Remove the code that is actually creating the
+window and the function call that adds the top widget to the window. Also
+remove all calls to gtk_widget_ref() and gtk_object_set_data_full(). To
+make it to replace the glade part it is probably better to leave the rest
+untouched. If you put the copied part at the beginning of your function
+you can keep the function calls and the variable declarations in one part.
+As it is done in other parts of Sylpheed, you can define a struct for
+your window that uses the widgets created by glade and remembers all of
+the widgets that you need using pointers in the struct. You can simply
+assign the widget pointers to your struct members after the glade block.
+
+To make glade's code match Sylpheed's coding style you can use the indent
+command with the -kr and -i8 parameters on the interface.c file before
+you copy the code.
+
+To make it easy to find which glade file contains the widget description
+for the code contained in a C file its probably good to copy the glade
+file from the temporary directory to a file with the same name as the
+C file with a ".glade" suffix instead of ".c". If you want to change an
+existing user interface you can either copy the glade file to a temporary
+directory or open it directly and change the project directory in glade
+to a temporary directory, because, otherwise, glade will write all its
+project stuff into the Sylpheed source directory. Don't forget to copy
+the modified file back after you saved your user interface in glade.
+
+If you want to use different composite widgets in one C file you should
+use multiple windows in glade to create them and then copy them one by
+one to your own code.
diff --git a/src/gtk/pluginwindow.glade b/src/gtk/pluginwindow.glade
new file mode 100644 (file)
index 0000000..418e38f
--- /dev/null
@@ -0,0 +1,186 @@
+<?xml version="1.0"?>
+<GTK-Interface>
+
+<project>
+  <name>sylpheed-claws</name>
+  <program_name>sylpheed-claws</program_name>
+  <directory></directory>
+  <source_directory>src</source_directory>
+  <pixmaps_directory>pixmaps</pixmaps_directory>
+  <language>C</language>
+  <gnome_support>False</gnome_support>
+  <gettext_support>True</gettext_support>
+</project>
+
+<widget>
+  <class>GtkWindow</class>
+  <name>pluginwindow</name>
+  <border_width>8</border_width>
+  <title>Plugins</title>
+  <type>GTK_WINDOW_TOPLEVEL</type>
+  <position>GTK_WIN_POS_CENTER</position>
+  <modal>True</modal>
+  <allow_shrink>False</allow_shrink>
+  <allow_grow>True</allow_grow>
+  <auto_shrink>False</auto_shrink>
+
+  <widget>
+    <class>GtkVBox</class>
+    <name>vbox1</name>
+    <homogeneous>False</homogeneous>
+    <spacing>4</spacing>
+
+    <widget>
+      <class>GtkHBox</class>
+      <name>hbox2</name>
+      <homogeneous>False</homogeneous>
+      <spacing>8</spacing>
+      <child>
+       <padding>0</padding>
+       <expand>True</expand>
+       <fill>True</fill>
+      </child>
+
+      <widget>
+       <class>GtkScrolledWindow</class>
+       <name>scrolledwindow2</name>
+       <hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
+       <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
+       <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
+       <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
+       <child>
+         <padding>0</padding>
+         <expand>True</expand>
+         <fill>True</fill>
+       </child>
+
+       <widget>
+         <class>GtkCList</class>
+         <name>plugins_list</name>
+         <can_focus>True</can_focus>
+         <columns>1</columns>
+         <column_widths>80</column_widths>
+         <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
+         <show_titles>True</show_titles>
+         <shadow_type>GTK_SHADOW_IN</shadow_type>
+
+         <widget>
+           <class>GtkLabel</class>
+           <child_name>CList:title</child_name>
+           <name>label12</name>
+           <label>Plugins</label>
+           <justify>GTK_JUSTIFY_LEFT</justify>
+           <wrap>False</wrap>
+           <xalign>0</xalign>
+           <yalign>0.5</yalign>
+           <xpad>0</xpad>
+           <ypad>0</ypad>
+         </widget>
+       </widget>
+      </widget>
+
+      <widget>
+       <class>GtkVBox</class>
+       <name>vbox2</name>
+       <homogeneous>False</homogeneous>
+       <spacing>0</spacing>
+       <child>
+         <padding>0</padding>
+         <expand>True</expand>
+         <fill>True</fill>
+       </child>
+
+       <widget>
+         <class>GtkFrame</class>
+         <name>frame2</name>
+         <label_xalign>0</label_xalign>
+         <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
+         <child>
+           <padding>0</padding>
+           <expand>False</expand>
+           <fill>True</fill>
+         </child>
+
+         <widget>
+           <class>GtkLabel</class>
+           <name>label13</name>
+           <label>Description</label>
+           <justify>GTK_JUSTIFY_CENTER</justify>
+           <wrap>False</wrap>
+           <xalign>0</xalign>
+           <yalign>0.5</yalign>
+           <xpad>2</xpad>
+           <ypad>2</ypad>
+         </widget>
+       </widget>
+
+       <widget>
+         <class>GtkScrolledWindow</class>
+         <name>scrolledwindow3</name>
+         <hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
+         <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
+         <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
+         <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
+         <child>
+           <padding>0</padding>
+           <expand>True</expand>
+           <fill>True</fill>
+         </child>
+
+         <widget>
+           <class>GtkText</class>
+           <name>plugin_desc</name>
+           <can_focus>True</can_focus>
+           <editable>False</editable>
+           <text></text>
+         </widget>
+       </widget>
+      </widget>
+    </widget>
+
+    <widget>
+      <class>GtkHButtonBox</class>
+      <name>hbuttonbox1</name>
+      <layout_style>GTK_BUTTONBOX_END</layout_style>
+      <spacing>0</spacing>
+      <child_min_width>85</child_min_width>
+      <child_min_height>27</child_min_height>
+      <child_ipad_x>7</child_ipad_x>
+      <child_ipad_y>0</child_ipad_y>
+      <child>
+       <padding>0</padding>
+       <expand>False</expand>
+       <fill>False</fill>
+      </child>
+
+      <widget>
+       <class>GtkButton</class>
+       <name>load_btn</name>
+       <can_default>True</can_default>
+       <can_focus>True</can_focus>
+       <label>Load Plugin</label>
+       <relief>GTK_RELIEF_NORMAL</relief>
+      </widget>
+
+      <widget>
+       <class>GtkButton</class>
+       <name>unload_btn</name>
+       <can_default>True</can_default>
+       <can_focus>True</can_focus>
+       <label>Unload Plugin</label>
+       <relief>GTK_RELIEF_NORMAL</relief>
+      </widget>
+
+      <widget>
+       <class>GtkButton</class>
+       <name>close_btn</name>
+       <can_default>True</can_default>
+       <can_focus>True</can_focus>
+       <label>Close</label>
+       <relief>GTK_RELIEF_NORMAL</relief>
+      </widget>
+    </widget>
+  </widget>
+</widget>
+
+</GTK-Interface>
diff --git a/src/plugins/image_viewer/viewerprefs.glade b/src/plugins/image_viewer/viewerprefs.glade
new file mode 100644 (file)
index 0000000..9501349
--- /dev/null
@@ -0,0 +1,136 @@
+<?xml version="1.0"?>
+<GTK-Interface>
+
+<project>
+  <name>sylpheed-claws</name>
+  <program_name>sylpheed-claws</program_name>
+  <directory></directory>
+  <source_directory>src</source_directory>
+  <pixmaps_directory>pixmaps</pixmaps_directory>
+  <language>C</language>
+  <gnome_support>False</gnome_support>
+  <gettext_support>True</gettext_support>
+</project>
+
+<widget>
+  <class>GtkWindow</class>
+  <name>imageviewer</name>
+  <title>imageviewer</title>
+  <type>GTK_WINDOW_TOPLEVEL</type>
+  <position>GTK_WIN_POS_NONE</position>
+  <modal>False</modal>
+  <allow_shrink>False</allow_shrink>
+  <allow_grow>True</allow_grow>
+  <auto_shrink>False</auto_shrink>
+
+  <widget>
+    <class>GtkTable</class>
+    <name>table2</name>
+    <border_width>8</border_width>
+    <rows>2</rows>
+    <columns>2</columns>
+    <homogeneous>False</homogeneous>
+    <row_spacing>4</row_spacing>
+    <column_spacing>8</column_spacing>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label14</name>
+      <label>Automatically display attached images</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>0</top_attach>
+       <bottom_attach>1</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label15</name>
+      <label>Resize attached images</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>1</top_attach>
+       <bottom_attach>2</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkCheckButton</class>
+      <name>autoload</name>
+      <can_focus>True</can_focus>
+      <label></label>
+      <active>False</active>
+      <draw_indicator>True</draw_indicator>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>0</top_attach>
+       <bottom_attach>1</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkCheckButton</class>
+      <name>resize</name>
+      <can_focus>True</can_focus>
+      <label></label>
+      <active>False</active>
+      <draw_indicator>True</draw_indicator>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>1</top_attach>
+       <bottom_attach>2</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+  </widget>
+</widget>
+
+</GTK-Interface>
diff --git a/src/plugins/spamassassin/spamassassin_gtk.glade b/src/plugins/spamassassin/spamassassin_gtk.glade
new file mode 100644 (file)
index 0000000..9f70df6
--- /dev/null
@@ -0,0 +1,436 @@
+<?xml version="1.0"?>
+<GTK-Interface>
+
+<project>
+  <name>sylpheed-claws</name>
+  <program_name>sylpheed-claws</program_name>
+  <directory></directory>
+  <source_directory>src</source_directory>
+  <pixmaps_directory>pixmaps</pixmaps_directory>
+  <language>C</language>
+  <gnome_support>False</gnome_support>
+  <gettext_support>True</gettext_support>
+</project>
+
+<widget>
+  <class>GtkWindow</class>
+  <name>spamassassin</name>
+  <title>spamassassin</title>
+  <type>GTK_WINDOW_TOPLEVEL</type>
+  <position>GTK_WIN_POS_NONE</position>
+  <modal>False</modal>
+  <allow_shrink>False</allow_shrink>
+  <allow_grow>True</allow_grow>
+  <auto_shrink>False</auto_shrink>
+
+  <widget>
+    <class>GtkTable</class>
+    <name>table1</name>
+    <border_width>8</border_width>
+    <rows>6</rows>
+    <columns>3</columns>
+    <homogeneous>False</homogeneous>
+    <row_spacing>4</row_spacing>
+    <column_spacing>8</column_spacing>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label3</name>
+      <label>Enable SpamAssassin Filtering</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>0</top_attach>
+       <bottom_attach>1</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label4</name>
+      <label>SpamAssassin Server (spamd)</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>1</top_attach>
+       <bottom_attach>2</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label6</name>
+      <label>Maximum Message Size</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>2</top_attach>
+       <bottom_attach>3</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label8</name>
+      <label>Folder for saved Spam</label>
+      <justify>GTK_JUSTIFY_LEFT</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>4</top_attach>
+       <bottom_attach>5</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label9</name>
+      <label>Receive Spam</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>0</left_attach>
+       <right_attach>1</right_attach>
+       <top_attach>3</top_attach>
+       <bottom_attach>4</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkHBox</class>
+      <name>hbox1</name>
+      <homogeneous>False</homogeneous>
+      <spacing>0</spacing>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>1</top_attach>
+       <bottom_attach>2</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>True</yfill>
+      </child>
+
+      <widget>
+       <class>GtkEntry</class>
+       <name>hostname</name>
+       <can_focus>True</can_focus>
+       <editable>True</editable>
+       <text_visible>True</text_visible>
+       <text_max_length>0</text_max_length>
+       <text></text>
+       <child>
+         <padding>0</padding>
+         <expand>True</expand>
+         <fill>True</fill>
+       </child>
+      </widget>
+
+      <widget>
+       <class>GtkLabel</class>
+       <name>label5</name>
+       <label>:</label>
+       <justify>GTK_JUSTIFY_CENTER</justify>
+       <wrap>False</wrap>
+       <xalign>0.5</xalign>
+       <yalign>0.5</yalign>
+       <xpad>8</xpad>
+       <ypad>0</ypad>
+       <child>
+         <padding>0</padding>
+         <expand>False</expand>
+         <fill>False</fill>
+       </child>
+      </widget>
+
+      <widget>
+       <class>GtkSpinButton</class>
+       <name>port</name>
+       <width>64</width>
+       <can_focus>True</can_focus>
+       <climb_rate>1</climb_rate>
+       <digits>0</digits>
+       <numeric>True</numeric>
+       <update_policy>GTK_UPDATE_ALWAYS</update_policy>
+       <snap>False</snap>
+       <wrap>False</wrap>
+       <value>783</value>
+       <lower>1</lower>
+       <upper>65535</upper>
+       <step>1</step>
+       <page>10</page>
+       <page_size>10</page_size>
+       <child>
+         <padding>0</padding>
+         <expand>False</expand>
+         <fill>True</fill>
+         <pack>GTK_PACK_END</pack>
+       </child>
+      </widget>
+    </widget>
+
+    <widget>
+      <class>GtkCheckButton</class>
+      <name>enable</name>
+      <can_focus>True</can_focus>
+      <label></label>
+      <active>False</active>
+      <draw_indicator>True</draw_indicator>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>0</top_attach>
+       <bottom_attach>1</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkCheckButton</class>
+      <name>receive_spam</name>
+      <can_focus>True</can_focus>
+      <label></label>
+      <active>False</active>
+      <draw_indicator>True</draw_indicator>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>3</top_attach>
+       <bottom_attach>4</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label10</name>
+      <label>Leave empty to use the default trash folder</label>
+      <justify>GTK_JUSTIFY_RIGHT</justify>
+      <wrap>False</wrap>
+      <xalign>1</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>5</top_attach>
+       <bottom_attach>6</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkEntry</class>
+      <name>save_folder</name>
+      <can_focus>True</can_focus>
+      <editable>True</editable>
+      <text_visible>True</text_visible>
+      <text_max_length>0</text_max_length>
+      <text></text>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>4</top_attach>
+       <bottom_attach>5</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkButton</class>
+      <name>button4</name>
+      <can_focus>True</can_focus>
+      <label>...</label>
+      <relief>GTK_RELIEF_NORMAL</relief>
+      <child>
+       <left_attach>2</left_attach>
+       <right_attach>3</right_attach>
+       <top_attach>4</top_attach>
+       <bottom_attach>5</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>True</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkLabel</class>
+      <name>label11</name>
+      <label>kB</label>
+      <justify>GTK_JUSTIFY_CENTER</justify>
+      <wrap>False</wrap>
+      <xalign>0</xalign>
+      <yalign>0.5</yalign>
+      <xpad>0</xpad>
+      <ypad>0</ypad>
+      <child>
+       <left_attach>2</left_attach>
+       <right_attach>3</right_attach>
+       <top_attach>2</top_attach>
+       <bottom_attach>3</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>False</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>False</yfill>
+      </child>
+    </widget>
+
+    <widget>
+      <class>GtkHBox</class>
+      <name>hbox3</name>
+      <homogeneous>False</homogeneous>
+      <spacing>0</spacing>
+      <child>
+       <left_attach>1</left_attach>
+       <right_attach>2</right_attach>
+       <top_attach>2</top_attach>
+       <bottom_attach>3</bottom_attach>
+       <xpad>0</xpad>
+       <ypad>0</ypad>
+       <xexpand>True</xexpand>
+       <yexpand>False</yexpand>
+       <xshrink>False</xshrink>
+       <yshrink>False</yshrink>
+       <xfill>True</xfill>
+       <yfill>True</yfill>
+      </child>
+
+      <widget>
+       <class>GtkSpinButton</class>
+       <name>max_size</name>
+       <width>64</width>
+       <can_focus>True</can_focus>
+       <climb_rate>1</climb_rate>
+       <digits>0</digits>
+       <numeric>True</numeric>
+       <update_policy>GTK_UPDATE_ALWAYS</update_policy>
+       <snap>False</snap>
+       <wrap>False</wrap>
+       <value>250</value>
+       <lower>0</lower>
+       <upper>10000</upper>
+       <step>10</step>
+       <page>10</page>
+       <page_size>10</page_size>
+       <child>
+         <padding>0</padding>
+         <expand>False</expand>
+         <fill>True</fill>
+         <pack>GTK_PACK_END</pack>
+       </child>
+      </widget>
+    </widget>
+  </widget>
+</widget>
+
+</GTK-Interface>