summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2019-04-05 05:36:22 +0200
committerandreas_kainz <kainz.a@gmail.com>2019-04-05 15:29:02 +0200
commit22d79472b6f395a2b4de74dc360bf8e61b1028e3 (patch)
tree01d3b0fdbf92ee722f98a1482d13148917e32018 /sw
parent95573cad5793ab6743307890b56c205e21fe9d6d (diff)
tdf#124392 remove undo/redo commands from groupedbar drop down
Change-Id: I7224eaf1b569d018a85fee6a65afe43d0d37bfbc Reviewed-on: https://gerrit.libreoffice.org/70298 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/uiconfig/swriter/ui/notebookbar_groupedbar_compact.ui321
-rw-r--r--sw/uiconfig/swriter/ui/notebookbar_groupedbar_full.ui27
2 files changed, 147 insertions, 201 deletions
diff --git a/sw/uiconfig/swriter/ui/notebookbar_groupedbar_compact.ui b/sw/uiconfig/swriter/ui/notebookbar_groupedbar_compact.ui
index 6fa718f7fd85..f11561be55f7 100644
--- a/sw/uiconfig/swriter/ui/notebookbar_groupedbar_compact.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar_groupedbar_compact.ui
@@ -674,33 +674,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkMenuItem" id="MenuEdit-Undo">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:Undo</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-Redo">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:Redo</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-Repeat">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:Repeat</property>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="MenuEdit-separator1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- </child>
- <child>
<object class="GtkMenuItem" id="MenuEdit-Cut">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -3895,11 +3868,11 @@
</packing>
</child>
<child>
- <object class="sfxlo-OptionalBox" id="Default-Section-Insert">
+ <object class="sfxlo-OptionalBox" id="Default-Section-Paragraph">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkSeparator" id="separator18">
+ <object class="GtkSeparator" id="separator6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">5</property>
@@ -3914,58 +3887,120 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="Section6">
+ <object class="GtkBox" id="Section5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
- <object class="sfxlo-NotebookbarToolBox" id="SectionBottom6">
+ <object class="GtkBox" id="box13">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="toolbar_style">icons</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkToolButton" id="Default-InsertGraphic">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:InsertGraphic</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
+ <property name="can_focus">False</property>
<child>
- <object class="GtkMenuToolButton" id="Default-InsertTable">
+ <object class="sfxlo-NotebookbarToolBox" id="ExtBottom2">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:InsertTable</property>
+ <property name="can_focus">True</property>
+ <property name="toolbar_style">icons</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="Default-LeftPara">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:LeftPara</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-CenterPara">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:CenterPara</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-RightPara">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:RightPara</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-JustifyPara">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:JustifyPara</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="Default-CharmapControl">
+ <object class="GtkSeparator" id="separator140">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:CharmapControl</property>
+ <property name="margin_top">5</property>
+ <property name="margin_bottom">5</property>
+ <property name="hexpand">True</property>
+ <property name="orientation">vertical</property>
</object>
<packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="Default-InsertPagebreak">
+ <object class="sfxlo-NotebookbarToolBox" id="SectionBottom35">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:InsertPagebreak</property>
+ <property name="can_focus">True</property>
+ <property name="toolbar_style">icons</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkMenuToolButton" id="Default-DefaultBullet">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:DefaultBullet</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkMenuToolButton" id="Default-DefaultNumbering">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:DefaultNumbering</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
@@ -3976,12 +4011,12 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="box44">
+ <object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="svtlo-ManagedMenuButton" id="Default-Insert:MenuInsert">
- <property name="label" translatable="yes" context="notebookbar_groupedbar_compact|InsertButton">_Insert</property>
+ <object class="svtlo-ManagedMenuButton" id="Default-Paragraph:MenuParagraph">
+ <property name="label" translatable="yes" context="notebookbar_groupedbar_compact|ParagraphButton">_Paragraph</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
@@ -3996,7 +4031,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-NotebookbarToolBox" id="ExtTop6">
+ <object class="sfxlo-NotebookbarToolBox" id="ExtBottom8">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
@@ -4004,10 +4039,21 @@
<property name="toolbar_style">icons</property>
<property name="show_arrow">False</property>
<child>
- <object class="GtkToolButton" id="Default-InsertDraw">
+ <object class="GtkMenuToolButton" id="Default-LineSpacing">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:InsertDraw</property>
+ <property name="action_name">.uno:LineSpacing</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkMenuToolButton" id="Default-BackgroundColor">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:BackgroundColor</property>
</object>
<packing>
<property name="expand">False</property>
@@ -4036,7 +4082,7 @@
</packing>
</child>
<style>
- <class name="priority-5"/>
+ <class name="priority-6"/>
</style>
</object>
<packing>
@@ -4046,11 +4092,11 @@
</packing>
</child>
<child>
- <object class="sfxlo-OptionalBox" id="Default-Section-Paragraph">
+ <object class="sfxlo-OptionalBox" id="Default-Section-Insert">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkSeparator" id="separator6">
+ <object class="GtkSeparator" id="separator18">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">5</property>
@@ -4065,120 +4111,58 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="Section5">
+ <object class="GtkBox" id="Section6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkBox" id="box13">
+ <object class="sfxlo-NotebookbarToolBox" id="SectionBottom6">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
+ <property name="toolbar_style">icons</property>
+ <property name="show_arrow">False</property>
<child>
- <object class="sfxlo-NotebookbarToolBox" id="ExtBottom2">
+ <object class="GtkToolButton" id="Default-InsertGraphic">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="toolbar_style">icons</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkToolButton" id="Default-LeftPara">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:LeftPara</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="Default-CenterPara">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:CenterPara</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="Default-RightPara">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:RightPara</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="Default-JustifyPara">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:JustifyPara</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:InsertGraphic</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
+ <property name="homogeneous">True</property>
</packing>
</child>
<child>
- <object class="GtkSeparator" id="separator140">
+ <object class="GtkMenuToolButton" id="Default-InsertTable">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_top">5</property>
- <property name="margin_bottom">5</property>
- <property name="hexpand">True</property>
- <property name="orientation">vertical</property>
+ <property name="action_name">.uno:InsertTable</property>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">5</property>
- <property name="position">1</property>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
</packing>
</child>
<child>
- <object class="sfxlo-NotebookbarToolBox" id="SectionBottom35">
+ <object class="GtkToolButton" id="Default-CharmapControl">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="toolbar_style">icons</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkMenuToolButton" id="Default-DefaultBullet">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:DefaultBullet</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkMenuToolButton" id="Default-DefaultNumbering">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:DefaultNumbering</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:CharmapControl</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-InsertPagebreak">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:InsertPagebreak</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
</packing>
</child>
</object>
@@ -4189,12 +4173,12 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="box2">
+ <object class="GtkBox" id="box44">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="svtlo-ManagedMenuButton" id="Default-Paragraph:MenuParagraph">
- <property name="label" translatable="yes" context="notebookbar_groupedbar_compact|ParagraphButton">_Paragraph</property>
+ <object class="svtlo-ManagedMenuButton" id="Default-Insert:MenuInsert">
+ <property name="label" translatable="yes" context="notebookbar_groupedbar_compact|InsertButton">_Insert</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
@@ -4209,7 +4193,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-NotebookbarToolBox" id="ExtBottom8">
+ <object class="sfxlo-NotebookbarToolBox" id="ExtTop6">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
@@ -4217,21 +4201,10 @@
<property name="toolbar_style">icons</property>
<property name="show_arrow">False</property>
<child>
- <object class="GtkMenuToolButton" id="Default-LineSpacing">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:LineSpacing</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkMenuToolButton" id="Default-BackgroundColor">
+ <object class="GtkToolButton" id="Default-InsertDraw">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:BackgroundColor</property>
+ <property name="action_name">.uno:InsertDraw</property>
</object>
<packing>
<property name="expand">False</property>
@@ -4260,7 +4233,7 @@
</packing>
</child>
<style>
- <class name="priority-6"/>
+ <class name="priority-5"/>
</style>
</object>
<packing>
diff --git a/sw/uiconfig/swriter/ui/notebookbar_groupedbar_full.ui b/sw/uiconfig/swriter/ui/notebookbar_groupedbar_full.ui
index 83dc336e629f..18dae5f80466 100644
--- a/sw/uiconfig/swriter/ui/notebookbar_groupedbar_full.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar_groupedbar_full.ui
@@ -674,33 +674,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkMenuItem" id="MenuEdit-Undo">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:Undo</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-Redo">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:Redo</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-Repeat">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:Repeat</property>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="MenuEdit-separator1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- </child>
- <child>
<object class="GtkMenuItem" id="MenuEdit-Cut">
<property name="visible">True</property>
<property name="can_focus">False</property>