From 0d50bd925bdc02ae81a9ccf82423ab0c8ceae36e Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sun, 5 Apr 2020 21:45:44 +0300 Subject: [PATCH] patch: force icons in menus to be ON in GTK+3 VCLs --- 0001-Force-icons-in-menus-in-GTK-3-VCLs.patch | 31 +++++++++++++++++++ libreoffice.spec | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0001-Force-icons-in-menus-in-GTK-3-VCLs.patch diff --git a/0001-Force-icons-in-menus-in-GTK-3-VCLs.patch b/0001-Force-icons-in-menus-in-GTK-3-VCLs.patch new file mode 100644 index 0000000..9a44c1e --- /dev/null +++ b/0001-Force-icons-in-menus-in-GTK-3-VCLs.patch @@ -0,0 +1,31 @@ +From a1c8189f02ee694f049b2e04b9baffab3fafea22 Mon Sep 17 00:00:00 2001 +From: Mikhail Novosyolov +Date: Sun, 5 Apr 2020 20:53:46 +0300 +Subject: [PATCH] Force icons in menus in GTK+3 VCLs + +By default both IsSystemIconsInMenus and ShowIconsInMenues are true, +but IsSystemIconsInMenus being true forces taking GTK 3 default to not show icons. + +I beleive that icons help people to use menus. +Also, we are migrating users from libreoffice-kde4 to libreoffice-gtk3-kde5, +kde4 did show icons, so we would better keep them on. +--- + officecfg/registry/schema/org/openoffice/Office/Common.xcs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs +index 130726976..4b8c9055d 100644 +--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs ++++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs +@@ -2909,7 +2909,7 @@ + Indicates whether icons in the office menus should + shown/hidden by following the System theme. + +- true ++ false + + + +-- +2.20.1 + diff --git a/libreoffice.spec b/libreoffice.spec index 7f02966..2a36100 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -48,7 +48,7 @@ Summary: Office suite Name: libreoffice Epoch: 1 Version: 6.3.5 -Release: 7 +Release: 8 License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic Group: Office Url: http://www.libreoffice.org @@ -100,6 +100,7 @@ Patch3: 6fbfad6b00e8c35346ee59cd32a0d7ccc0d8c19c.patch Patch4: span-old-compilers.patch # prefer gtk3_kde5 over kde5 because of maturity of gtk3 rendering Patch5: gtk3_kde5-priority.patch +Patch6: 0001-Force-icons-in-menus-in-GTK-3-VCLs.patch # ROSA vendor patch Patch100: libreoffice-4.1-vendor.patch