brisk-menu/brisk-menu-gsettings-icon-properties.patch
Hillwood Yang 2825818ed4 - Add patch: brisk-menu-gsettings-icon-properties.patch and brisk-menu-runtime-
icon-updates.patch. Add support for runtime icon configuration.
- Add patch: brisk-menu-fix-crash-on-desktop-file-changes-
  5f0be5741b5b37221fc8911c11f394ec498cd53d.patch. Backport upstream patch to
  fix crashes in odd cases when .desktop files are changed.
- Use %autosetup macro to apply patches.

OBS-URL: https://build.opensuse.org/package/show/X11:MATE:Factory/brisk-menu?expand=0&rev=21
2024-12-27 13:27:57 +00:00

33 lines
1.3 KiB
Diff

commit 0e175ab7243e8cffc5cd7acda7c9494dae6592f3
Author: Mihai Moldovan <ionic@ionic.de>
Date: Tue Jun 28 02:13:58 2022 +0200
gsettings schema: add properties icon-name and icon-symbolic.
We will use them later.
The icon-name property shall select the icon used in the menu button,
while the icon-symbolic property determines whether the icon will be
used in its symbolic or default variant.
diff --git a/data/com.solus-project.brisk-menu.gschema.xml b/data/com.solus-project.brisk-menu.gschema.xml
index d9806a6..40a1aea 100644
--- a/data/com.solus-project.brisk-menu.gschema.xml
+++ b/data/com.solus-project.brisk-menu.gschema.xml
@@ -56,5 +56,15 @@
<summary>Button label visibility</summary>
<description>Control the visibility of the main button label</description>
</key>
+ <key type="s" name="icon-name">
+ <default>'start-here'</default>
+ <summary>Icon to show in menu button</summary>
+ <description>Set the theme icon name to use in menu button.</description>
+ </key>
+ <key type="b" name="icon-symbolic">
+ <default>true</default>
+ <summary>Menu button uses symbolic icon</summary>
+ <description>Use a symbolic, i.e., low-color, icon variant in menu button.</description>
+ </key>
</schema>
</schemalist>