[Libreoffice-commits] core.git: cui/uiconfig sfx2/uiconfig vcl/inc vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Jun 6 19:33:48 UTC 2021


 cui/uiconfig/ui/menuassignpage.ui |    4 ++--
 sfx2/uiconfig/ui/templatedlg.ui   |    2 +-
 vcl/inc/bitmaps.hlst              |    1 +
 vcl/source/window/builder.cxx     |    2 ++
 4 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit baab429763bef88c22d5c6656197ff28a7d6134f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jun 5 21:22:22 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jun 6 21:33:04 2021 +0200

    use open-menu-symbolic for menubutton gear menus
    
    https: //wiki.gnome.org/Initiatives/GnomeGoals/GearIcons
    Change-Id: Ia95451f950728c4174887a042a6666e1dd7cc1ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116753
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/uiconfig/ui/menuassignpage.ui b/cui/uiconfig/ui/menuassignpage.ui
index 2c6f075a0ba4..70aab7c577c2 100644
--- a/cui/uiconfig/ui/menuassignpage.ui
+++ b/cui/uiconfig/ui/menuassignpage.ui
@@ -27,13 +27,13 @@
   <object class="GtkImage" id="image7">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
-    <property name="icon_name">sfx2/res/actionaction013.png</property>
+    <property name="icon_name">open-menu-symbolic</property>
     <property name="icon_size">2</property>
   </object>
   <object class="GtkImage" id="image8">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
-    <property name="icon_name">sfx2/res/actionaction013.png</property>
+    <property name="icon_name">open-menu-symbolic</property>
     <property name="icon_size">2</property>
   </object>
   <object class="GtkMenu" id="insertmenu">
diff --git a/sfx2/uiconfig/ui/templatedlg.ui b/sfx2/uiconfig/ui/templatedlg.ui
index 2ae5bc539c8f..1b3d9fe3a778 100644
--- a/sfx2/uiconfig/ui/templatedlg.ui
+++ b/sfx2/uiconfig/ui/templatedlg.ui
@@ -33,7 +33,7 @@
   <object class="GtkImage" id="image7">
     <property name="visible">True</property>
     <property name="can-focus">False</property>
-    <property name="icon-name">sfx2/res/actionaction013.png</property>
+    <property name="icon-name">open-menu-symbolic</property>
   </object>
   <object class="GtkImage" id="image8">
     <property name="visible">True</property>
diff --git a/vcl/inc/bitmaps.hlst b/vcl/inc/bitmaps.hlst
index c370883e26dc..684636852d68 100644
--- a/vcl/inc/bitmaps.hlst
+++ b/vcl/inc/bitmaps.hlst
@@ -138,6 +138,7 @@
 #define IMG_REMOVE  "extensions/res/scanner/minus.png"
 #define IMG_COPY    "cmd/sc_copy.png"
 #define IMG_PASTE   "cmd/sc_paste.png"
+#define IMG_MENU    "sfx2/res/actionaction013.png"
 
 #define RID_BMP_TREENODE_COLLAPSED  "res/plus.png"
 #define RID_BMP_TREENODE_EXPANDED   "res/minus.png"
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 7c955a76e476..ef293d737f59 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -106,6 +106,8 @@ namespace
             return IMG_COPY;
         else if (sType == u"edit-paste")
             return IMG_PASTE;
+        else if (sType == u"open-menu-symbolic")
+            return IMG_MENU;
         return OUString();
     }
 


More information about the Libreoffice-commits mailing list