// init method
//this.el.show_all();
+ //try {
+ this.el.set_icon_name("roobuilder");
+ //} catch (Exception e) {
+ // print("no icon found");
+ // }
//listeners
this.el.delete_event.connect( ( event) => {
//listeners
this.el.clicked.connect( ( ) => {
-
- switch(_this.windowstate.state) {
- case WindowState.State.FILES:
- _this.windowstate.switchState(WindowState.State.FILEPROJECT);
- break;
- case WindowState.State.CODEONLY:
- _this.windowstate.switchState(WindowState.State.PROJECTCODEONLY);
- break;
- default:
+
+ if (_this.windowstate.state == WindowState.State.FILES) {
+
+ _this.windowstate.switchState(WindowState.State.FILEPROJECT);
+ } else {
_this.windowstate.switchState(WindowState.State.PROJECT);
- break;
}