"\t }",
"\t this.mitems.clear();",
"\t ",
- "\t foreach(var w in _this.application.windows) {",
+ "\t foreach(var w in BuilderApplication.windows) {",
"\t \tvar wid = _this.application.windows.index_of(w);",
"\t \t// fixme find a better way to display this.",
"\t \tif (w.windowstate.file.path == _this.windowstate.file.path) {",
" \t\t}",
"\t \tvar m = new Gtk.MenuItem.with_label(w.windowstate.file.path);",
"\t \tm.activate.connect(() => {",
- "\t \t\t _this.application.windows.get(wid).el.present();",
+ "\t \t\t BuilderApplication.windows.get(wid).el.present();",
"\t \t});",
"\t \tthis.el.popup.append(m);",
"\t }",
}
this.mitems.clear();
- foreach(var w in _this.application.windows) {
+ foreach(var w in BuilderApplication.windows) {
var wid = _this.application.windows.index_of(w);
// fixme find a better way to display this.
if (w.windowstate.file.path == _this.windowstate.file.path) {
}
var m = new Gtk.MenuItem.with_label(w.windowstate.file.path);
m.activate.connect(() => {
- _this.application.windows.get(wid).el.present();
+ BuilderApplication.windows.get(wid).el.present();
});
this.el.popup.append(m);
}