diff options
author | andreas kainz <kainz.a@gmail.com> | 2019-12-10 22:00:00 +0100 |
---|---|---|
committer | andreas_kainz <kainz.a@gmail.com> | 2019-12-13 02:10:12 +0100 |
commit | d755b2d4a3340f42a90d15d4795cc947a0b18e4a (patch) | |
tree | f92fd44aad10687cf650484b5a89cfece0380c66 /sd/uiconfig/sdraw/ui | |
parent | ff566c67d67e96c97bcf4064b39df6998733c84e (diff) |
Draw/Impress add Extension support to Tabbed NB
Change-Id: I44ab4107a826ed14bec770a4367cfb8eee09d316
Reviewed-on: https://gerrit.libreoffice.org/84900
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Diffstat (limited to 'sd/uiconfig/sdraw/ui')
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar.ui | 185 | ||||
-rw-r--r-- | sd/uiconfig/sdraw/ui/notebookbar_compact.ui | 183 |
2 files changed, 345 insertions, 23 deletions
diff --git a/sd/uiconfig/sdraw/ui/notebookbar.ui b/sd/uiconfig/sdraw/ui/notebookbar.ui index ff79272ca427..af2f48afa31b 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar.ui @@ -82,6 +82,30 @@ </object> </child> </object> + <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 Convert"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -17298,7 +17322,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom68"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom76"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="halign">end</property> @@ -18077,6 +18101,145 @@ </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> + <property name="orientation">vertical</property> + <child> + <object class="svtlo-ManagedMenuButton" id="Extension-ExtensionButton:Menu Addons"> + <property name="label" translatable="yes" context="drawnotebookbar|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="SectionBottom68"> + <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="separator50"> + <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">15</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="drawnotebookbar|ExtensionLabel">E~xtension</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="position">15</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> @@ -18516,7 +18679,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom76"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom77"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -18607,7 +18770,7 @@ <property name="vexpand">True</property> <property name="orientation">vertical</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom77"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom89"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -18653,7 +18816,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom89"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom95"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -18744,7 +18907,7 @@ <property name="vexpand">True</property> <property name="orientation">vertical</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom95"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom104"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -18790,7 +18953,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom104"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom118"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -18859,7 +19022,7 @@ <property name="valign">center</property> <property name="vexpand">True</property> <child> - <object class="GtkSeparator" id="separator50"> + <object class="GtkSeparator" id="separator58"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_top">5</property> @@ -18881,7 +19044,7 @@ <property name="vexpand">True</property> <property name="orientation">vertical</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom118"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom121"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -18927,7 +19090,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom121"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom129"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="toolbar_style">icons</property> @@ -19030,7 +19193,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom129"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom147"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="halign">end</property> @@ -19072,7 +19235,7 @@ </packing> </child> <child> - <object class="GtkSeparator" id="separator58"> + <object class="GtkSeparator" id="separator67"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> diff --git a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui index 9d3c8e517ea5..2b30487e5c78 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui @@ -82,6 +82,30 @@ </object> </child> </object> + <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 Draw"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -18223,7 +18247,7 @@ <property name="can_focus">False</property> <property name="valign">center</property> <child> - <object class="GtkSeparator" id="separator45"> + <object class="GtkSeparator" id="separator86"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -18397,7 +18421,7 @@ <property name="can_focus">False</property> <property name="valign">center</property> <child> - <object class="GtkSeparator" id="separator86"> + <object class="GtkSeparator" id="separator89"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -18494,7 +18518,7 @@ <property name="can_focus">False</property> <property name="valign">center</property> <child> - <object class="GtkSeparator" id="separator89"> + <object class="GtkSeparator" id="separator95"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -18715,7 +18739,7 @@ <property name="can_focus">False</property> <property name="valign">center</property> <child> - <object class="GtkSeparator" id="separator95"> + <object class="GtkSeparator" id="separator98"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -18830,7 +18854,7 @@ </packing> </child> <child> - <object class="GtkSeparator" id="separator98"> + <object class="GtkSeparator" id="separator103"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> @@ -19560,7 +19584,7 @@ <property name="can_focus">False</property> <property name="valign">center</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom122"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom123"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -19599,7 +19623,7 @@ <property name="can_focus">False</property> <property name="valign">center</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom123"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom124"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -19665,7 +19689,7 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom124"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom125"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> @@ -19818,7 +19842,7 @@ <property name="valign">center</property> <property name="vexpand">True</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom125"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom126"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="valign">center</property> @@ -19913,6 +19937,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_draw_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="separator45"> + <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">15</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_draw_compact|ExtensionLabel">E~xtension</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="position">15</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> @@ -20144,7 +20303,7 @@ <property name="valign">center</property> <property name="vexpand">True</property> <child> - <object class="GtkSeparator" id="separator103"> + <object class="GtkSeparator" id="separator123"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> @@ -20910,7 +21069,7 @@ <property name="valign">center</property> <property name="vexpand">True</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="SectionBottom126"> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom184"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="valign">center</property> @@ -20962,7 +21121,7 @@ </packing> </child> <child> - <object class="GtkSeparator" id="separator123"> + <object class="GtkSeparator" id="separator137"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> |