remove unused variables from favoritesBuildLauncher

This commit is contained in:
gm10 2019-02-12 14:38:46 +01:00 committed by Clement Lefebvre
parent 37cd852738
commit 7504a11bba

View File

@ -1189,16 +1189,9 @@ class pluginclass(object):
def favoritesBuildLauncher(self, location): def favoritesBuildLauncher(self, location):
try: try:
ButtonIcon = None
# For Folders and Network Shares # For Folders and Network Shares
location = "".join(location.split("%20")) 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? # TODO: Do we still need this?
#For Special locations #For Special locations
if location == "x-nautilus-desktop:///computer": if location == "x-nautilus-desktop:///computer":