myserver-commit
[Top][All Lists]
Advanced

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

[myserver-commit] [2903] Added tabs on Host window


From: Ignacy Moryc
Subject: [myserver-commit] [2903] Added tabs on Host window
Date: Sat, 25 Oct 2008 13:52:49 +0000

Revision: 2903
          http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2903
Author:   ignacy
Date:     2008-10-25 13:52:49 +0000 (Sat, 25 Oct 2008)

Log Message:
-----------
Added tabs on Host window

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

Added Paths:
-----------
    trunk/misc/PyGTK_Control/MyServer Configure.ico

Modified: trunk/misc/PyGTK_Control/ConfigGUI.py
===================================================================
--- trunk/misc/PyGTK_Control/ConfigGUI.py       2008-10-25 10:21:13 UTC (rev 
2902)
+++ trunk/misc/PyGTK_Control/ConfigGUI.py       2008-10-25 13:52:49 UTC (rev 
2903)
@@ -66,6 +66,32 @@
 
         self.treeview.show()
 
+        # Create treeview widget structure (one column) for host names
+        self.treeviewHost=self.wTree.get_widget("treeviewHost")
+        self.treemodelHost=gtk.TreeStore(gobject.TYPE_STRING)
+        self.treeviewHost.set_model(self.treemodelHost)
+
+        renderer=gtk.CellRendererText()
+        column=gtk.TreeViewColumn("Host:",renderer, text=0)
+        column.set_resizable(True)
+        self.treeviewHost.append_column(column)
+        renderer=gtk.CellRendererText()
+        self.treeviewHost.show()
+
+        # Create treeview widget structure (one column) for IP addresses
+        self.treeviewIP=self.wTree.get_widget("treeviewIP")
+        self.treemodelIP=gtk.TreeStore(gobject.TYPE_STRING)
+        self.treeviewIP.set_model(self.treemodelIP)
+
+        renderer=gtk.CellRendererText()
+        column=gtk.TreeViewColumn("IP:",renderer, text=0)
+        column.set_resizable(True)
+        self.treeviewIP.append_column(column)
+        renderer=gtk.CellRendererText()
+        self.treeviewIP.show()
+
+
+
         self.store2 = gtk.ListStore(gobject.TYPE_STRING)
         #populate
         self.store2.append(["Every HTTP connection"])
@@ -127,13 +153,26 @@
                     self.filechooserbutton2_file_set,
                 "on_filechooserbutton1_file_set" : \
                     self.filechooserbutton1_file_set,
+                "on_filechooserbutton4_file_set" : \
+                    self.filechooserbutton4_file_set,
+                "on_filechooserbutton3_file_set" : \
+                    self.filechooserbutton3_file_set,
                 "on_btnRemoveMIMEExtension_clicked" : \
                     self.buttonRemoveMIMEExtension_clicked,
                 "on_btnAddHostName_clicked" : \
                     self.buttonAddHostName_clicked,
                 "on_btnRemoveHostName_clicked" : \
-                    self.buttonRemoveHostName_clicked
+                    self.buttonRemoveHostName_clicked,
+                "on_btnAddHost_clicked" : \
+                    self.btnAddHost_clicked,
+                "on_btnAddIP_clicked" : \
+                    self.btnAddIP_clicked,
+                "on_btnRemoveHost_clicked" : \
+                    self.btnRemoveHost_clicked,
+                "on_btnRemoveIP_clicked" : \
+                    self.btnRemoveIP_clicked
                 }
+
         # Connect signals
         self.wTree.signal_autoconnect (dic)
 
@@ -156,6 +195,22 @@
         model, selected = selection.get_selected()
         model.remove(selected)
 
