summaryrefslogtreecommitdiff
path: root/sc/uiconfig/scalc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-01-09 14:47:35 +0100
committerTomaž Vajngerl <quikee@gmail.com>2024-01-30 07:40:26 +0100
commit16890dc78a69146d16e672e718148f462d63f587 (patch)
tree42d567613c7b9714e5a50336f5aa66e2938e17d1 /sc/uiconfig/scalc
parent27ceca1996809c0f9390d1e9fb95dc7436ef1acf (diff)
lok: notebookbar: enable currency dropdown
Add .uno:NumberFormatCurrency item to .ui Use weld:: way of widgets creation so we can inject jsdialog code and popup will be correctly registered. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ib57e1cad617ca5c7198d67e107441ba062580f06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162623 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162710 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc/uiconfig/scalc')
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_online.ui12
1 files changed, 11 insertions, 1 deletions
diff --git a/sc/uiconfig/scalc/ui/notebookbar_online.ui b/sc/uiconfig/scalc/ui/notebookbar_online.ui
index adf29a1ab43c..599bef675503 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_online.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_online.ui
@@ -58,7 +58,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-NotebookbarToolBox" id="SectionBottom127">
+ <object class="GtkToolbar" id="WeldedToolbar">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="toolbar_style">icons</property>
@@ -73,6 +73,16 @@
<property name="homogeneous">True</property>
</packing>
</child>
+ <child>
+ <object class="GtkMenuToolButton" id="NumberFormatCurrency">
+ <property name="visible">True</property>
+ <property name="action_name">.uno:NumberFormatCurrency</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>