[epiphany] Remove New Window items from window menu
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Remove New Window items from window menu
- Date: Wed, 18 Apr 2018 03:02:22 +0000 (UTC)
commit 0d491b7df543255b7652e3837a5871603f51504d
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Apr 17 22:01:09 2018 -0500
Remove New Window items from window menu
We've received some criticism for arbitrary menu layouts, and the
duplication of these menu items with the app menu was one of those
points. Let's reserve the window menu for items that are specific to the
current window.
src/resources/gtk/page-menu-popover-flatpak.ui | 16 ----------------
src/resources/gtk/page-menu-popover.ui | 16 ----------------
2 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/src/resources/gtk/page-menu-popover-flatpak.ui b/src/resources/gtk/page-menu-popover-flatpak.ui
index 5160f58..6332678 100644
--- a/src/resources/gtk/page-menu-popover-flatpak.ui
+++ b/src/resources/gtk/page-menu-popover-flatpak.ui
@@ -134,22 +134,6 @@
</object>
</child>
<child>
- <object class="GtkModelButton">
- <property name="can_focus">True</property>
- <property name="text" translatable="yes">New _Window</property>
- <property name="action-name">app.new-window</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkModelButton">
- <property name="can_focus">True</property>
- <property name="text" translatable="yes">New _Incognito Window</property>
- <property name="action-name">app.new-incognito</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
<object class="GtkSeparator">
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
diff --git a/src/resources/gtk/page-menu-popover.ui b/src/resources/gtk/page-menu-popover.ui
index 651ae41..845245f 100644
--- a/src/resources/gtk/page-menu-popover.ui
+++ b/src/resources/gtk/page-menu-popover.ui
@@ -134,22 +134,6 @@
</object>
</child>
<child>
- <object class="GtkModelButton">
- <property name="can_focus">True</property>
- <property name="text" translatable="yes">New _Window</property>
- <property name="action-name">app.new-window</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkModelButton">
- <property name="can_focus">True</property>
- <property name="text" translatable="yes">New _Incognito Window</property>
- <property name="action-name">app.new-incognito</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
<object class="GtkSeparator">
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]