[gnome-builder] greeter: bring back Open Project menu item



commit 3997ffa43d94975f19a3f858737357b6f2e1b8c4
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 21 12:37:37 2019 -0800

    greeter: bring back Open Project menu item
    
    This goes to the same place as close-project, but without closing the
    current project.

 src/plugins/greeter/gtk/menus.ui | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/src/plugins/greeter/gtk/menus.ui b/src/plugins/greeter/gtk/menus.ui
index e702ccfda..2b2d94bfb 100644
--- a/src/plugins/greeter/gtk/menus.ui
+++ b/src/plugins/greeter/gtk/menus.ui
@@ -61,6 +61,12 @@
   </menu>
   <menu id="ide-primary-workspace-menu">
     <section id="ide-primary-workspace-menu-projects-section">
+      <item>
+        <attribute name="id">ide-primary-workspace-menu-open</attribute>
+        <attribute name="label" translatable="yes">Open _Project…</attribute>
+        <attribute name="action">app.present-greeter-with-surface</attribute>
+        <attribute name="target" type="s">''</attribute>
+      </item>
       <item>
         <attribute name="id">ide-primary-workspace-menu-clone</attribute>
         <attribute name="label" translatable="yes">_Clone Repository…</attribute>
@@ -71,6 +77,12 @@
   </menu>
   <menu id="ide-editor-workspace-menu">
     <section id="ide-editor-workspace-menu-projects-section">
+      <item>
+        <attribute name="id">ide-editor-workspace-menu-open</attribute>
+        <attribute name="label" translatable="yes">Open _Project…</attribute>
+        <attribute name="action">app.present-greeter-with-surface</attribute>
+        <attribute name="target" type="s">''</attribute>
+      </item>
       <item>
         <attribute name="id">ide-editor-workspace-menu-clone</attribute>
         <attribute name="label" translatable="yes">_Clone Repository…</attribute>


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