Preferences: Fix IconChooser argument

This commit is contained in:
Clement Lefebvre 2019-11-29 12:01:29 +00:00
parent 82345466e9
commit 7cded29c87

View File

@ -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")