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

View File

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