diff options
author | andreas kainz <kainz.a@gmail.com> | 2019-12-10 17:32:47 +0100 |
---|---|---|
committer | andreas_kainz <kainz.a@gmail.com> | 2019-12-11 00:25:49 +0100 |
commit | 79b02686dee17945751063f3b33fc51ccfe3da41 (patch) | |
tree | 08f4c89691a48348f81ca763566a9e935ebf1a21 /sc/uiconfig | |
parent | 660ffeb073e42ba688c39cd2171900f6874a9055 (diff) |
Calc add Extension support to Tabbed NB
Change-Id: I2a6e17d8c9a126155ec599fe50d6d84d074c8ddc
Reviewed-on: https://gerrit.libreoffice.org/84878
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
(cherry picked from commit bb3865c96f3a12f6b9e9b551e5f68a2731e3deb4)
Reviewed-on: https://gerrit.libreoffice.org/84907
Diffstat (limited to 'sc/uiconfig')
-rw-r--r-- | sc/uiconfig/scalc/ui/notebookbar.ui | 167 | ||||
-rw-r--r-- | sc/uiconfig/scalc/ui/notebookbar_compact.ui | 165 |
2 files changed, 327 insertions, 5 deletions
diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui b/sc/uiconfig/scalc/ui/notebookbar.ui index 59c268c7e9b9..05b05ced70a8 100644 --- a/sc/uiconfig/scalc/ui/notebookbar.ui +++ b/sc/uiconfig/scalc/ui/notebookbar.ui @@ -3,6 +3,30 @@ <interface domain="sc"> <requires lib="gtk+" version="3.18"/> <requires lib="LibreOffice" version="1.0"/> + <object class="GtkMenu" id="Menu Addons"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="NotebookBarAddonsMenuMergePoint" id="AddonCommands-Menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">AddonCommand</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="AddonSection-Separator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="Menu-Extension-PackageManagerDialog"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">service:com.sun.star.deployment.ui.PackageManagerDialog</property> + </object> + </child> + </object> <object class="GtkMenu" id="Menu Data"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -15932,7 +15956,146 @@ </packing> </child> <child> - <object class="sfxlo-PriorityHBox" id="Tool sTab"> + <object class="sfxlo-PriorityHBox" id="Extension Tab"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="sfxlo-PriorityMergedHBox" id="Extension"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <child> + <object class="NotebookBarAddonsToolMergePoint" id="AddonCommand"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="sfxlo-DropdownBox" id="Extension-Menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <child> + <object class="GtkBox" id="Extension-Section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <child> + <object class="svtlo-ManagedMenuButton" id="Extension-ExtensionButton:Menu Addons"> + <property name="label" translatable="yes" context="WriterNotebookbar|FormMenuButton">E_xtension</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="focus_on_click">False</property> + <property name="receives_default">False</property> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <property name="relief">none</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom40"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="halign">end</property> + <property name="hexpand">True</property> + <property name="toolbar_style">both-horiz</property> + <property name="show_arrow">False</property> + <property name="icon_size">1</property> + <child> + <object class="GtkToolButton" id="ExtensionMenu-ExtensionDialog"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">service:com.sun.star.deployment.ui.PackageManagerDialog</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkSeparator" id="separator20"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="margin_top">5</property> + <property name="margin_bottom">5</property> + <property name="orientation">vertical</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">5</property> + <property name="pack_type">end</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="position">14</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="ExtensionLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="WriterNotebookbar|ExtensionLabel">E~xtension</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="position">14</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="sfxlo-PriorityHBox" id="Tools Tab"> <property name="visible">True</property> <property name="can_focus">False</property> <child> @@ -17169,7 +17332,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom40"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom76"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="halign">end</property> diff --git a/sc/uiconfig/scalc/ui/notebookbar_compact.ui b/sc/uiconfig/scalc/ui/notebookbar_compact.ui index 3096a6253cee..d6e3dac4688c 100644 --- a/sc/uiconfig/scalc/ui/notebookbar_compact.ui +++ b/sc/uiconfig/scalc/ui/notebookbar_compact.ui @@ -3,6 +3,30 @@ <interface domain="sc"> <requires lib="gtk+" version="3.18"/> <requires lib="LibreOffice" version="1.0"/> + <object class="GtkMenu" id="Menu Addons"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="NotebookBarAddonsMenuMergePoint" id="AddonCommands-Menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">AddonCommand</property> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="AddonSection-Separator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="Menu-Extension-PackageManagerDialog"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">service:com.sun.star.deployment.ui.PackageManagerDialog</property> + </object> + </child> + </object> <object class="GtkMenu" id="Menu Data"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -15538,6 +15562,141 @@ </packing> </child> <child> + <object class="sfxlo-PriorityHBox" id="Extension Tab"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="sfxlo-PriorityMergedHBox" id="Extension"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <child> + <object class="NotebookBarAddonsToolMergePoint" id="AddonCommand"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="sfxlo-DropdownBox" id="Extension-Menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <child> + <object class="GtkBox" id="Extension-Section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <child> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom122"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">center</property> + <property name="show_arrow">False</property> + <child> + <object class="GtkToolButton" id="ExtensionMenu-ExtensionDialog"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="action_name">service:com.sun.star.deployment.ui.PackageManagerDialog</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="svtlo-ManagedMenuButton" id="Extension-ExtensionButton:Menu Addons"> + <property name="label" translatable="yes" context="notebookbar_compact|ExtensionMenuButton">E_xtension</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="focus_on_click">False</property> + <property name="receives_default">False</property> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <property name="relief">none</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkSeparator" id="separator31"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="margin_top">5</property> + <property name="margin_bottom">5</property> + <property name="orientation">vertical</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">5</property> + <property name="pack_type">end</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="position">14</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="ExtensionLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="notebookbar_compact|ExtensionLabel">E~xtension</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="position">14</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> <object class="sfxlo-PriorityHBox" id="Tools Tab"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -15769,7 +15928,7 @@ <property name="valign">center</property> <property name="vexpand">True</property> <child> - <object class="GtkSeparator" id="separator31"> + <object class="GtkSeparator" id="separator68"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> @@ -16410,7 +16569,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom122"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom37"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="toolbar_style">icons</property> @@ -16587,7 +16746,7 @@ </packing> </child> <child> - <object class="GtkSeparator" id="separator68"> + <object class="GtkSeparator" id="separator116"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> |