From 74bdad23cfbcabf7eca4c41e2f9dc55dcf6a30d5 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Fri, 27 Sep 2019 13:52:16 +0100 Subject: [PATCH] Applet: Fix changing the icon to a symbolic icon --- usr/lib/linuxmint/mintMenu/mintMenu.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 1cc3068..e7f695f 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -474,7 +474,6 @@ class MenuWin(object): applet_icon = self.settings.get_string("applet-icon") if not (os.path.exists(applet_icon) or self.icon_theme.has_icon(applet_icon)): self.settings.reset("applet-icon") - applet_icon = self.settings.get_string("applet-icon") self.scale = self.button_icon.get_scale_factor() self.symbolic = False self.pixbuf = None @@ -546,7 +545,6 @@ class MenuWin(object): def updateButton(self): self.systemlabel.set_text(self.buttonText) - self.button_icon.clear() self.set_applet_icon() self.sizeButton()