diff -upr ubuntu-mate-mate-menu-orig/mate_menu/plugins/system_management.py ubuntu-mate-mate-menu/mate_menu/plugins/system_management.py
--- a/mate_menu/plugins/system_management.py 2016-06-09 14:06:33.000000000 +0200
+++ b/mate_menu/plugins/system_management.py 2016-08-11 22:21:57.954656415 +0200
@@ -149,18 +149,18 @@ class pluginclass( object ):
return True
if ( self.showPackageManager == True ):
- if pathExists("synaptic-pkexec"):
- Button2 = easyButton("synaptic", self.iconsize, [_("Package Manager")], -1, -1 )
- Button2.connect( "clicked", self.ButtonClicked, "synaptic-pkexec" )
+ if pathExists("yumex"):
+ Button2 = easyButton("yumex", self.iconsize, [_("Package Manager")], -1, -1 )
+ Button2.connect( "clicked", self.ButtonClicked, "/usr/bin/yumex -n" )
+ elif pathExists("yumex-dnf"):
+ Button2 = easyButton("yumex-dnf", self.iconsize, [_("Package Manager")], -1, -1 )
+ Button2.connect( "clicked", self.ButtonClicked, "/usr/bin/yumex-dnf" )
+ elif pathExists("gpk-application"):
+ Button2 = easyButton("system-software-install", self.iconsize, [_("Package Manager")], -1, -1 )
+ Button2.connect("clicked", self.ButtonClicked, "/usr/bin/gpk-application")
elif pathExists("gnome-software"):
Button2 = easyButton("org.gnome.Software", self.iconsize, [_("Package Manager")], -1, -1 )
Button2.connect( "clicked", self.ButtonClicked, "gnome-software" )
- elif pathExists("software-center"):
- Button2 = easyButton("softwarecenter", self.iconsize, [_("Package Manager")], -1, -1 )
- Button2.connect( "clicked", self.ButtonClicked, "software-center" )
- elif pathExists("ubuntu-mate-welcome"):
- Button2 = easyButton("system-software-install", self.iconsize, [_("Package Manager")], -1, -1 )
- Button2.connect("clicked", self.ButtonClicked, "ubuntu-mate-welcome --software-only")
try:
Button2.show()
self.systemBtnHolder.pack_start( Button2, False, False, 0 )