[gtk+] inspector: remove visible=TRUE properties



commit c60df96debc8df1333d832452667ec7082568887
Author: Benjamin Otte <otte redhat com>
Date:   Wed Nov 29 03:25:58 2017 +0100

    inspector: remove visible=TRUE properties
    
    This is the defualt these days.

 gtk/inspector/window.ui |   44 --------------------------------------------
 1 files changed, 0 insertions(+), 44 deletions(-)
---
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index e49dd38..560ae2e 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -14,19 +14,15 @@
     <property name="icon">resource:///org/gtk/libgtk/inspector/logo.png</property>
     <child type="titlebar">
       <object class="GtkHeaderBar">
-        <property name="visible">1</property>
         <property name="show-close-button">1</property>
         <child>
           <object class="GtkStack" id="button_stack">
-            <property name="visible">1</property>
             <property name="visible-child-name" bind-source="top_stack" bind-property="visible-child-name"/>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
                 <property name="spacing">6</property>
                 <child>
                   <object class="GtkButton" id="select_object">
-                    <property name="visible">1</property>
                     <property name="focus-on-click">0</property>
                     <property name="tooltip-text" translatable="yes">Select an Object</property>
                     <property name="halign">center</property>
@@ -37,10 +33,8 @@
                 </child>
                 <child>
                   <object class="GtkStack" id="object_buttons">
-                    <property name="visible">1</property>
                     <child>
                       <object class="GtkButton" id="object_details_button">
-                        <property name="visible">1</property>
                         <property name="focus-on-click">0</property>
                         <property name="tooltip-text" translatable="yes">Show Details</property>
                         <property name="halign">center</property>
@@ -54,7 +48,6 @@
                     </child>
                     <child>
                       <object class="GtkButton">
-                        <property name="visible">1</property>
                         <property name="focus-on-click">0</property>
                         <property name="tooltip-text" translatable="yes">Show all Objects</property>
                         <property name="halign">center</property>
@@ -75,7 +68,6 @@
             </child>
             <child>
               <object class="GtkToggleButton" id="record_statistics_button">
-                <property name="visible">1</property>
                 <property name="focus-on-click">0</property>
                 <property name="tooltip-text" translatable="yes">Collect Statistics</property>
                 <property name="halign">start</property>
@@ -88,12 +80,10 @@
             </child>
             <child>
               <object class="GtkStack" id="resource_buttons">
-                <property name="visible">1</property>
                 <property name="halign">start</property>
                 <property name="valign">center</property>
                 <child>
                   <object class="GtkButton">
-                    <property name="visible">1</property>
                     <property name="focus-on-click">0</property>
                     <property name="tooltip-text" translatable="yes">Show Details</property>
                     <property name="halign">center</property>
@@ -106,7 +96,6 @@
                 </child>
                 <child>
                   <object class="GtkButton">
-                    <property name="visible">1</property>
                     <property name="focus-on-click">0</property>
                     <property name="tooltip-text" translatable="yes">Show all Resources</property>
                     <property name="halign">center</property>
@@ -124,7 +113,6 @@
             </child>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
               </object>
               <packing>
                 <property name="name">css</property>
@@ -132,7 +120,6 @@
             </child>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
               </object>
               <packing>
                 <property name="name">recorder</property>
@@ -140,7 +127,6 @@
             </child>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
               </object>
               <packing>
                 <property name="name">visual</property>
@@ -148,7 +134,6 @@
             </child>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
               </object>
               <packing>
                 <property name="name">general</property>
@@ -158,7 +143,6 @@
         </child>
         <child type="title">
           <object class="GtkStackSwitcher">
-            <property name="visible">1</property>
             <property name="margin-start">6</property>
             <property name="margin-end">6</property>
             <property name="stack">top_stack</property>
@@ -168,13 +152,10 @@
     </child>
     <child>
       <object class="GtkStack" id="top_stack">
-        <property name="visible">1</property>
         <child>
           <object class="GtkStack" id="object_stack">
-            <property name="visible">1</property>
             <child>
               <object class="GtkInspectorObjectTree" id="object_tree">
-                <property name="visible">True</property>
                 <signal name="object-activated" handler="on_object_activated"/>
                 <signal name="object-selected" handler="on_object_selected"/>
               </object>
@@ -184,7 +165,6 @@
             </child>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
                 <property name="orientation">vertical</property>
                 <child>
                   <object class="GtkCenterBox">
@@ -193,17 +173,14 @@
                         <property name="spacing">10</property>
                         <child>
                           <object class="GtkStackCombo" id="stackcombo">
-                            <property name="visible">True</property>
                             <property name="margin">6</property>
                             <property name="stack">object_details</property>
                           </object>
                         </child>
                         <child>
                           <object class="GtkStack" id="object_start_stack">
-                            <property name="visible">True</property>
                             <child>
                               <object class="GtkBox">
-                                <property name="visible">True</property>
                               </object>
                               <packing>
                                 <property name="name">empty</property>
@@ -211,13 +188,11 @@
                             </child>
                             <child>
                               <object class="GtkBox">