+    def btnAddHost_clicked(self, button):
+        """ Add new host name to treeview """
+        self.insert_row(self.treemodelHost,None, self.ShowDialogBox("Add new 
host name"))
+
+    def btnRemoveHost_clicked(self, button):
+        """ Removes selected file name """
+        self.delete_rows(self.treeviewHost)
+
+    def btnAddIP_clicked(self, button):
+        """ Add new IP address to trreview """
+        self.insert_row(self.treemodelIP,None, self.ShowDialogBox("Add new IP 
address"))
+
+    def btnRemoveIP_clicked(self, button):
+        """ Removes selected file name """
+        self.delete_rows(self.treeviewIP)
+
     def buttonAddMIMEType_clicked(self, button):
         """ Add new MIME type to list """
         self.store.append([self.ShowDialogBox("Add new MIME type")])
@@ -188,6 +243,14 @@
         """ Place file path in entry field """
         
self.wTree.get_widget("enManager").set_text(self.wTree.get_widget("filechooserbutton2").get_filename())
 
+    def filechooserbutton4_file_set(self, widget):
+        """ Place file path in entry field """
+        
self.wTree.get_widget("enSystemFolder").set_text(self.wTree.get_widget("filechooserbutton4").get_filename())
+
+    def filechooserbutton3_file_set(self, widget):
+        """ Place file path in entry field """
+        
self.wTree.get_widget("enDocummentRoot").set_text(self.wTree.get_widget("filechooserbutton3").get_filename())
+
     def filechooserbutton1_file_set(self, widget):
         """ Place file path in entry field """
         
self.wTree.get_widget("enStylesheet").set_text(self.wTree.get_widget("filechooserbutton1").get_filename())

Added: trunk/misc/PyGTK_Control/MyServer Configure.ico
===================================================================
(Binary files differ)


Property changes on: trunk/misc/PyGTK_Control/MyServer Configure.ico
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/misc/PyGTK_Control/XMLGui.glade
===================================================================
--- trunk/misc/PyGTK_Control/XMLGui.glade       2008-10-25 10:21:13 UTC (rev 
2902)
+++ trunk/misc/PyGTK_Control/XMLGui.glade       2008-10-25 13:52:49 UTC (rev 
2903)
@@ -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="icon">MyServer Configure.ico</property>
     <child>
       <widget class="GtkVBox" id="vbox1">
         <property name="visible">True</property>
@@ -287,155 +288,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>
@@ -479,59 +480,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>
@@ -548,52 +540,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>
@@ -609,6 +610,7 @@
                               <widget class="GtkTreeView" id="treeview1">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
+                                <property 
name="extension_events">GDK_EXTENSION_EVENTS_CURSOR</property>
                                 <property 
name="headers_visible">False</property>
                               </widget>
                             </child>
@@ -744,51 +746,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>
@@ -803,52 +805,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>
@@ -879,6 +881,7 @@
                       <widget class="GtkHBox" id="hbox4">
                         <property name="height_request">30</property>
                         <property name="visible">True</property>
+                        <property name="homogeneous">True</property>
                         <child>
                           <widget class="GtkVBox" id="vbox13">
                             <property name="visible">True</property>
@@ -975,6 +978,15 @@
                       </packing>
                     </child>
                     <child>
+                      <widget class="GtkHSeparator" id="hseparator1">
+                        <property name="visible">True</property>
+                      </widget>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
                       <widget class="GtkNotebook" id="notebook2">
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
@@ -1037,7 +1049,165 @@
                           </packing>
                         </child>
                         <child>
-                          <placeholder/>
+                          <widget class="GtkHBox" id="hbox3">
+                            <property name="visible">True</property>
+                            <child>
+                              <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>
+                                  <packing>
+                                    <property name="position">1</property>
+                                  </packing>
+                                </child>
+                                <child>
+                                  <widget class="GtkHBox" id="hbox8">
+                                    <property name="visible">True</property>
+                                    <property 
name="homogeneous">True</property>
+                                    <child>
+                                      <widget class="GtkButton" 
id="btnAddHost">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property 
name="receives_default">True</property>
+                                        <property name="label" 
translatable="yes">Add..</property>
+                                        <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">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property 
name="receives_default">True</property>
+                                        <property name="label" 
translatable="yes">Remove</property>
+                                        <property 
name="response_id">0</property>
+                                        <signal name="clicked" 
handler="on_btnRemoveHost_clicked"/>
+                                      </widget>
+                                      <packing>
+                                        <property 
name="expand">False</property>
+                                        <property name="position">1</property>
+                                      </packing>
+                                    </child>
+                                  </widget>
+                                  <packing>
+                                    <property name="position">2</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                            </child>
+                            <child>
+                              <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>
+                                  <packing>
+                                    <property name="position">1</property>
+                                  </packing>
+                                </child>
+                                <child>
+                                  <widget class="GtkHBox" id="hbox9">
+                                    <property name="visible">True</property>
+                                    <property 
name="homogeneous">True</property>
+                                    <child>
+                                      <widget class="GtkButton" id="btnAddIP">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property 
name="receives_default">True</property>
+                                        <property name="label" 
translatable="yes">Add..</property>
+                                        <property 
name="response_id">0</property>
+                                        <signal name="clicked" 
handler="on_btnAddIP_clicked"/>
+                                      </widget>
+                                      <packing>
+                                        <property 
name="expand">False</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkButton" 
id="btnRemoveIP">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property 
name="receives_default">True</property>
+                                        <property name="label" 
translatable="yes">Remove</property>
+                                        <property 
name="response_id">0</property>
+                                        <signal name="clicked" 
handler="on_btnRemoveIP_clicked"/>
+                                      </widget>
+                                      <packing>
+                                        <property 
name="expand">False</property>
+                                        <property name="position">1</property>
+                                      </packing>
+                                    </child>
+                                  </widget>
+                                  <packing>
+                                    <property name="position">2</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkHBox" id="hbox10">
+                                <property name="visible">True</property>
+                                <child>
+                                  <widget class="GtkVBox" id="vbox16">
+                                    <property name="visible">True</property>
+                                    <child>
+                                      <widget class="GtkLabel" id="label34">
+                                        <property 
name="visible">True</property>
+                                        <property name="label" 
translatable="yes">Port:</property>
+                                      </widget>
+                                    </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
+                                  </widget>
+                                </child>
+                                <child>
+                                  <widget class="GtkVBox" id="vbox17">
+                                    <property name="visible">True</property>
+                                    <child>
+                                      <widget class="GtkEntry" 
id="enPortNumber">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property 
name="max_length">5</property>
+                                        <property name="text" 
translatable="yes">8080</property>
+                                      </widget>
+                                    </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
+                                  </widget>
+                                  <packing>
+                                    <property name="position">1</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="position">1</property>
+                          </packing>
                         </child>
                         <child>
                           <widget class="GtkLabel" id="label25">
@@ -1051,7 +1221,148 @@
                           </packing>
                         </child>
                         <child>
-                          <placeholder/>
+                          <widget class="GtkVBox" id="vbox18">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label18">
+                                <property name="visible">True</property>
+                                <property name="label" 
translatable="yes">Enable:</property>
+                              </widget>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">False</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkHBox" id="hbox11">
+                                <property name="visible">True</property>
+                                <child>
+                                  <widget class="GtkVBox" id="vbox19">
+                                    <property name="visible">True</property>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton8">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">CGI</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton9">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">ISAPI</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">1</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton10">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">MSCGI</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">2</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton11">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">WINCGI</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">3</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton12">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">FASTCGI</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">4</property>
+                                      </packing>
+                                    </child>
+                                  </widget>
+                                </child>
+                                <child>
+                                  <widget class="GtkVBox" id="vbox20">
+                                    <property name="visible">True</property>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton13">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">SCGI</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton14">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">SEND LINK</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">1</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton15">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">EXTERNAL COMMANDS</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">2</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <widget class="GtkCheckButton" 
id="checkbutton16">
+                                        <property 
name="visible">True</property>
+                                        <property 
name="can_focus">True</property>
+                                        <property name="label" 
translatable="yes">SEND FILE</property>
+                                        <property 
name="response_id">0</property>
+                                        <property 
name="draw_indicator">True</property>
+                                      </widget>
+                                      <packing>
+                                        <property name="position">3</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
+                                  </widget>
+                                  <packing>
+                                    <property name="position">1</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="position">2</property>
+                          </packing>
                         </child>
                         <child>
                           <widget class="GtkLabel" id="label26">
@@ -1065,7 +1376,61 @@
                           </packing>
                         </child>
                         <child>
-                          <placeholder/>
+                          <widget class="GtkVBox" id="vbox21">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkHBox" id="hbox12">
+                                <property name="visible">True</property>
+                                <child>
+                                  <widget class="GtkLabel" id="label22">
+                                    <property name="visible">True</property>
+                                    <property name="label" 
translatable="yes">Documment root:</property>
+                                  </widget>
+                                </child>
+                                <child>
+                                  <placeholder/>
+                                </child>
+                                <child>
+                                  <widget class="GtkFileChooserButton" 
id="filechooserbutton3">
+                                    <property name="visible">True</property>
+                                    <property 
name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
+                                  </widget>
+                                  <packing>
+                                    <property name="position">2</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkHBox" id="hbox13">
+                                <property name="visible">True</property>
+                                <child>
+                                  <widget class="GtkLabel" id="label35">
+                                    <property name="visible">True</property>
+                                    <property name="label" 
translatable="yes">System folder:</property>
+                                  </widget>
+                                </child>
+                                <child>
+                                  <placeholder/>
+                                </child>
+                                <child>
+                                  <widget class="GtkFileChooserButton" 
id="filechooserbutton4">
+                                    <property name="visible">True</property>
+                                    <property 
name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
+                                  </widget>
+                                  <packing>
+                                    <property name="position">2</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="position">3</property>
+                          </packing>
                         </child>
                         <child>
                           <widget class="GtkLabel" id="label27">
@@ -1094,7 +1459,7 @@
                         </child>
                       </widget>
                       <packing>
-                        <property name="position">1</property>
+                        <property name="position">2</property>
                       </packing>
                     </child>
                   </widget>
@@ -1122,29 +1487,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>
@@ -1164,39 +1538,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]