[gtk+] GtkFileChooserButton: Simplify ui template



commit 728f7db45f3c2bb3003a97a38d7a655e0ee579b1
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 2 18:00:15 2015 -0400

    GtkFileChooserButton: Simplify ui template

 gtk/ui/gtkfilechooserbutton.ui |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gtk/ui/gtkfilechooserbutton.ui b/gtk/ui/gtkfilechooserbutton.ui
index a360138..8f5cbdc 100644
--- a/gtk/ui/gtkfilechooserbutton.ui
+++ b/gtk/ui/gtkfilechooserbutton.ui
@@ -2,7 +2,6 @@
 <interface domain="gtk30">
   <!-- interface-requires gtk+ 3.10 -->
   <template class="GtkFileChooserButton" parent="GtkBox">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkButton" id="button">
         <property name="visible">True</property>
@@ -12,24 +11,19 @@
         <child>
           <object class="GtkBox" id="box2">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="spacing">4</property>
             <child>
               <object class="GtkImage" id="image">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="icon_name">image-missing</property>
               </object>
               <packing>
-                <property name="expand">False</property>
                 <property name="fill">False</property>
-                <property name="position">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="label">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">baseline</property>
                 <property name="label" translatable="yes">(None)</property>
@@ -37,18 +31,15 @@
               </object>
               <packing>
                 <property name="expand">True</property>
-                <property name="fill">True</property>
                 <property name="position">1</property>
               </packing>
             </child>
             <child>
               <object class="GtkSeparator" id="separator1">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="orientation">vertical</property>
               </object>
               <packing>
-                <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">2</property>
               </packing>
@@ -56,14 +47,12 @@
             <child>
               <object class="GtkImage" id="open_file_icon">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="icon_name">document-open-symbolic</property>
                 <property name="icon_size">1</property>
                 <property name="use_fallback">True</property>
                 <property name="valign">baseline</property>
               </object>
               <packing>
-                <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">3</property>
               </packing>
@@ -73,14 +62,11 @@
       </object>
       <packing>
         <property name="expand">True</property>
-        <property name="fill">True</property>
-        <property name="position">0</property>
       </packing>
     </child>
     <child>
       <object class="GtkComboBox" id="combo_box">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <signal name="changed" handler="combo_box_changed_cb" swapped="no"/>
         <signal name="notify::popup-shown" handler="combo_box_notify_popup_shown_cb" swapped="no"/>
         <child>
@@ -98,7 +84,6 @@
       </object>
       <packing>
         <property name="expand">True</property>
-        <property name="fill">True</property>
         <property name="position">1</property>
       </packing>
     </child>


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