[gnome-devel-docs] Trimmed trailing whitespace in .js files.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Trimmed trailing whitespace in .js files.
- Date: Sat, 23 Jun 2012 01:09:44 +0000 (UTC)
commit c8895be72da025f335bb7780a607a9735e891334
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Fri Jun 22 21:07:29 2012 -0400
Trimmed trailing whitespace in .js files.
platform-demos/C/samples/gmenu.js | 8 ++++----
platform-demos/C/samples/toolbar.js | 2 +-
platform-demos/C/samples/window.js | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/platform-demos/C/samples/gmenu.js b/platform-demos/C/samples/gmenu.js
index b218513..0f0dac7 100644
--- a/platform-demos/C/samples/gmenu.js
+++ b/platform-demos/C/samples/gmenu.js
@@ -7,14 +7,14 @@ const Lang = imports.lang;
const Application = new Lang.Class ({
Name: 'Application',
-
+
//create the application
_init: function () {
this.application = new Gtk.Application ({
application_id: 'org.example.myapp',
flags: Gio.ApplicationFlags.FLAGS_NONE
});
-
+
//connect to 'activate' and 'startup' signals to the callback functions
this.application.connect('activate', Lang.bind(this, this._onActivate));
this.application.connect('startup', Lang.bind(this, this._onStartup));
@@ -40,7 +40,7 @@ const Application = new Lang.Class ({
_showAbout: function() {
print ("No AboutDialog here. This is only a demonstration.");
},
-
+
//create the menu items and connect the signals to the callback functions.
_initMenus: function() {
let menu = new Gio.Menu();
@@ -48,7 +48,7 @@ const Application = new Lang.Class ({
menu.append("About", 'app.about');
menu.append("Quit",'app.quit');
this.application.set_app_menu(menu);
-
+
let newAction = new Gio.SimpleAction ({ name: 'new' });
newAction.connect('activate', Lang.bind(this,
function() {
diff --git a/platform-demos/C/samples/toolbar.js b/platform-demos/C/samples/toolbar.js
index c3ee32c..8a2d63b 100644
--- a/platform-demos/C/samples/toolbar.js
+++ b/platform-demos/C/samples/toolbar.js
@@ -60,7 +60,7 @@ const Application = new Lang.Class({
this._toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);
//create the "New" ToolButton and its SimpleAction.
- //Using actions allows you to add them to the app menu
+ //Using actions allows you to add them to the app menu
//without duplicating code.
let newAction = new Gio.SimpleAction({ name: 'new'});
newAction.connect('activate', Lang.bind(this,
diff --git a/platform-demos/C/samples/window.js b/platform-demos/C/samples/window.js
index 320405e..874b244 100644
--- a/platform-demos/C/samples/window.js
+++ b/platform-demos/C/samples/window.js
@@ -7,7 +7,7 @@ const Lang = imports.lang;
const Application = new Lang.Class ({
Name: 'Application',
-
+
//create the application
_init: function () {
this.application = new Gtk.Application ({
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]