[gnome-shell] test-gapplication: Untabify, add modeline
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] test-gapplication: Untabify, add modeline
- Date: Sun, 15 Jul 2012 02:10:49 +0000 (UTC)
commit 985db40547dfdaa4aa05ec965098406f1f1083a7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Mar 30 10:44:36 2012 -0400
test-gapplication: Untabify, add modeline
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 fd6b72c..d6414f2 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]