Add support for menulibre
This commit is contained in:
parent
3173f6cc6b
commit
6f7a4bf3a6
2
debian/control
vendored
2
debian/control
vendored
@ -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.
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user