[nautilus/gtk4-preparation-trunk: 24/60] toolbar: Drop edit section from primary menu
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gtk4-preparation-trunk: 24/60] toolbar: Drop edit section from primary menu
- Date: Fri, 24 Dec 2021 03:11:24 +0000 (UTC)
commit dbf8bfc65afb440a66c5920841b6af614643486e
Author: António Fernandes <antoniof gnome org>
Date: Thu Dec 16 21:56:18 2021 +0000
toolbar: Drop edit section from primary menu
The layout of the edit buttons cannot be replicated using a model-bound
GtkPopover in GTK 3.
Also, action are duplicated in other menus and quite out of context in
this menu in my opinion.
Finally, removing these items opens space for Undo/Redo to be moved.
This commit is a preparation for the next one.
src/resources/ui/nautilus-toolbar.ui | 121 -----------------------------------
1 file changed, 121 deletions(-)
---
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index 16eebcfa1..bd39f7b4a 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -92,127 +92,6 @@
<property name="position">0</property>
</packing>
</child>
- <child>
- <object class="GtkSeparator">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_start">6</property>
- <property name="margin_top">6</property>
- <property name="margin_bottom">6</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_end">24</property>
- <property name="hexpand">True</property>
- <property name="label" translatable="yes">Edit</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="tooltip_text" translatable="yes">Cut</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
- <property name="hexpand">True</property>
- <property name="action_name">view.cut</property>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon_name">edit-cut-symbolic</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="tooltip_text" translatable="yes" comments="Translators: This is a
verb">Copy</property>
- <property name="halign">center</property>
- <property name="hexpand">True</property>
- <property name="action_name">view.copy</property>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon_name">edit-copy-symbolic</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="tooltip_text" translatable="yes">Paste</property>
- <property name="halign">center</property>
- <property name="hexpand">True</property>
- <property name="action_name">view.paste</property>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon_name">edit-paste-symbolic</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">3</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkSeparator">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- <packing>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkModelButton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="margin_top">6</property>
- <property name="margin_bottom">6</property>
- <property name="action_name">view.select-all</property>
- <property name="text" translatable="yes">Select All</property>
- </object>
- <packing>
- <property name="position">4</property>
- </packing>
- </child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]