[gnome-builder] gui: Remove redundant Open File "New document" menu button item



commit bbed2bfcc3bbd4b4d72cdfd4c176cf737ed7958b
Author: vanadiae <vanadiae35 gmail com>
Date:   Fri Jul 16 18:25:48 2021 +0200

    gui: Remove redundant Open File "New document" menu button item
    
    I noticed while adding the mnemonics that there was a second "Open file"
    menu item, just that libdazzle de-duplicated them but it was visible
    once I added a mnemonic to one of the two items, as they would no longer
    match label.
    
    Since the Open File menu item is already added in the editor plugin, for
    both primary and editor workspace, this code is useless, so remove it.

 src/libide/gui/gtk/menus.ui | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/libide/gui/gtk/menus.ui b/src/libide/gui/gtk/menus.ui
index c0bbd65e0..91b72fddb 100644
--- a/src/libide/gui/gtk/menus.ui
+++ b/src/libide/gui/gtk/menus.ui
@@ -55,12 +55,6 @@
     <section id="new-document-section">
     </section>
     <section id="open-document-section">
-      <item>
-        <attribute name="id">open-file</attribute>
-        <attribute name="label" translatable="yes">Open Fileā€¦</attribute>
-        <attribute name="action">workbench.open</attribute>
-        <attribute name="accel">&lt;primary&gt;o</attribute>
-      </item>
     </section>
   </menu>
   <menu id="run-menu">


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