Skip to content

Commit

Permalink
notebookbar: move button for style deck to format tab
Browse files Browse the repository at this point in the history
We will also add shortcut inside style previews widget

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iec2a3aaa1b96b709fa27161678ff94ce39755d21
  • Loading branch information
eszkadev committed Dec 17, 2024
1 parent fd57a9a commit 587288d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions browser/src/control/Control.Menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ L.Control.Menubar = L.Control.extend({
{type: 'separator'},
{uno: '.uno:FontDialog'},
{uno: '.uno:ParagraphDialog'},
{uno: '.uno:SidebarDeck.StyleListDeck'},
{uno: '.uno:OutlineBullet'},
{uno: '.uno:ThemeDialog'},
{type: 'separator'},
Expand Down
5 changes: 0 additions & 5 deletions browser/src/control/Control.Notebookbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,6 @@ L.Control.Notebookbar = L.Control.extend({
'text': _UNO('.uno:Sidebar', '', true),
'command': '.uno:SidebarDeck.PropertyDeck'
},
{
'type': 'toolitem',
'text': _UNO('.uno:SidebarDeck.StyleListDeck'),
'command': '.uno:SidebarDeck.StyleListDeck'
},
{
'type': 'toolitem',
'text': _UNO('.uno:Navigator'),
Expand Down
7 changes: 7 additions & 0 deletions browser/src/control/Control.NotebookbarWriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,13 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
'command': '.uno:ParagraphDialog',
'accessibility': { focusBack: false, combination: 'B', de: null }
},
{
'id': 'format-style-dialog',
'type': 'bigtoolitem',
'text': _UNO('.uno:SidebarDeck.StyleListDeck'),
'command': '.uno:SidebarDeck.StyleListDeck',
'accessibility': { focusBack: false, combination: 'SD', de: null }
},
{
'id': 'format-FormatBulletsMenu',
'type': 'menubutton',
Expand Down

0 comments on commit 587288d

Please sign in to comment.