[gnome-system-monitor/gnome-3-10] Simplified processes view widget tree



commit 4eac6592b9c2fbbfd032022ad8d38d20d0e56400
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Nov 4 11:08:59 2013 +0200

    Simplified processes view widget tree

 data/interface.ui |  104 +++++++++++++++++++++++-----------------------------
 1 files changed, 46 insertions(+), 58 deletions(-)
---
diff --git a/data/interface.ui b/data/interface.ui
index bec9b82..d8ccc08 100644
--- a/data/interface.ui
+++ b/data/interface.ui
@@ -95,84 +95,72 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkBox" id="proclist_box">
+                  <object class="GtkScrolledWindow" id="processes_scrolled">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="orientation">vertical</property>
+                    <property name="can_focus">True</property>
+                    <property name="hexpand">True</property>
+                    <property name="vexpand">True</property>
+                    <property name="shadow_type">none</property>
                     <child>
-                      <object class="GtkScrolledWindow" id="processes_scrolled">
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="hexpand">True</property>
-                        <property name="vexpand">True</property>
-                        <property name="shadow_type">none</property>
-                        <child>
-                          <placeholder/>
-                        </child>
-                      </object>
-                      <packing>
-                        <property name="expand">True</property>
-                        <property name="fill">True</property>
-                        <property name="position">1</property>
-                      </packing>
+                      <placeholder/>
                     </child>
+                  </object>
+                  <packing>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRevealer" id="proc_toolbar_revealer">
+                    <property name="visible">True</property>
+                    <property name="transition_type">slide-up</property>
                     <child>
-                      <object class="GtkRevealer" id="proc_toolbar_revealer">
+                      <object class="GtkFrame" id="proc_toolbar_frame">
                         <property name="visible">True</property>
-                        <property name="transition_type">slide-up</property>
+                        <style>
+                          <class name="gsm-proc-toolbar"/>
+                        </style>
                         <child>
-                          <object class="GtkFrame" id="proc_toolbar_frame">
+                          <object class="GtkBox" id="proc_toolbar_box">
                             <property name="visible">True</property>
-                            <style>
-                              <class name="gsm-proc-toolbar"/>
-                            </style>
+                            <property name="orientation">horizontal</property>
+                            <property name="margin">6</property>
                             <child>
-                              <object class="GtkBox" id="proc_toolbar_box">
+                              <object class="GtkButton" id="end_process_button">
+                                <property name="label" translatable="yes">End _Process</property>
                                 <property name="visible">True</property>
-                                <property name="orientation">horizontal</property>
-                                <property name="margin">6</property>
-                                <child>
-                                  <object class="GtkButton" id="end_process_button">
-                                    <property name="label" translatable="yes">End _Process</property>
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="receives_default">True</property>
-                                    <property name="halign">start</property>
-                                    <property name="use_underline">True</property>
-                                    <property name="action_name">win.send-signal-end</property>
-                                    <property name="action_target">@i 15</property>
-                                    <accelerator key="Delete" signal="clicked"/>
-                                  </object>
-                                </child>
+                                <property name="can_focus">True</property>
+                                <property name="receives_default">True</property>
+                                <property name="halign">start</property>
+                                <property name="use_underline">True</property>
+                                <property name="action_name">win.send-signal-end</property>
+                                <property name="action_target">@i 15</property>
+                                <accelerator key="Delete" signal="clicked"/>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkButton" id="proc_properties_button">
+                                <property name="visible">True</property>
+                                <property name="tooltip_text" translatable="yes">Show process 
properties</property>
+                                <property name="action_name">win.process-properties</property>
                                 <child>
-                                  <object class="GtkButton" id="proc_properties_button">
+                                  <object class="GtkImage" id="proc_properties_image">
                                     <property name="visible">True</property>
-                                    <property name="tooltip_text" translatable="yes">Show process 
properties</property>
-                                    <property name="action_name">win.process-properties</property>
-                                    <child>
-                                      <object class="GtkImage" id="proc_properties_image">
-                                        <property name="visible">True</property>
-                                        <property name="icon_size">1</property>
-                                        <property name="icon_name">document-properties-symbolic</property>
-                                      </object>
-                                    </child>
+                                    <property name="icon_size">1</property>
+                                    <property name="icon_name">document-properties-symbolic</property>
                                   </object>
-                                  <packing>
-                                    <property name="pack_type">end</property>
-                                  </packing>
                                 </child>
                               </object>
+                              <packing>
+                                <property name="pack_type">end</property>
+                              </packing>
                             </child>
                           </object>
                         </child>
                       </object>
                     </child>
                   </object>
-                  <packing>
-                    <property name="expand">True</property>
-                    <property name="fill">True</property>
-                    <property name="position">1</property>
-                  </packing>
                 </child>
               </object>
               <packing>


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