diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-02-09 23:30:00 +0000 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-02-21 19:17:28 +0000 |
commit | 53bcb6c42fcb6f9ca6bf568a965c99d6c2b5ffb5 (patch) | |
tree | 53158805ddc5a62c4c15cf7500ecd7816f0cecac /sd | |
parent | 4d020dfe1439e963f0b2367ba984c2eb6eb153a5 (diff) |
tdf#153352 Use Promote/Demote in Tabbed UI instead of Increase/Decrease indent
As discussed in the ticket, the Tabbed UI of Impress/Draw uses the "Increase/Decrease indent" commands (.uno:DecrementIndent and .uno:IncrementIndent) which is confusing for the user.
When the user clicks this command, they want actually to Promote/Demote the list level, so instead we should use the commands .uno:OutlineLeft and .uno:OutlineRight here instead. This patch makes the Tabbed UI more coherent with the sidebar, which uses the correct commands.
Change-Id: I070b52e6fb31d348b1dd97c0ba28911f6e73590a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146705
Tested-by: Jenkins
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
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 | 8 | ||||
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar_compact.ui | 16 | ||||
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar_single.ui | 16 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar.ui | 8 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar_compact.ui | 16 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/notebookbar_single.ui | 16 |
6 files changed, 40 insertions, 40 deletions
diff --git a/sd/uiconfig/sdraw/ui/notebookbar.ui b/sd/uiconfig/sdraw/ui/notebookbar.ui index 7f558975d959..acf4fb3be153 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar.ui @@ -9005,11 +9005,11 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Home-IncrementIndent1"> + <object class="GtkToolButton" id="Home-OutlineRight1"> <property name="visible">True</property> <property name="halign">center</property> <property name="hexpand">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -9017,11 +9017,11 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Home-DecrementIndent1"> + <object class="GtkToolButton" id="Home-OutlineLeft1"> <property name="visible">True</property> <property name="halign">center</property> <property name="hexpand">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> diff --git a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui index 472bdac55b0f..ebc647c18ceb 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui @@ -8602,9 +8602,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Text-IncrementIndent"> + <object class="GtkToolButton" id="Text-OutlineRight"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -8612,9 +8612,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Text-DecrementIndent"> + <object class="GtkToolButton" id="Text-OutlineLeft"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> @@ -10064,9 +10064,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Table-IncrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineRight1"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -10074,9 +10074,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Table-DecrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineLeft1"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> diff --git a/sd/uiconfig/sdraw/ui/notebookbar_single.ui b/sd/uiconfig/sdraw/ui/notebookbar_single.ui index ccc2a2a9eef9..bc679e59355d 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_single.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_single.ui @@ -2199,9 +2199,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Table-IncrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineRight1"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -2209,9 +2209,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Table-DecrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineLeft1"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> @@ -9657,9 +9657,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Text-IncrementIndent"> + <object class="GtkToolButton" id="Text-OutlineRight"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -9667,9 +9667,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Text-DecrementIndent"> + <object class="GtkToolButton" id="Text-OutlineLeft"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> diff --git a/sd/uiconfig/simpress/ui/notebookbar.ui b/sd/uiconfig/simpress/ui/notebookbar.ui index 37c863e35bd6..73a2f160f86e 100644 --- a/sd/uiconfig/simpress/ui/notebookbar.ui +++ b/sd/uiconfig/simpress/ui/notebookbar.ui @@ -4214,11 +4214,11 @@ <property name="toolbar_style">icons</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Home-IncrementIndent"> + <object class="GtkToolButton" id="Home-OutlineRight"> <property name="visible">True</property> <property name="halign">center</property> <property name="hexpand">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -4226,11 +4226,11 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Home-DecrementIndent"> + <object class="GtkToolButton" id="Home-OutlineLeft"> <property name="visible">True</property> <property name="halign">center</property> <property name="hexpand">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> diff --git a/sd/uiconfig/simpress/ui/notebookbar_compact.ui b/sd/uiconfig/simpress/ui/notebookbar_compact.ui index a16e8fcf66a1..1e34d87a3189 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_compact.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_compact.ui @@ -4033,9 +4033,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Home-IncrementIndent"> + <object class="GtkToolButton" id="Home-OutlineRight"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -4043,9 +4043,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Home-DecrementIndent"> + <object class="GtkToolButton" id="Home-OutlineLeft"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> @@ -9620,9 +9620,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Table-IncrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineRight1"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -9630,9 +9630,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Table-DecrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineLeft1"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> diff --git a/sd/uiconfig/simpress/ui/notebookbar_single.ui b/sd/uiconfig/simpress/ui/notebookbar_single.ui index a5164383889a..510560896e6d 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_single.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_single.ui @@ -1860,9 +1860,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Table-IncrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineRight1"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -1870,9 +1870,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Table-DecrementIndent1"> + <object class="GtkToolButton" id="Table-OutlineLeft1"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> @@ -9256,9 +9256,9 @@ <property name="valign">center</property> <property name="show_arrow">False</property> <child> - <object class="GtkToolButton" id="Text-IncrementIndent"> + <object class="GtkToolButton" id="Text-OutlineRight"> <property name="visible">True</property> - <property name="action_name">.uno:IncrementIndent</property> + <property name="action_name">.uno:OutlineRight</property> </object> <packing> <property name="expand">False</property> @@ -9266,9 +9266,9 @@ </packing> </child> <child> - <object class="GtkToolButton" id="Text-DecrementIndent"> + <object class="GtkToolButton" id="Text-OutlineLeft"> <property name="visible">True</property> - <property name="action_name">.uno:DecrementIndent</property> + <property name="action_name">.uno:OutlineLeft</property> </object> <packing> <property name="expand">False</property> |