Add support for menulibre

This commit is contained in:
Clement Lefebvre 2019-07-23 12:33:52 +02:00
parent 3173f6cc6b
commit 6f7a4bf3a6
2 changed files with 5 additions and 2 deletions

2
debian/control vendored
View File

@ -27,7 +27,7 @@ Depends:
gir1.2-gtk-3.0,
gir1.2-mate-desktop,
gir1.2-xapp-1.0,
mozo
menulibre | mozo
Description: Advanced MATE menu
One of the most advanced menus under Linux. MintMenu supports filtering,
favorites, easy-uninstallation, autosession, and many other features.

View File

@ -595,6 +595,9 @@ class MenuWin(object):
Execute("/usr/lib/linuxmint/mintMenu/preferences.py")
def showMenuEditor(self, action, userdata = None):
if os.path.exists("/usr/bin/menulibre"):
Execute("menulibre")
else:
Execute("mozo")
def showMenu(self, widget=None, event=None):