diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-03-30 10:44:36 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-07-14 18:27:10 -0400 |
commit | 985db40547dfdaa4aa05ec965098406f1f1083a7 (patch) | |
tree | e767714c18ed5764e3d6f50a8628fece52f50c5c /tests | |
parent | c9fa0fdff01a1932ab5be5dbdc3371a1bc13cb7e (diff) |
test-gapplication: Untabify, add modeline
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/interactive/gapplication.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/interactive/gapplication.js b/tests/interactive/gapplication.js index fd6b72c9..d6414f23 100755 --- a/tests/interactive/gapplication.js +++ b/tests/interactive/gapplication.js @@ -1,4 +1,5 @@ #!/usr/bin/env gjs +// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Gdk = imports.gi.Gdk; const Gio = imports.gi.Gio; @@ -28,7 +29,7 @@ function main() { let app = new Gtk.Application({ application_id: 'org.gnome.Shell.GtkApplicationTest' }); app.connect('activate', function() { - print ("Activated"); + print ("Activated"); }); let action = new Gio.SimpleAction({ name: 'one' }); @@ -91,12 +92,11 @@ function main() { let window = null; app.connect_after('startup', function(app) { - app.set_app_menu(menu); - - window = new Gtk.ApplicationWindow({ title: "Test Application", application: app }); + app.set_app_menu(menu); + window = new Gtk.ApplicationWindow({ title: "Test Application", application: app }); }); app.connect('activate', function(app) { - window.present(); + window.present(); }); app.run(null); |