myserver-commit
[Top][All Lists]
Advanced

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

[myserver-commit] [2976] Saving settings works.


From: Ignacy Moryc
Subject: [myserver-commit] [2976] Saving settings works.
Date: Sat, 06 Dec 2008 17:10:17 +0000

Revision: 2976
          http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2976
Author:   ignacy
Date:     2008-12-06 17:10:17 +0000 (Sat, 06 Dec 2008)

Log Message:
-----------
Saving settings works. Need to add defult vlues

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

Removed Paths:
-------------
    trunk/misc/PyGTK_Control/TODO

Modified: trunk/misc/PyGTK_Control/ConfigGUI.py
===================================================================
--- trunk/misc/PyGTK_Control/ConfigGUI.py       2008-12-04 18:49:52 UTC (rev 
2975)
+++ trunk/misc/PyGTK_Control/ConfigGUI.py       2008-12-06 17:10:17 UTC (rev 
2976)
@@ -185,7 +185,9 @@
                 "on_btnRemoveHost_clicked" : \
                 self.btnRemoveHost_clicked,
                 "on_btnRemoveIP_clicked" : \
-                self.btnRemoveIP_clicked
+                self.btnRemoveIP_clicked,
+                "on_save_activate" : \
+                self.serialize_config
                 }
         # Connect signals
         self.wTree.signal_autoconnect (dic)
@@ -294,12 +296,24 @@
         """ Helper/alias function returns widgetwith specified name """
         return self.wTree.get_widget(name)
 
-    def serialize_config(self):
+    def save_dict_to_xml(self, d, filename="settings.xml"):
+        """ Saves dictionary (with settings) to a XML file"""
+        out = ""
+        for k, v in d.iteritems():
+            out += "<" + k.__str__() + ">"
+            out += v.__str__()
+            out += "</" + k.__str__() + ">\n"
+
+        FILE = open(filename,"w")
+        FILE.writelines(out)
+        FILE.close()
+
+    def serialize_config(self, widget):
         """ This function serializes the configurtion settings
-        and returns a dictionary with pairs:
+        and creates a dictionary with pairs:
         name_of_setting: vlue """
         # TODO: Change the combobox to have default prop
-        settings = { 'LANGUGE' : 
self.get("combobox2").get_active_text().partition(".")[0].capitalize(), \
+        settings = { 'LANGUGE' : 
self.get("combobox2").get_active_text().split(".")[0].capitalize(), \
                      'VERBOSITY' :  
self.get("cbVerbosityLevel").get_active_text(), \
                      'NTHREADS_STATIC' : 
self.get("enAlwysActiveThreads").get_text(), \
                      'NTHREADS_MAX' : 
self.get("enMaximumNumberOfThreads").get_text(), \
@@ -333,7 +347,8 @@
                      'CONTROL_ADMIN' : self.get("entry11").get_text(), \
                      'CONTROL_PASSWORD' : self.get("entry12").get_text(), \
                       }
-        return settings
+        print settings
+        self.save_dict_to_xml(settings)
 
 
 def main():

Deleted: trunk/misc/PyGTK_Control/TODO
===================================================================
--- trunk/misc/PyGTK_Control/TODO       2008-12-04 18:49:52 UTC (rev 2975)
+++ trunk/misc/PyGTK_Control/TODO       2008-12-06 17:10:17 UTC (rev 2976)
@@ -1,9 +0,0 @@
-TODO List for PyGTK based MyServer configuration tool.
-
-* Assigning proper names to widgets
-
-* Setting remaining widgets signals
-
-* Binding signals with events
-
-* Implementing events

Modified: trunk/misc/PyGTK_Control/XMLGui.glade
===================================================================
--- trunk/misc/PyGTK_Control/XMLGui.glade       2008-12-04 18:49:52 UTC (rev 
2975)
+++ trunk/misc/PyGTK_Control/XMLGui.glade       2008-12-06 17:10:17 UTC (rev 
2976)
@@ -138,11 +138,12 @@
                           </widget>
                         </child>
                         <child>
-                          <widget class="GtkImageMenuItem" id="imagemenuitem3">
+                          <widget class="GtkImageMenuItem" id="save">
                             <property name="visible">True</property>
                             <property name="label">gtk-save</property>
                             <property name="use_underline">True</property>
                             <property name="use_stock">True</property>
+                            <signal name="activate" 
handler="on_save_activate"/>
                           </widget>
                         </child>
                       </widget>
@@ -281,155 +282,155 @@
                         <property name="n_rows">6</property>
                         <property name="n_columns">2</property>
                         <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>
                         <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="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="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="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="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="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="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="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="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="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="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>
                       </widget>
                       <packing>
@@ -473,59 +474,50 @@
                           <placeholder/>
                         </child>
                         <child>
-                          <widget class="GtkFileChooserButton" 
id="filechooserbutton1">
+                          <widget class="GtkLabel" id="label13">
                             <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">Connection time-out (in sec):</property>
                           </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="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="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="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="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>
@@ -542,52 +534,61 @@
                           </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>
-                          <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="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="label14">
+                          <widget class="GtkFileChooserButton" 
id="filechooserbutton1">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">Max 
connections:</property>
+                            <property name="title" 
translatable="yes">Browse..</property>
+                            <property name="width_chars">7</property>
+                            <signal name="file_set" 
handler="on_filechooserbutton1_file_set"/>
                           </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="label13">
-                            <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Connection time-out (in sec):</property>
-                          </widget>
-                        </child>
                       </widget>
                     </child>
                     <child>
@@ -739,51 +740,51 @@
                           <placeholder/>
                         </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>
                         <child>
-                          <widget class="GtkFileChooserButton" 
id="filechooserbutton2">
+                          <widget class="GtkLabel" id="label21">
                             <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"/>
+                            <property name="label" 
translatable="yes">Manager:</property>
                           </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="GtkLabel" id="label19">
+                          <widget class="GtkComboBox" id="cbAction">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">MIME 
Type:</property>
-                          </widget>
-                        </child>
-                        <child>
-                          <widget class="GtkComboBox" id="combobox3">
-                            <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>
@@ -798,52 +799,52 @@
                           </packing>
                         </child>
                         <child>
-                          <widget class="GtkComboBox" id="cbAction">
+                          <widget class="GtkComboBox" id="combobox3">
                             <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="label21">
+                          <widget class="GtkLabel" id="label19">
                             <property name="visible">True</property>
-                            <property name="label" 
translatable="yes">Manager:</property>
+                            <property name="label" translatable="yes">MIME 
Type:</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">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="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>
                       </widget>
@@ -1601,29 +1602,38 @@
                       <placeholder/>
                     </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>
                     <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="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>
@@ -1643,39 +1653,30 @@
                       </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>
-                      <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="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>
                   </widget>
                   <packing>






reply via email to

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