From 7cded29c8774966c7b1c769f2b5d0f632f9027bb Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Fri, 29 Nov 2019 12:01:29 +0000 Subject: [PATCH] Preferences: Fix IconChooser argument --- usr/lib/linuxmint/mintMenu/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/preferences.py b/usr/lib/linuxmint/mintMenu/preferences.py index 77d1c89..bfa6c0c 100755 --- a/usr/lib/linuxmint/mintMenu/preferences.py +++ b/usr/lib/linuxmint/mintMenu/preferences.py @@ -70,7 +70,7 @@ class mintMenuPreferences(): 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 = GSettingsIconChooser(_("Button icon"), "com.linuxmint.mintmenu", "applet-icon", default_icon=self.settings.get_string("default-applet-icon"), icon_categories=[logos]) icon_chooser.content_widget.set_default_category(_("Menu icons")) section.add_reveal_row(icon_chooser, "com.linuxmint.mintmenu", "show-applet-icon")