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 /sw | |
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 'sw')
-rw-r--r-- | sw/uiconfig/swriter/ui/notebookbar_single.ui | 170 |
1 files changed, 139 insertions, 31 deletions
diff --git a/sw/uiconfig/swriter/ui/notebookbar_single.ui b/sw/uiconfig/swriter/ui/notebookbar_single.ui index 668309f90dd1..373ea1d55db4 100644 --- a/sw/uiconfig/swriter/ui/notebookbar_single.ui +++ b/sw/uiconfig/swriter/ui/notebookbar_single.ui @@ -3,6 +3,30 @@ <interface domain="sw"> <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> @@ -228,7 +252,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">1</property> + <property name="position">0</property> </packing> </child> <child> @@ -401,7 +425,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> <child> @@ -454,7 +478,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">3</property> + <property name="position">2</property> </packing> </child> <child> @@ -493,7 +517,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">4</property> + <property name="position">3</property> </packing> </child> <child> @@ -544,7 +568,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">5</property> + <property name="position">4</property> </packing> </child> <child> @@ -675,7 +699,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">6</property> + <property name="position">5</property> </packing> </child> <child> @@ -724,7 +748,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">7</property> + <property name="position">6</property> </packing> </child> <child> @@ -786,7 +810,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">8</property> + <property name="position">7</property> </packing> </child> <child> @@ -823,7 +847,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">9</property> + <property name="position">8</property> </packing> </child> <child> @@ -891,13 +915,13 @@ </packing> </child> <style> - <class name="priority-12"/> + <class name="priority-13"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">10</property> + <property name="position">9</property> </packing> </child> <child> @@ -960,13 +984,13 @@ </packing> </child> <style> - <class name="priority-11"/> + <class name="priority-12"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">11</property> + <property name="position">10</property> </packing> </child> <child> @@ -1046,13 +1070,13 @@ </packing> </child> <style> - <class name="priority-10"/> + <class name="priority-11"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">12</property> + <property name="position">11</property> </packing> </child> <child> @@ -1120,13 +1144,13 @@ </packing> </child> <style> - <class name="priority-9"/> + <class name="priority-10"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">13</property> + <property name="position">12</property> </packing> </child> <child> @@ -1170,13 +1194,13 @@ </packing> </child> <style> - <class name="priority-8"/> + <class name="priority-9"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">14</property> + <property name="position">13</property> </packing> </child> <child> @@ -1217,13 +1241,13 @@ </packing> </child> <style> - <class name="priority-7"/> + <class name="priority-8"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">15</property> + <property name="position">14</property> </packing> </child> <child> @@ -1267,13 +1291,13 @@ </packing> </child> <style> - <class name="priority-6"/> + <class name="priority-7"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">16</property> + <property name="position">15</property> </packing> </child> <child> @@ -1307,13 +1331,13 @@ </packing> </child> <style> - <class name="priority-5"/> + <class name="priority-6"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">17</property> + <property name="position">16</property> </packing> </child> <child> @@ -1433,13 +1457,13 @@ </packing> </child> <style> - <class name="priority-4"/> + <class name="priority-5"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">18</property> + <property name="position">17</property> </packing> </child> <child> @@ -1519,13 +1543,13 @@ </packing> </child> <style> - <class name="priority-3"/> + <class name="priority-4"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">19</property> + <property name="position">18</property> </packing> </child> <child> @@ -1593,13 +1617,13 @@ </packing> </child> <style> - <class name="priority-2"/> + <class name="priority-3"/> </style> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">20</property> + <property name="position">19</property> </packing> </child> <child> @@ -1668,6 +1692,90 @@ </packing> </child> <style> + <class name="priority-2"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">20</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="separator60"> + <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="SectionBottom70"> + <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_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> |