myserver-commit
[Top][All Lists]
Advanced

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

[myserver-commit] [2907] Moved things a bit


From: Ignacy Moryc
Subject: [myserver-commit] [2907] Moved things a bit
Date: Sun, 26 Oct 2008 08:28:40 +0000

Revision: 2907
          http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2907
Author:   ignacy
Date:     2008-10-26 08:28:39 +0000 (Sun, 26 Oct 2008)

Log Message:
-----------
Moved things a bit

Modified Paths:
--------------
    trunk/misc/PyGTK_Control/ConfigGUI.py
    trunk/misc/PyGTK_Control/XMLGui.glade

Modified: trunk/misc/PyGTK_Control/ConfigGUI.py
===================================================================
--- trunk/misc/PyGTK_Control/ConfigGUI.py       2008-10-25 21:44:04 UTC (rev 
2906)
+++ trunk/misc/PyGTK_Control/ConfigGUI.py       2008-10-26 08:28:39 UTC (rev 
2907)
@@ -37,8 +37,8 @@
     def __init__(self):
 
         # Connect the Glade file
-        self.gladefile = "XMLGui.glade"
-        self.wTree = gtk.glade.XML(self.gladefile)
+        gladefile = "XMLGui.glade"
+        self.wTree = gtk.glade.XML(gladefile)
 
         # Bind main window
         self.window = self.wTree.get_widget("ConfigUI")
@@ -47,12 +47,12 @@
             self.window.connect("destroy", gtk.main_quit)
 
         # Here we call the methods creating widgets with functionality
-        self.create_treeview_for_default_filenames
-        self.create_treeview_for_host_names
-        self.create_treeview_for_IP_addresses
-        self.create_a_combobox_for_connection_types
-        self.create_treeview_with_MIME_types
-        self.bind_signals
+        self.create_treeview_for_default_filenames()
+        self.create_treeview_for_host_names()
+        self.create_treeview_for_IP_addresses()
+        self.create_a_combobox_for_connection_types()
+        self.create_treeview_with_MIME_types()
+        self.bind_signals()
 
     def create_treeview_for_default_filenames(self):
         """ Create treeview widget structure (one column) for default 
filenames """
@@ -287,6 +287,13 @@
         dia.destroy()
         return name
 
+    def run(self):
+        gtk.main()
+
+def main():
+    app = ConfigGUIGTK()
+    app.run()
+
 if __name__ == "__main__":
-    ConfigUI = ConfigGUIGTK()
-    gtk.main()
+    main()
+

Modified: trunk/misc/PyGTK_Control/XMLGui.glade
===================================================================
--- trunk/misc/PyGTK_Control/XMLGui.glade       2008-10-25 21:44:04 UTC (rev 
2906)
+++ trunk/misc/PyGTK_Control/XMLGui.glade       2008-10-26 08:28:39 UTC (rev 
2907)
@@ -5,6 +5,7 @@
   <widget class="GtkWindow" id="ConfigUI">
     <property name="visible">True</property>
     <property name="title" translatable="yes">Myserver configuration 
tool</property>
+    <property name="resizable">False</property>
     <property name="icon">MyServer Configure.ico</property>
     <child>
       <widget class="GtkVBox" id="vbox1">
@@ -280,155 +281,155 @@
                         <property name="n_rows">6</property>
                         <property name="n_columns">2</property>
                         <child>
-                          <widget class="GtkComboBox" id="combobox2">
+                          <widget class="GtkLabel" id="label7">
                             <property name="visible">True</property>
-                            <property name="items" 
translatable="yes">german.xml
-itliano.xml
-russian_koi8r.xml
-brazilian.xml
-french.xml
-russian.xml
-english.xml
-romnaa.xml
-spnish.xml
-
-</property>
+                            <property name="label" translatable="yes">Memory 
buffer (in bytes):</property>
+                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
                           </widget>
-                          <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
-                            <property name="top_attach">5</property>
-                            <property name="bottom_attach">6</property>
-                            <property name="y_options"></property>
-                          </packing>
                         </child>
                         <child>
-                          <widget class="GtkComboBox" id="cbVerbosityLevel">
+                          <widget class="GtkLabel" id="label8">
                             <property name="visible">True</property>
-                            <property name="items" translatable="yes">None
-Normal
-Higher
-Highest</property>
+                            <property name="label" 
translatable="yes">Verbosity level:</property>
+                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
                             <property name="top_attach">1</property>
                             <property name="bottom_attach">2</property>
