remove unused variables from favoritesBuildLauncher

This commit is contained in:
gm10 2019-02-12 14:38:46 +01:00
parent 62ce1a06fb
commit 8f2d18f5ed
No known key found for this signature in database
GPG Key ID: A981D4EA8CF993A9

View File

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