myserver-commit
[Top][All Lists]
Advanced

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

[myserver-commit] [2977] Added default values and confirmation message


From: Ignacy Moryc
Subject: [myserver-commit] [2977] Added default values and confirmation message
Date: Sat, 06 Dec 2008 17:27:59 +0000

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

Log Message:
-----------
Added default values and confirmation message

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-12-06 17:10:17 UTC (rev 
2976)
+++ trunk/misc/PyGTK_Control/ConfigGUI.py       2008-12-06 17:27:58 UTC (rev 
2977)
@@ -45,6 +45,10 @@
         if (self.window):
             self.window.connect("destroy", gtk.main_quit)
 
+        # Set defult values on comboboxes
+        self.wTree.get_widget("cbVerbosityLevel").set_active(0)
+        self.wTree.get_widget("combobox2").set_active(0)
+
         # Here we call the methods creating widgets with functionality
         self.create_treeview_for_default_filenames()
         self.create_treeview_for_host_names()
@@ -53,6 +57,7 @@
         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 """
         self.treeview=self.wTree.get_widget("treeview1")
@@ -312,7 +317,6 @@
         """ This function serializes the configurtion settings
         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().split(".")[0].capitalize(), \
                      'VERBOSITY' :  
self.get("cbVerbosityLevel").get_active_text(), \
                      'NTHREADS_STATIC' : 
self.get("enAlwysActiveThreads").get_text(), \
@@ -347,8 +351,13 @@
                      'CONTROL_ADMIN' : self.get("entry11").get_text(), \
                      'CONTROL_PASSWORD' : self.get("entry12").get_text(), \
                       }
-        print settings
         self.save_dict_to_xml(settings)
+        dia = gtk.Dialog("Settings save")
+        dia.show()
+        dia.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK)
+        dia.set_default_response(gtk.RESPONSE_OK)
+        response = dia.run()
+        dia.destroy()
 
 
 def main():

Modified: trunk/misc/PyGTK_Control/XMLGui.glade
===================================================================
--- trunk/misc/PyGTK_Control/XMLGui.glade       2008-12-06 17:10:17 UTC (rev 
2976)
+++ trunk/misc/PyGTK_Control/XMLGui.glade       2008-12-06 17:27:58 UTC (rev 
2977)
@@ -282,155 +282,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>
@@ -474,50 +474,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>
@@ -534,61 +543,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>
@@ -740,51 +740,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>
@@ -799,52 +799,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>
@@ -1602,38 +1602,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>
@@ -1653,30 +1644,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>






reply via email to

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