remove unused variables from favoritesBuildLauncher
This commit is contained in:
parent
37cd852738
commit
7504a11bba
@ -1189,16 +1189,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":
|
||||
|
Loading…
Reference in New Issue
Block a user