-                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" 
id="enMaximumNumberOfThreads">
+                          <widget class="GtkLabel" id="label9">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">200</property>
+                            <property name="label" translatable="yes">Max log 
file size (in bytes):</property>
+                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
-                            <property name="top_attach">4</property>
-                            <property name="bottom_attach">5</property>
+                            <property name="top_attach">2</property>
+                            <property name="bottom_attach">3</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" id="enAlwysActiveThreads">
+                          <widget class="GtkLabel" id="label10">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">5</property>
+                            <property name="label" translatable="yes">Always 
active threads:</property>
+                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
                             <property name="top_attach">3</property>
                             <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" id="enMaxLogFileSize">
+                          <widget class="GtkLabel" id="label11">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">1048576</property>
+                            <property name="label" translatable="yes">Maximum 
number of threads:</property>
+                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
-                            <property name="top_attach">2</property>
-                            <property name="bottom_attach">3</property>
+                            <property name="top_attach">4</property>
+                            <property name="bottom_attach">5</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" id="enMemoryBuffer">
+                          <widget class="GtkLabel" id="label12">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">102400</property>
+                            <property name="label" 
translatable="yes">Language:</property>
+                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
+                            <property name="top_attach">5</property>
+                            <property name="bottom_attach">6</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label12">
+                          <widget class="GtkEntry" id="enMemoryBuffer">
                             <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Language:</property>
-                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
+                            <property name="can_focus">True</property>
+                            <property name="text" 
translatable="yes">102400</property>
                           </widget>
                           <packing>
-                            <property name="top_attach">5</property>
-                            <property name="bottom_attach">6</property>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label11">
+                          <widget class="GtkEntry" id="enMaxLogFileSize">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">Maximum 
number of threads:</property>
-                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
+                            <property name="can_focus">True</property>
+                            <property name="text" 
translatable="yes">1048576</property>
                           </widget>
                           <packing>
-                            <property name="top_attach">4</property>
-                            <property name="bottom_attach">5</property>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
+                            <property name="top_attach">2</property>
+                            <property name="bottom_attach">3</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label10">
+                          <widget class="GtkEntry" id="enAlwysActiveThreads">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">Always 
active threads:</property>
-                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
+                            <property name="can_focus">True</property>
+                            <property name="text" 
translatable="yes">5</property>
                           </widget>
                           <packing>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
                             <property name="top_attach">3</property>
                             <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label9">
+                          <widget class="GtkEntry" 
id="enMaximumNumberOfThreads">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">Max log 
file size (in bytes):</property>
-                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
+                            <property name="can_focus">True</property>
+                            <property name="text" 
translatable="yes">200</property>
                           </widget>
                           <packing>
-                            <property name="top_attach">2</property>
-                            <property name="bottom_attach">3</property>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
+                            <property name="top_attach">4</property>
+                            <property name="bottom_attach">5</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label8">
+                          <widget class="GtkComboBox" id="cbVerbosityLevel">
                             <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Verbosity level:</property>
-                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
+                            <property name="items" translatable="yes">None
+Normal
+Higher
+Highest</property>
                           </widget>
                           <packing>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
                             <property name="top_attach">1</property>
                             <property name="bottom_attach">2</property>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label7">
+                          <widget class="GtkComboBox" id="combobox2">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">Memory 
buffer (in bytes):</property>
-                            <property 
name="justify">GTK_JUSTIFY_RIGHT</property>
+                            <property name="items" 
translatable="yes">german.xml
+itliano.xml
+russian_koi8r.xml
+brazilian.xml
+french.xml
+russian.xml
+english.xml
+romnaa.xml
+spnish.xml
+
+</property>
                           </widget>
+                          <packing>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
+                            <property name="top_attach">5</property>
+                            <property name="bottom_attach">6</property>
+                            <property name="y_options"></property>
+                          </packing>
                         </child>
                       </widget>
                       <packing>
@@ -472,50 +473,59 @@
                           <placeholder/>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label13">
+                          <widget class="GtkFileChooserButton" 
id="filechooserbutton1">
                             <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Connection time-out (in sec):</property>
+                            <property name="title" 
translatable="yes">Browse..</property>
+                            <property name="width_chars">7</property>
+                            <signal name="file_set" 
handler="on_filechooserbutton1_file_set"/>
                           </widget>
-                        </child>
-                        <child>
-                          <widget class="GtkLabel" id="label14">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">Max 
connections:</property>
-                          </widget>
                           <packing>
