""
],
"| void onProjectSelected" : [
- "(Project.Project project) {",
+ "(Project.Project project) ",
+ "{",
"\tthis.selectedProject = project;",
"\tproject.scanDirs();",
"\t//this.clutterfiles.loadProject(proj);",
"\tthis.new_window = new_window;",
"\t\t// save...",
"\tthis.load();",
+ "\tthis.el.show_all(); // show first - so we can hide stuff later.\t",
"\tif (project != null) {",
+ "\t",
"\t\tthis.selectProject(project);",
"\t}",
"\t",
"\tthis.el.set_modal(true);",
"\tthis.el.set_relative_to(on_el);",
"",
- "\t//this.el.set_position(Gtk.PositionType.BOTTOM);",
- "",
- "\t// window + header?",
- " ",
- "\tthis.el.show_all();",
- " //while(Gtk.events_pending()) { ",
- " // Gtk.main_iteration(); // why?",
- " //} ",
+ "\t ",
"",
"}",
""
}
// user defined functions
- public void onProjectSelected (Project.Project project) {
+ public void onProjectSelected (Project.Project project)
+ {
this.selectedProject = project;
project.scanDirs();
//this.clutterfiles.loadProject(proj);
this.new_window = new_window;
// save...
this.load();
+ this.el.show_all(); // show first - so we can hide stuff later.
if (project != null) {
+
this.selectProject(project);
}
this.el.set_modal(true);
this.el.set_relative_to(on_el);
- //this.el.set_position(Gtk.PositionType.BOTTOM);
-
- // window + header?
-
- this.el.show_all();
- //while(Gtk.events_pending()) {
- // Gtk.main_iteration(); // why?
- //}
+
}
public void load () {