-                                <property name="visible">True</property>
                                 <property name="orientation">horizontal</property>
                                 <property name="spacing">6</property>
                                 <property name="margin">6</property>
                                 <child>
                                   <object class="GtkToggleButton" id="signals_trace_button">
-                                    <property name="visible">True</property>
                                     <property name="relief">none</property>
                                     <property name="tooltip-text" translatable="yes">Trace signal emissions 
on this object</property>
                                     <property name="icon-name">media-record-symbolic</property>
@@ -225,7 +200,6 @@
                                 </child>
                                 <child>
                                   <object class="GtkButton" id="signals_clear_button">
-                                    <property name="visible">True</property>
                                     <property name="relief">none</property>
                                     <property name="tooltip-text" translatable="yes">Clear log</property>
                                     <property name="icon-name">edit-clear-symbolic</property>
@@ -238,7 +212,6 @@
                             </child>
                             <child>
                               <object class="GtkScale">
-                                <property name="visible">True</property>
                                 <property name="orientation">horizontal</property>
                                 <property name="width-request">150</property>
                                 <property name="draw-value">False</property>
@@ -263,13 +236,11 @@
 
                     <child type="center">
                       <object class="GtkStack" id="object_center_stack">
-                        <property name="visible">1</property>
                         <property name="transition-type">crossfade</property>
                         <property name="hexpand">1</property>
                         <property name="halign">center</property>
                         <child>
                           <object class="GtkLabel" id="object_title">
-                            <property name="visible">1</property>
                           </object>
                           <packing>
                             <property name="name">title</property>
@@ -277,7 +248,6 @@
                         </child>
                         <child>
                           <object class="GtkSearchEntry" id="prop_search_entry">
-                            <property name="visible">1</property>
                             <property name="margin">6</property>
                             <property name="max-width-chars">40</property>
                           </object>
@@ -287,7 +257,6 @@
                         </child>
                         <child>
                           <object class="GtkSearchEntry" id="child_prop_search_entry">
-                            <property name="visible">1</property>
                             <property name="margin">6</property>
                             <property name="max-width-chars">40</property>
                           </object>
@@ -301,11 +270,9 @@
                 </child>
                 <child>
                   <object class="GtkStack" id="object_details">
-                    <property name="visible">1</property>
                     <signal name="notify::visible-child" handler="object_details_changed"/>
                     <child>
                       <object class="GtkInspectorMiscInfo" id="misc_info">
-                        <property name="visible">True</property>
                         <property name="object-tree">object_tree</property>
                       </object>
                       <packing>
@@ -315,7 +282,6 @@
                     </child>
                     <child>
                       <object class="GtkInspectorPropList" id="prop_list">
-                        <property name="visible">True</property>
                         <property name="child-properties">False</property>
                         <property name="object-tree">object_tree</property>
                         <property name="search-entry">prop_search_entry</property>
@@ -327,7 +293,6 @@
                     </child>
                     <child>
                       <object class="GtkInspectorSignalsList" id="signals_list">
-                        <property name="visible">True</property>
                         <property name="trace-button">signals_trace_button</property>
                         <property name="clear-button">signals_clear_button</property>
                       </object>
@@ -349,7 +314,6 @@
                     </child>
                     <child>
                       <object class="GtkInspectorObjectHierarchy" id="object_hierarchy">
-                        <property name="visible">True</property>
                       </object>
                       <packing>
                         <property name="name">hierarchy</property>
@@ -358,7 +322,6 @@
                     </child>
                     <child>
                       <object class="GtkInspectorSelector" id="selector">
-                        <property name="visible">True</property>
                       </object>
                       <packing>
                         <property name="name">selector</property>
@@ -367,7 +330,6 @@
                     </child>
                     <child>
                       <object class="GtkInspectorCssNodeTree" id="widget_css_node_tree">
-                        <property name="visible">True</property>
                       </object>
                       <packing>
                         <property name="name">css-nodes</property>
@@ -435,7 +397,6 @@
         </child>
         <child>
           <object class="GtkInspectorStatistics">
-            <property name="visible">True</property>
             <property name="button">record_statistics_button</property>
           </object>
           <packing>
@@ -445,7 +406,6 @@
         </child>
         <child>
           <object class="GtkInspectorResourceList">
-            <property name="visible">True</property>
             <property name="buttons">resource_buttons</property>
           </object>
           <packing>
@@ -455,7 +415,6 @@
         </child>
         <child>
           <object class="GtkInspectorCssEditor">
-            <property name="visible">True</property>
           </object>
           <packing>
             <property name="name">css</property>
@@ -464,7 +423,6 @@
         </child>
         <child>
           <object class="GtkInspectorRecorder" id="widget_recorder">
-            <property name="visible">True</property>
           </object>
           <packing>
             <property name="name">recorder</property>
@@ -473,7 +431,6 @@
         </child>
         <child>
           <object class="GtkInspectorVisual">
-            <property name="visible">True</property>
           </object>
           <packing>
             <property name="name">visual</property>
@@ -482,7 +439,6 @@
         </child>
         <child>
           <object class="GtkInspectorGeneral">
-            <property name="visible">True</property>
           </object>
           <packing>
             <property name="name">general</property>


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