From: Alan Knowles Date: Mon, 6 Jun 2016 06:22:28 +0000 (+0800) Subject: src/Builder4/MainWindow.bjs X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=3923dac7358561f3fabb5869720071980a448c6e src/Builder4/MainWindow.bjs src/Builder4/MainWindow.vala --- diff --git a/src/Builder4/MainWindow.bjs b/src/Builder4/MainWindow.bjs index c0ae24b38..9cd27a471 100644 --- a/src/Builder4/MainWindow.bjs +++ b/src/Builder4/MainWindow.bjs @@ -16,7 +16,7 @@ }, "id" : "MainWindow", "default_width" : 800, - "* init" : " \n\t \n //this.el.show_all();\n try {\n this.el.icon = new Gdk.Pixbuf.from_file (\"roobuilder.png\");\n\t} catch (Exception e) {\n\t\tprint(\"no icon found\");\n\t}", + "* init" : " \n\t \n //this.el.show_all();\n //try {\n this.el.icon = new Gdk.Pixbuf.from_file (\"roobuilder.png\");\n\t//} catch (Exception e) {\n\t//\tprint(\"no icon found\");\n//\t}", "| void openNewWindow" : "() {\n\tXcls_MainWindow.singleton().no_windows++;\n var w = new Xcls_MainWindow();\n w.ref();\n\n w.el.show_all();\n w.initChildren();\n w.windowstate.switchState(WindowState.State.FILES);\n}\n", "# Project.Project project" : "null", "# string title" : "\"Application Builder\"", diff --git a/src/Builder4/MainWindow.vala b/src/Builder4/MainWindow.vala index baf7ce781..07561d753 100644 --- a/src/Builder4/MainWindow.vala +++ b/src/Builder4/MainWindow.vala @@ -79,11 +79,11 @@ public class Xcls_MainWindow : Object // init method //this.el.show_all(); - try { + //try { this.el.icon = new Gdk.Pixbuf.from_file ("roobuilder.png"); - } catch (Exception e) { - print("no icon found"); - } + //} catch (Exception e) { + // print("no icon found"); + // } //listeners this.el.delete_event.connect( ( event) => {