From 8f2d18f5ed7cfad7722bdf6013f05c21e8433535 Mon Sep 17 00:00:00 2001 From: gm10 <13855078+gm10@users.noreply.github.com> Date: Tue, 12 Feb 2019 14:38:46 +0100 Subject: [PATCH] remove unused variables from favoritesBuildLauncher --- usr/lib/linuxmint/mintMenu/plugins/applications.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 3e4b8d3..a213ef9 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -1196,16 +1196,9 @@ class pluginclass(object): def favoritesBuildLauncher(self, location): try: - ButtonIcon = None # For Folders and Network Shares location = "".join(location.split("%20")) - if location.startswith("file"): - ButtonIcon = "mate-fs-directory" - - if location.startswith("smb") or location.startswith("ssh") or location.startswith("network"): - ButtonIcon = "mate-fs-network" - # TODO: Do we still need this? #For Special locations if location == "x-nautilus-desktop:///computer":