case State.PROJECT:
this.win.rooview.el.set_pivot_point(1.0f,1.0f); // bottom right..
-
- case State.FILEPROJECT:
+
if (this.win.project.xtype == "Roo") {
this.projectsettings.el.show_all();
this.projectsettings.show(this.win.project);
break;
+ case State.FILEPROJECT:
+ var pr = this.left_projects.getSelectedProject();
+ if (pr.xtype == "Roo") {
+ this.projectsettings.el.show_all();
+ this.projectsettings.show(this.win.project);
+ } else {
+ this.vala_projectsettings.el.show_all();
+ this.vala_projectsettings.show((Project.Gtk)this.win.project);
+ }
+
+ this.win.projecteditview.el.set_scale(1.0f,1.0f);
+
+ break;
+
case State.FILES: // can only get here from PREVIEW (or code-only) state.. in theory..