Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cinnamon-desktop-editor.py: Check for item_path before modifying it.
The 'nemo-launcher' mode of the desktop editor doesn't use an original file location, only a destination. Fixes #8275
- Loading branch information
c42a03a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have Linux Mint 19.1 Cinnamon DE installed in early January 2019. My copy of cinnamon-desktop-editor.py contains
def check_custom_path(self): raise NotImplementedError()
Because I cannot add launchers to my Cinnamon desktop, I have altered it to contain as suggested.
def check_custom_path(self): #??? Bug fix #8275 near 19-Feb-2019 #??? raise NotImplementedError() #??? Rev by D.St.A--19-FEB-2019 if self.item_path: self.item_path = os.path.join(util.getUsserItemPath(), os.path.split(self.item_path)[1])
I remain unable to add a launcher to the desktop using right-click.