diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-04-02 09:31:28 -0300 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-04-03 15:38:10 +0200 |
commit | f8e927e6cdbc99240d8967a5e920ce33d45838d2 (patch) | |
tree | 39d4f530f1d8bce4c6bf6a15171e8cbfe381b60c /sd | |
parent | 2e6c853b8ecf42f829ec039336bdd7b8574ace2c (diff) |
tdf#160376 Add uno:Reload to the Notebookbar UI
The command uno:Reload is missing from some of the Notebookbar UI variants (f.i. in Calc notebookbar_compact.ui has it, but the others do not).
This patch adds the uno:Reload command to all variants of the Tabbed UI in all LO apps.
Change-Id: Ic56a05a15bc52a51bc45435ca938a6879452189f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165675
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar.ui | 19 | ||||
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar_compact.ui | 2 | ||||
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui | 13 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar.ui | 19 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar_compact.ui | 2 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui | 13 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui | 13 |
7 files changed, 73 insertions, 8 deletions
diff --git a/sd/uiconfig/sdraw/ui/notebookbar.ui b/sd/uiconfig/sdraw/ui/notebookbar.ui index bf0a03ea1229..37ab230d261c 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar.ui @@ -500,6 +500,19 @@ </object> </child> <child> + <object class="GtkMenuItem" id="MenuFile-Reload"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">.uno:Reload</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> <object class="GtkMenuItem" id="MenuFile-ExportTo"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -514,7 +527,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="MenuFile-separator2"> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator3"> <property name="visible">True</property> <property name="can_focus">False</property> </object> @@ -541,7 +554,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="MenuFile-separator3"> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator4"> <property name="visible">True</property> <property name="can_focus">False</property> </object> @@ -575,7 +588,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="MenuFile-separator4"> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator5"> <property name="visible">True</property> <property name="can_focus">False</property> </object> diff --git a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui index 6d45e5845bca..1404a3a29573 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui @@ -462,7 +462,7 @@ </child> <child> <object class="GtkMenuItem" id="MenuFile-Reload"> - <property name="visible">False</property> + <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">.uno:Reload</property> </object> diff --git a/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui b/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui index 81f1395a293c..2c98c6214e1d 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui @@ -744,6 +744,19 @@ </object> </child> <child> + <object class="GtkMenuItem" id="MenuFile-Reload"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">.uno:Reload</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> <object class="GtkMenuItem" id="ExportToD"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/sd/uiconfig/simpress/ui/notebookbar.ui b/sd/uiconfig/simpress/ui/notebookbar.ui index 843b7c9f079d..2c8bae2b579e 100644 --- a/sd/uiconfig/simpress/ui/notebookbar.ui +++ b/sd/uiconfig/simpress/ui/notebookbar.ui @@ -422,6 +422,19 @@ </object> </child> <child> + <object class="GtkMenuItem" id="MenuFile-Reload"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">.uno:Reload</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> <object class="GtkMenuItem" id="MenuFile-ExportTo"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -436,7 +449,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="MenuFile-separator2"> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator3"> <property name="visible">True</property> <property name="can_focus">False</property> </object> @@ -463,7 +476,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="MenuFile-separator3"> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator4"> <property name="visible">True</property> <property name="can_focus">False</property> </object> @@ -497,7 +510,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="MenuFile-separator4"> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator5"> <property name="visible">True</property> <property name="can_focus">False</property> </object> diff --git a/sd/uiconfig/simpress/ui/notebookbar_compact.ui b/sd/uiconfig/simpress/ui/notebookbar_compact.ui index 63b167880c3f..ad76c236894e 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_compact.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_compact.ui @@ -461,7 +461,7 @@ </child> <child> <object class="GtkMenuItem" id="MenuFile-Reload"> - <property name="visible">False</property> + <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">.uno:Reload</property> </object> diff --git a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui index dbb79ead7deb..4f91bf2a2790 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui @@ -724,6 +724,19 @@ </object> </child> <child> + <object class="GtkMenuItem" id="MenuFile-Reload"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">.uno:Reload</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> <object class="GtkMenuItem" id="ExportToD"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui index dea621413f5c..636030ffd8ba 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui @@ -774,6 +774,19 @@ </object> </child> <child> + <object class="GtkMenuItem" id="MenuFile-Reload"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">.uno:Reload</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="MenuFile-separator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> <object class="GtkMenuItem" id="ExportToD"> <property name="visible">True</property> <property name="can_focus">False</property> |