summaryrefslogtreecommitdiffstats
path: root/g-ed-it/windowHelper.py
diff options
context:
space:
mode:
authorMatthieu Gautier <mgautier@fedoraproject.org>2009-05-03 22:49:02 +0200
committerMatthieu Gautier <mgautier@fedoraproject.org>2009-05-04 18:55:17 +0200
commit37e613ff2b5b71228d158a3e8455d80f3b019622 (patch)
tree76b5db8ab3732cc674f0e20c866ff2e2e9c0f1c8 /g-ed-it/windowHelper.py
parent84f3c1a56d3de4b22688adcdb4773ed2a94a59b9 (diff)
downloadg-ed-it-37e613ff2b5b71228d158a3e8455d80f3b019622.zip
g-ed-it-37e613ff2b5b71228d158a3e8455d80f3b019622.tar.gz
g-ed-it-37e613ff2b5b71228d158a3e8455d80f3b019622.tar.xz
switch to an unique docBar
Diffstat (limited to 'g-ed-it/windowHelper.py')
-rw-r--r--g-ed-it/windowHelper.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/g-ed-it/windowHelper.py b/g-ed-it/windowHelper.py
index b45d911..4cf4d3c 100644
--- a/g-ed-it/windowHelper.py
+++ b/g-ed-it/windowHelper.py
@@ -29,6 +29,7 @@ import os
import time
import docHelper
+import docBar
ui_string = """<ui>
<menubar name="MenuBar">
@@ -48,8 +49,11 @@ class WindowHelper:
self.plugin = plugin
self.gitAction = gitAction
+
self.docHelpers = {}
self.create_all_docHelper()
+
+ self.docBar = docBar.DocBar(self.gitAction,window)
self.create_actionManager()
# add menu
@@ -63,6 +67,8 @@ class WindowHelper:
self.manager.ensure_update()
self.manager = None
+ self.docBar.deactivate()
+
self.window.disconnect(self.added_hid)
self.window.disconnect(self.removed_hid)