-                            <property name="top_attach">1</property>
-                            <property name="bottom_attach">2</property>
+                            <property name="left_attach">2</property>
+                            <property name="right_attach">3</property>
+                            <property name="top_attach">3</property>
+                            <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label15">
+                          <widget class="GtkCheckButton" id="checkbutton1">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">Gzip 
compression threshold (in bytes):</property>
+                            <property name="can_focus">True</property>
+                            <property name="label" 
translatable="yes">Personalized error pages:</property>
+                            <property name="use_underline">True</property>
+                            <property name="response_id">0</property>
+                            <property name="draw_indicator">True</property>
                           </widget>
                           <packing>
-                            <property name="top_attach">2</property>
-                            <property name="bottom_attach">3</property>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
+                            <property name="top_attach">4</property>
+                            <property name="bottom_attach">5</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label16">
+                          <widget class="GtkEntry" id="enStylesheet">
                             <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Stylesheet</property>
+                            <property name="can_focus">True</property>
+                            <property name="text" 
translatable="yes">/sys/css/browsestyle.css</property>
                           </widget>
                           <packing>
+                            <property name="left_attach">1</property>
+                            <property name="right_attach">2</property>
                             <property name="top_attach">3</property>
                             <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" id="enConnectionTimeOut">
+                          <widget class="GtkEntry" 
id="enGzipCompressionThreshold">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">60</property>
+                            <property name="text" 
translatable="yes">1048576</property>
                           </widget>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
+                            <property name="top_attach">2</property>
+                            <property name="bottom_attach">3</property>
                           </packing>
                         </child>
                         <child>
@@ -532,61 +542,52 @@
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" 
id="enGzipCompressionThreshold">
+                          <widget class="GtkEntry" id="enConnectionTimeOut">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">1048576</property>
+                            <property name="text" 
translatable="yes">60</property>
                           </widget>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">2</property>
-                            <property name="bottom_attach">3</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkEntry" id="enStylesheet">
+                          <widget class="GtkLabel" id="label16">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">/sys/css/browsestyle.css</property>
+                            <property name="label" 
translatable="yes">Stylesheet</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
                             <property name="top_attach">3</property>
                             <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkCheckButton" id="checkbutton1">
+                          <widget class="GtkLabel" id="label15">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="label" 
translatable="yes">Personalized error pages:</property>
-                            <property name="use_underline">True</property>
-                            <property name="response_id">0</property>
-                            <property name="draw_indicator">True</property>
+                            <property name="label" translatable="yes">Gzip 
compression threshold (in bytes):</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
-                            <property name="top_attach">4</property>
-                            <property name="bottom_attach">5</property>
+                            <property name="top_attach">2</property>
+                            <property name="bottom_attach">3</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkFileChooserButton" 
id="filechooserbutton1">
+                          <widget class="GtkLabel" id="label14">
                             <property name="visible">True</property>
-                            <property name="title" 
translatable="yes">Browse..</property>
-                            <property name="width_chars">7</property>
-                            <signal name="file_set" 
handler="on_filechooserbutton1_file_set"/>
+                            <property name="label" translatable="yes">Max 
connections:</property>
                           </widget>
                           <packing>
-                            <property name="left_attach">2</property>
-                            <property name="right_attach">3</property>
-                            <property name="top_attach">3</property>
-                            <property name="bottom_attach">4</property>
+                            <property name="top_attach">1</property>
+                            <property name="bottom_attach">2</property>
                           </packing>
                         </child>
+                        <child>
+                          <widget class="GtkLabel" id="label13">
+                            <property name="visible">True</property>
+                            <property name="label" 
translatable="yes">Connection time-out (in sec):</property>
+                          </widget>
+                        </child>
                       </widget>
                     </child>
                     <child>
@@ -738,51 +739,51 @@
                           <placeholder/>
                         </child>
                         <child>
-                          <widget class="GtkEntry" id="enManager">
+                          <widget class="GtkButton" id="btnAddMIMEType">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="text" 
translatable="yes">NONE</property>
+                            <property name="label">gtk-add</property>
+                            <property name="use_stock">True</property>
+                            <property name="response_id">0</property>
+                            <signal name="clicked" 
handler="on_btnAddMIMEType_clicked"/>
                           </widget>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">3</property>
-                            <property name="bottom_attach">4</property>
+                            <property name="top_attach">1</property>
+                            <property name="bottom_attach">2</property>
+                            <property name="x_options"></property>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label21">
+                          <widget class="GtkFileChooserButton" 
id="filechooserbutton2">
                             <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Manager:</property>
+                            <property name="title" 
translatable="yes">Browse..</property>
+                            <property name="width_chars">7</property>
+                            <signal name="file_set" 
handler="on_filechooserbutton2_file_set"/>
                           </widget>
                           <packing>
