[gnome-builder] GbDocumentStack: remove redundant close button



commit 694c6a77f213f22238e62ad8db65dc0514341240
Author: Christian Hergert <christian hergert me>
Date:   Wed Dec 17 06:33:17 2014 -0800

    GbDocumentStack: remove redundant close button
    
    We have a close button in the hamburger menu, and <Control>W which should
    be sufficient. So let's just drop the close button which clashes a lot
    with the window close button.

 src/resources/ui/gb-document-stack.ui |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/resources/ui/gb-document-stack.ui b/src/resources/ui/gb-document-stack.ui
index edfc859..3093dda 100644
--- a/src/resources/ui/gb-document-stack.ui
+++ b/src/resources/ui/gb-document-stack.ui
@@ -41,23 +41,6 @@
             <property name="visible">true</property>
           </object>
         </child>
-        <child>
-          <object class="GtkButton" id="close">
-            <property name="visible">false</property>
-            <property name="action-name">stack.close</property>
-            <property name="tooltip_text">Close the current document</property>
-            <style>
-              <class name="image-button"/>
-              <class name="tab-header-last"/>
-            </style>
-            <child>
-              <object class="GtkImage">
-                <property name="visible">true</property>
-                <property name="icon_name">window-close-symbolic</property>
-              </object>
-            </child>
-          </object>
-        </child>
       </object>
     </child>
     <child>


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