cui/uiconfig/ui/spellingdialog.ui | 2 +- vcl/inc/bitmaps.hlst | 1 + vcl/source/window/builder.cxx | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-)
New commits: commit 174430d7a831eede078b6718d991b506d39180f1 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Mar 29 21:37:59 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Mar 30 15:09:43 2024 +0100 Related: tdf#160159 use a stock icon for the character map https://specifications.freedesktop.org/icon-naming-spec/0.8/ar01s04.html Where "accessories-character-map" is "The icon used for the ... character accessory program" Change-Id: I48c72aaa3827037eb6921571bcce061fe60ac135 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165561 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/cui/uiconfig/ui/spellingdialog.ui b/cui/uiconfig/ui/spellingdialog.ui index f661a5a8b80e..9aa0ae3145e7 100644 --- a/cui/uiconfig/ui/spellingdialog.ui +++ b/cui/uiconfig/ui/spellingdialog.ui @@ -306,7 +306,7 @@ <property name="visible">True</property> <property name="label" translatable="yes" context="spellingdialog|insert">Special Character</property> <property name="use-underline">True</property> - <property name="icon-name">cmd/sc_insertsymbol.png</property> + <property name="icon-name">accessories-character-map</property> </object> <packing> <property name="expand">False</property> diff --git a/vcl/inc/bitmaps.hlst b/vcl/inc/bitmaps.hlst index f4ccaaa46a2e..da7f30a3ee8b 100644 --- a/vcl/inc/bitmaps.hlst +++ b/vcl/inc/bitmaps.hlst @@ -140,6 +140,7 @@ inline constexpr OUString IMG_COPY = u"cmd/sc_copy.png"_ustr; inline constexpr OUString IMG_PASTE = u"cmd/sc_paste.png"_ustr; inline constexpr OUString IMG_MENU = u"sfx2/res/menu.png"_ustr; inline constexpr OUString IMG_CALENDAR = u"sc/res/date.png"_ustr; +inline constexpr OUString IMG_CHARACTER_MAP = u"cmd/sc_insertsymbol.png"_ustr; inline constexpr OUString IMG_OPEN = u"cmd/sc_open.png"_ustr; inline constexpr OUString RID_BMP_TREENODE_COLLAPSED = u"res/plus.png"_ustr; diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index de5c5ea1bbce..fcb3a21fee30 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -118,6 +118,8 @@ namespace return SV_RESID_BITMAP_CLOSEDOC; else if (sType == u"x-office-calendar") return IMG_CALENDAR; + else if (sType == u"accessories-character-map") + return IMG_CHARACTER_MAP; return OUString(); }