seed r24 - trunk/examples/lightsoff



Author: racarr
Date: Thu Oct 23 11:21:30 2008
New Revision: 24
URL: http://svn.gnome.org/viewvc/seed?rev=24&view=rev

Log:
Constructor property.


Modified:
   trunk/examples/lightsoff/lightsoff.js

Modified: trunk/examples/lightsoff/lightsoff.js
==============================================================================
--- trunk/examples/lightsoff/lightsoff.js	(original)
+++ trunk/examples/lightsoff/lightsoff.js	Thu Oct 23 11:21:30 2008
@@ -131,8 +131,7 @@
 
 Gtk.init(null, null);
 
-var window = new Gtk.Window({"title": "Lights Off"});
-window.resizable = false;
+var window = new Gtk.Window({"title": "Lights Off", "resizable" : false});
 window.signal_hide.connect(Gtk.main_quit);
 window.add(create_board());
 window.show_all();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]