Builder3/Main.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 3 Jul 2012 15:21:31 +0000 (23:21 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 3 Jul 2012 15:21:31 +0000 (23:21 +0800)
Builder3/Main.js

index ef699c2..0eb44be 100644 (file)
@@ -26,7 +26,7 @@ Window.el.show_all();
 // it used to hapen in the init() code for the element, it should be moved to a 'global init for a whole module'
 var pm = imports.ProjectManager.ProjectManager;
 
-var combomodel =  this.get('/LeftProjectTree.combomodel');
+var combomodel =  Window.get('/LeftProjectTree.combomodel');
 pm.on('changed', function() {
       print("caught changed hook on project manager - reloading data");
      combomodel.loadData(pm.projects);