[tor-commits] [arm/master] Updated graph widgets' names.

atagar at torproject.org atagar at torproject.org
Tue Jun 14 02:34:22 UTC 2011


commit 2e7531e2ac0c36516f4a0b7a7169a988710e041d
Author: Kamran Riaz Khan <krkhan at inspirated.com>
Date:   Tue Jun 14 01:17:07 2011 +0500

    Updated graph widgets' names.
---
 src/gui/arm.xml |   22 ++++++++++++++--------
 src/starter.py  |    2 +-
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/src/gui/arm.xml b/src/gui/arm.xml
index 85f60d3..a511583 100644
--- a/src/gui/arm.xml
+++ b/src/gui/arm.xml
@@ -307,11 +307,11 @@
                       <object class="GtkHBox" id="hbox_graph">
                         <property name="visible">True</property>
                         <child>
-                          <object class="GtkVBox" id="vbox_graph_a">
+                          <object class="GtkVBox" id="vbox_graph_primary">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
                             <child>
-                              <object class="GtkLabel" id="label_graph_a_top">
+                              <object class="GtkLabel" id="label_graph_primary_top">
                                 <property name="visible">True</property>
                                 <property name="label" translatable="yes">Download (0.0 b/sec)</property>
                               </object>
@@ -322,15 +322,18 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkVBox" id="placeholder_graph_a">
+                              <object class="GtkVBox" id="placeholder_graph_primary">
                                 <property name="visible">True</property>
+                                <child>
+                                  <placeholder/>
+                                </child>
                               </object>
                               <packing>
                                 <property name="position">1</property>
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLabel" id="label_graph_a_bottom">
+                              <object class="GtkLabel" id="label_graph_primary_bottom">
                                 <property name="visible">True</property>
                                 <property name="label" translatable="yes">avg: 3.5 Kb/sec, total: 2.0 MB</property>
                               </object>
@@ -346,11 +349,11 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkVBox" id="vbox_graph_b">
+                          <object class="GtkVBox" id="vbox_graph_secondary">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
                             <child>
-                              <object class="GtkLabel" id="label_graph_b_top">
+                              <object class="GtkLabel" id="label_graph_secondary_top">
                                 <property name="visible">True</property>
                                 <property name="label" translatable="yes">Upload (0.0 b/sec)</property>
                               </object>
@@ -361,15 +364,18 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkVBox" id="placeholder_graph_b">
+                              <object class="GtkVBox" id="placeholder_graph_secondary">
                                 <property name="visible">True</property>
+                                <child>
+                                  <placeholder/>
+                                </child>
                               </object>
                               <packing>
                                 <property name="position">1</property>
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLabel" id="label_graph_b_bottom">
+                              <object class="GtkLabel" id="label_graph_secondary_bottom">
                                 <property name="visible">True</property>
                                 <property name="label" translatable="yes">avg: 3.5 Kb/sec, total: 2.0 MB</property>
                               </object>
diff --git a/src/starter.py b/src/starter.py
index d2ac910..50feceb 100644
--- a/src/starter.py
+++ b/src/starter.py
@@ -30,7 +30,7 @@ import util.uiTools
 import TorCtl.TorCtl
 import TorCtl.TorUtil
 
-INCLUDE_GUI = False
+INCLUDE_GUI = True
 LOG_DUMP_PATH = os.path.expanduser("~/.arm/log")
 DEFAULT_CONFIG = os.path.expanduser("~/.arm/armrc")
 CONFIG = {"startup.controlPassword": None,





More information about the tor-commits mailing list