[gnome-photos/wip/rishi/help-overlay: 290/291] help-overlay: Move "Cancel" to Navigation



commit c63353d5545ef26115e3d15f995dbf2f8e177b49
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Feb 26 20:21:26 2018 +0100

    help-overlay: Move "Cancel" to Navigation
    
    It's widely used in different contexts, and avoids have a "Edit view"
    group with a single lone entry.

 src/photos-help-overlay.ui | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/src/photos-help-overlay.ui b/src/photos-help-overlay.ui
index ca00897a..df9ee614 100644
--- a/src/photos-help-overlay.ui
+++ b/src/photos-help-overlay.ui
@@ -50,6 +50,13 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
             <property name="title" translatable="yes" context="shortcut window">Navigation</property>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="title" translatable="yes" context="shortcut window">Cancel</property>
+                <property name="accelerator">Escape</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
@@ -192,19 +199,6 @@
             </child>
           </object>
         </child>
-        <child>
-          <object class="GtkShortcutsGroup">
-            <property name="visible">1</property>
-            <property name="title" translatable="yes" context="shortcut window">Edit view</property>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">1</property>
-                <property name="title" translatable="yes" context="shortcut window">Cancel</property>
-                <property name="accelerator">Escape</property>
-              </object>
-            </child>
-         </object>
-        </child>
       </object>
     </child>
   </object>


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