seed r429 - trunk/examples
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r429 - trunk/examples
- Date: Thu, 11 Dec 2008 00:49:32 +0000 (UTC)
Author: racarr
Date: Thu Dec 11 00:49:32 2008
New Revision: 429
URL: http://svn.gnome.org/viewvc/seed?rev=429&view=rev
Log:
Cleanup accelgroup example.
Modified:
trunk/examples/accelgroup.js
trunk/examples/notify-test.js
Modified: trunk/examples/accelgroup.js
==============================================================================
--- trunk/examples/accelgroup.js (original)
+++ trunk/examples/accelgroup.js Thu Dec 11 00:49:32 2008
@@ -7,9 +7,12 @@
w = new Gtk.Window();
group = new Gtk.AccelGroup();
group.connect(Gdk.keyval_from_name("q"),
- 0,
- 0,
- function(){Gtk.main_quit()});
+ 0,
+ 0,
+ function()
+ {
+ Gtk.main_quit()
+ });
w.add_accel_group(group);
label = new Gtk.Label({label: "Press Q to quit"});
Modified: trunk/examples/notify-test.js
==============================================================================
--- trunk/examples/notify-test.js (original)
+++ trunk/examples/notify-test.js Thu Dec 11 00:49:32 2008
@@ -9,7 +9,7 @@
{
var notification =
new Notify.Notification({summary: "File Notification",
- body : "It's not clear what notification system this file is providing an example of." });
+ body : "It's not clear what notification system this file is providing an example of." });
notification.set_timeout(5000);
notification.show();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]