-                            <property name="top_attach">3</property>
-                            <property name="bottom_attach">4</property>
+                            <property name="top_attach">4</property>
+                            <property name="bottom_attach">5</property>
+                            <property name="x_options"></property>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkComboBox" id="cbAction">
+                          <widget class="GtkLabel" id="label19">
                             <property name="visible">True</property>
-                            <property name="row_span_column">1</property>
+                            <property name="label" translatable="yes">MIME 
Type:</property>
+                          </widget>
+                        </child>
+                        <child>
+                          <widget class="GtkComboBox" id="combobox3">
+                            <property name="visible">True</property>
                             <property name="active">0</property>
-                            <property name="items" translatable="yes">Send the 
file
-URL link
-Run as CGI
-Run as FastCGI
-Run as SCGI
-Run as ISAPI
-Run as MSCGI
-Run as WINCGI
-Execute
-Execute as an ISAPI module
-Execute self contined FastCGI
-Run self contained SCGI</property>
                           </widget>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">2</property>
-                            <property name="bottom_attach">3</property>
                             <property name="y_options"></property>
                           </packing>
                         </child>
@@ -797,52 +798,52 @@
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkComboBox" id="combobox3">
+                          <widget class="GtkComboBox" id="cbAction">
                             <property name="visible">True</property>
+                            <property name="row_span_column">1</property>
                             <property name="active">0</property>
+                            <property name="items" translatable="yes">Send the 
file
+URL link
+Run as CGI
+Run as FastCGI
+Run as SCGI
+Run as ISAPI
+Run as MSCGI
+Run as WINCGI
+Execute
+Execute as an ISAPI module
+Execute self contined FastCGI
+Run self contained SCGI</property>
                           </widget>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
+                            <property name="top_attach">2</property>
+                            <property name="bottom_attach">3</property>
                             <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkLabel" id="label19">
+                          <widget class="GtkLabel" id="label21">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">MIME 
Type:</property>
+                            <property name="label" 
translatable="yes">Manager:</property>
                           </widget>
-                        </child>
-                        <child>
-                          <widget class="GtkFileChooserButton" 
id="filechooserbutton2">
-                            <property name="visible">True</property>
-                            <property name="title" 
translatable="yes">Browse..</property>
-                            <property name="width_chars">7</property>
-                            <signal name="file_set" 
handler="on_filechooserbutton2_file_set"/>
-                          </widget>
                           <packing>
-                            <property name="top_attach">4</property>
-                            <property name="bottom_attach">5</property>
-                            <property name="x_options"></property>
-                            <property name="y_options"></property>
+                            <property name="top_attach">3</property>
+                            <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkButton" id="btnAddMIMEType">
+                          <widget class="GtkEntry" id="enManager">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="label">gtk-add</property>
-                            <property name="use_stock">True</property>
-                            <property name="response_id">0</property>
-                            <signal name="clicked" 
handler="on_btnAddMIMEType_clicked"/>
+                            <property name="text" 
translatable="yes">NONE</property>
                           </widget>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">1</property>
-                            <property name="bottom_attach">2</property>
-                            <property name="x_options"></property>
-                            <property name="y_options"></property>
+                            <property name="top_attach">3</property>
+                            <property name="bottom_attach">4</property>
                           </packing>
                         </child>
                       </widget>
@@ -1027,6 +1028,7 @@
                                     <property 
name="preview_widget_active">False</property>
                                   </widget>
                                   <packing>
+                                    <property name="expand">False</property>
                                     <property name="position">1</property>
                                   </packing>
                                 </child>
@@ -1054,6 +1056,7 @@
                                     <property 
name="preview_widget_active">False</property>
                                   </widget>
                                   <packing>
+                                    <property name="expand">False</property>
                                     <property name="position">1</property>
                                   </packing>
                                 </child>
@@ -1111,16 +1114,19 @@
                               <widget class="GtkVBox" id="vbox12">
                                 <property name="visible">True</property>
                                 <child>
-                                  <placeholder/>
-                                </child>
-                                <child>
                                   <widget class="GtkTreeView" 
id="treeviewHost">
                                     <property name="visible">True</property>
                                     <property 
name="app_paintable">True</property>
                                     <property name="can_focus">True</property>
                                     <property 
name="headers_clickable">True</property>
                                   </widget>
+                                </child>
+                                <child>
+                                  <widget class="GtkHSeparator" 
id="hseparator2">
+                                    <property name="visible">True</property>
+                                  </widget>
                                   <packing>
+                                    <property name="expand">False</property>
                                     <property name="position">1</property>
                                   </packing>
                                 </child>
