diff options
author | andreas kainz <kainz.a@gmail.com> | 2019-12-15 08:42:37 +0100 |
---|---|---|
committer | andreas_kainz <kainz.a@gmail.com> | 2019-12-15 11:13:36 +0100 |
commit | 6052f14fd380c325f78dbba1a38af5a049ef5ef2 (patch) | |
tree | f5b8c5ff7ab90e041700e67acb4710bfa2a3171c /sd/uiconfig/sdraw/ui | |
parent | bcc74f619bf87ab97ffc48ab33e031d357952a70 (diff) |
NB contextual single extension support
Change-Id: I07fadfc19cb265408140c2492f0f136c18082e80
Reviewed-on: https://gerrit.libreoffice.org/85159
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_single.ui | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/sd/uiconfig/sdraw/ui/notebookbar_single.ui b/sd/uiconfig/sdraw/ui/notebookbar_single.ui index 81aef999ba81..cf66990c4c86 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_single.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_single.ui @@ -3,6 +3,30 @@ <interface domain="sd"> <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="GtkGrid" id="NotebookBar"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1316,6 +1340,90 @@ <property name="position">21</property> </packing> </child> + <child> + <object class="sfxlo-OptionalBox" id="Default-Section-Extension"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="baseline_position">bottom</property> + <child> + <object class="GtkSeparator" id="separator13"> + <property name="visible">True</property> + <property name="can_focus">False</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="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="Section54"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <child> + <object class="sfxlo-NotebookbarToolBox" id="SectionBottom12"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="toolbar_style">icons</property> + <property name="show_arrow">False</property> + <child> + <object class="NotebookBarAddonsToolMergePoint" id="AddonCommand"> + <property name="visible">True</property> + <property name="can_focus">False</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_single|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="valign">center</property> + <property name="relief">none</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <style> + <class name="priority-1"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">22</property> + </packing> + </child> <style> <class name="context-Default"/> <class name="context-DrawPage"/> |