diff --git a/usr/lib/linuxmint/mintMenu/preferences.py b/usr/lib/linuxmint/mintMenu/preferences.py index 771ce6e..77d1c89 100755 --- a/usr/lib/linuxmint/mintMenu/preferences.py +++ b/usr/lib/linuxmint/mintMenu/preferences.py @@ -67,7 +67,12 @@ class mintMenuPreferences(): section = page.add_section(_("Menu button"), _("Applet button in the panel")) section.add_row(GSettingsSwitch(_("Show button icon"), "com.linuxmint.mintmenu", "show-applet-icon")) section.add_reveal_row(GSettingsEntry(_("Button text"), "com.linuxmint.mintmenu", "applet-text"), "com.linuxmint.mintmenu", "show-applet-icon") - section.add_reveal_row(GSettingsIconChooser(_("Button icon"), "com.linuxmint.mintmenu", "applet-icon"), "com.linuxmint.mintmenu", "show-applet-icon") + logos = {} + logos['name']= _("Menu icons") + logos['icons']= self.settings.get_strv("applet-icons") + icon_chooser = GSettingsIconChooser(_("Button icon"), "com.linuxmint.mintmenu", "applet-icon", default_icon=self.settings.get_string("default-applet-icon"), custom=[logos]) + icon_chooser.content_widget.set_default_category(_("Menu icons")) + section.add_reveal_row(icon_chooser, "com.linuxmint.mintmenu", "show-applet-icon") binding_widget = keybinding.KeybindingWidget() binding_widget.set_val(self.settings.get_string("hot-key")) diff --git a/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml b/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml index 231b8e7..0aa4b5d 100644 --- a/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml +++ b/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml @@ -56,6 +56,24 @@ + + "linuxmint-logo-filled-ring" + + + + + + ["linuxmint-logo", "linuxmint-logo-badge", "linuxmint-logo-badge-symbolic", "linuxmint-logo-filled-badge", + "linuxmint-logo-filled-leaf-badge", "linuxmint-logo-filled-leaf", "linuxmint-logo-filled-ring", + "linuxmint-logo-leaf-badge", "linuxmint-logo-leaf-badge-symbolic", "linuxmint-logo-leaf", + "linuxmint-logo-leaf-symbolic", "linuxmint-logo-neon", "linuxmint-logo-ring", + "linuxmint-logo-ring-symbolic", "linuxmint-logo-simple", "linuxmint-logo-simple-symbolic", + "mate-symbolic", "emblem-favorite-symbolic", "user-bookmarks-symbolic", + "start-here-symbolic"] + + + + ['places', 'system_management', 'newpane', 'applications']