Fixed called to HidePlugin

This commit is contained in:
Clement Lefebvre 2010-09-13 16:57:13 +01:00
parent ec963baeab
commit 8ce4ae0111
2 changed files with 7 additions and 3 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.0.7) julia; urgency=low
* Fixed called to HidePlugin
-- Clement Lefebvre <root@linuxmint.com> Mon, 13 Sep 2010 16:57:00 +0000
mintmenu (5.0.6) julia; urgency=low
* Removed sidepane (confusing), plugins are now enabled/disabled in preferences

View File

@ -315,9 +315,7 @@ class MainWindow( object ):
if hasattr( MyPlugin, 'height' ):
MyPlugin.content_holder.set_size_request( -1, MyPlugin.height )
if hasattr( MyPlugin, 'itemstocolor' ):
self.SetPaneColors( MyPlugin.itemstocolor )
if hasattr( MyPlugin, 'minimized' ) and MyPlugin.minimized:
self.HidePlugin( MyPlugin.container, MyPlugin.icon, MyPlugin.heading, MyPlugin )
self.SetPaneColors( MyPlugin.itemstocolor )
except:
# create traceback
info = sys.exc_info()