Fixed "Add to panel" in applications plugin

This commit is contained in:
Clement Lefebvre 2011-12-01 20:06:10 +00:00
parent bc7266ae85
commit d53fb8382f
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.2.8) lisa; urgency=low
* Fixed "Add to panel" in applications plugin
-- Clement Lefebvre <root@linuxmint.com> Thu, 01 Dec 2011 20:05:40 +0000
mintmenu (5.2.7) lisa; urgency=low mintmenu (5.2.7) lisa; urgency=low
* Replaced system and places shortcut in MATE to use caja and mate-terminal * Replaced system and places shortcut in MATE to use caja and mate-terminal

View File

@ -333,7 +333,7 @@ class pluginclass( object ):
self.panel_position = 0 self.panel_position = 0
appletidlist = mateconf.client_get_default().get_list("/apps/panel/general/applet_id_list", "string") appletidlist = mateconf.client_get_default().get_list("/apps/panel/general/applet_id_list", "string")
for applet in appletidlist: for applet in appletidlist:
bonobo_id = mateconf.client_get_default().get_string("/apps/panel/applets/" + applet + "/bonobo_iid") bonobo_id = mateconf.client_get_default().get_string("/apps/panel/applets/" + applet + "/applet_iid")
if bonobo_id == "OAFIID:MATE_mintMenu": if bonobo_id == "OAFIID:MATE_mintMenu":
self.panel = mateconf.client_get_default().get_string("/apps/panel/applets/" + applet + "/toplevel_id") self.panel = mateconf.client_get_default().get_string("/apps/panel/applets/" + applet + "/toplevel_id")
self.panel_position = mateconf.client_get_default().get_int("/apps/panel/applets/" + applet + "/position") + 1 self.panel_position = mateconf.client_get_default().get_int("/apps/panel/applets/" + applet + "/position") + 1