@@ -1137,9 +1143,6 @@
                                         <property 
name="response_id">0</property>
                                         <signal name="clicked" 
handler="on_btnAddHost_clicked"/>
                                       </widget>
-                                      <packing>
-                                        <property 
name="expand">False</property>
-                                      </packing>
                                     </child>
                                     <child>
                                       <widget class="GtkButton" 
id="btnRemoveHost">
@@ -1151,7 +1154,7 @@
                                         <signal name="clicked" 
handler="on_btnRemoveHost_clicked"/>
                                       </widget>
                                       <packing>
-                                        <property 
name="expand">False</property>
+                                        <property 
name="pack_type">GTK_PACK_END</property>
                                         <property name="position">1</property>
                                       </packing>
                                     </child>
@@ -1166,15 +1169,18 @@
                               <widget class="GtkVBox" id="vbox15">
                                 <property name="visible">True</property>
                                 <child>
-                                  <placeholder/>
-                                </child>
-                                <child>
                                   <widget class="GtkTreeView" id="treeviewIP">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
                                     <property 
name="headers_clickable">True</property>
                                   </widget>
+                                </child>
+                                <child>
+                                  <widget class="GtkHSeparator" 
id="hseparator3">
+                                    <property name="visible">True</property>
+                                  </widget>
                                   <packing>
+                                    <property name="expand">False</property>
                                     <property name="position">1</property>
                                   </packing>
                                 </child>
@@ -1452,6 +1458,8 @@
                                     <property 
name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
                                   </widget>
                                   <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">False</property>
                                     <property name="position">2</property>
                                   </packing>
                                 </child>
@@ -1475,6 +1483,8 @@
                                     <property 
name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
                                   </widget>
                                   <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">False</property>
                                     <property name="position">2</property>
                                   </packing>
                                 </child>
@@ -1591,38 +1601,29 @@
                       <placeholder/>
                     </child>
                     <child>
-                      <widget class="GtkEntry" id="entry12">
+                      <widget class="GtkLabel" id="label29">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">Administrtor 
e-mail:</property>
                       </widget>
-                      <packing>
-                        <property name="left_attach">1</property>
-                        <property name="right_attach">2</property>
-                        <property name="top_attach">2</property>
-                        <property name="bottom_attach">3</property>
-                      </packing>
                     </child>
                     <child>
-                      <widget class="GtkEntry" id="entry11">
+                      <widget class="GtkLabel" id="label30">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
+                        <property name="label" 
translatable="yes">Administrator user name:</property>
                       </widget>
                       <packing>
-                        <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>
-                      <widget class="GtkEntry" id="entry10">
+                      <widget class="GtkLabel" id="label31">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="text" 
translatable="yes">address@hidden</property>
+                        <property name="label" translatable="yes">Administrtor 
password:</property>
                       </widget>
                       <packing>
-                        <property name="left_attach">1</property>
-                        <property name="right_attach">2</property>
+                        <property name="top_attach">2</property>
+                        <property name="bottom_attach">3</property>
                       </packing>
                     </child>
                     <child>
@@ -1642,30 +1643,39 @@
                       </packing>
                     </child>
                     <child>
-                      <widget class="GtkLabel" id="label31">
+                      <widget class="GtkEntry" id="entry10">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">Administrtor 
password:</property>
+                        <property name="can_focus">True</property>
+                        <property name="text" 
translatable="yes">address@hidden</property>
                       </widget>
                       <packing>
-                        <property name="top_attach">2</property>
-                        <property name="bottom_attach">3</property>
+                        <property name="left_attach">1</property>
+                        <property name="right_attach">2</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="GtkLabel" id="label30">
+                      <widget class="GtkEntry" id="entry11">
                         <property name="visible">True</property>
-                        <property name="label" 
translatable="yes">Administrator user name:</property>
+                        <property name="can_focus">True</property>
                       </widget>
                       <packing>
+                        <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>
-                      <widget class="GtkLabel" id="label29">
+                      <widget class="GtkEntry" id="entry12">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">Administrtor 
e-mail:</property>
+                        <property name="can_focus">True</property>
                       </widget>
+                      <packing>
+                        <property name="left_attach">1</property>
+                        <property name="right_attach">2</property>
+                        <property name="top_attach">2</property>
+                        <property name="bottom_attach">3</property>
+                      </packing>
                     </child>
                   </widget>
                   <packing>
@@ -1793,4 +1803,7 @@
       </widget>
     </child>
   </widget>
+  <widget class="GtkMenu" id="menu1">
+    <property name="visible">True</property>
+  </widget>
 </glade-interface>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]