summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Roche <didrocks@ubuntu.com>2011-03-17 12:08:00 +0100
committerDidier Roche <didrocks@ubuntu.com>2011-03-17 12:08:00 +0100
commit27ecfcc1d74455474a42315121cc0aa7b6f83922 (patch)
tree7949af8ab3d06d55361f72780bbb177102452456
parentedd09cacf572e74815ef424c0eecd101615ea490 (diff)
downloadccsm-27ecfcc1d74455474a42315121cc0aa7b6f83922.tar.gz
ccsm-27ecfcc1d74455474a42315121cc0aa7b6f83922.tar.bz2
Fix a crash with the -p and -C options
-rw-r--r--ccm/Window.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccm/Window.py b/ccm/Window.py
index 1b57fcf..05115f7 100644
--- a/ccm/Window.py
+++ b/ccm/Window.py
@@ -64,9 +64,9 @@ class MainWin(gtk.Window):
self.show_all()
if pluginPage in self.Context.Plugins:
- self.ShowPlugin(None, self.Context.Plugins[pluginPage])
+ self.MainPage.ShowPlugin(None, self.Context.Plugins[pluginPage])
if categoryName in self.Context.Categories:
- self.ToggleCategory(None, categoryName)
+ self.MainPage.ToggleCategory(None, categoryName)
def Quit(self, *args):
gtk.main_quit()