[gnome-music] cleanup comments "application.js"
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] cleanup comments "application.js"
- Date: Mon, 1 Apr 2013 22:30:06 +0000 (UTC)
commit 046e9df980e5393d1e9d4284ddd319e3e9c3177e
Author: Eslam Mostafa <cseslam gmail com>
Date: Mon Apr 1 17:33:06 2013 +0200
cleanup comments "application.js"
Signed-off-by: Seif Lotfy <seif lotfy com>
src/application.js | 26 +-------------------------
1 files changed, 1 insertions(+), 25 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 44cec6e..71f916d 100644
--- a/src/application.js
+++ b/src/application.js
@@ -52,12 +52,8 @@ const Application = new Lang.Class({
flags: Gio.ApplicationFlags.FLAGS_NONE,
inactivity_timeout: 12000
});
-
- //GLib.set_prgname('gnome-music');
+
GLib.set_application_name(_("Music"));
-
- //this.connect('activate', Lang.bind(this, this._onActivate));
- //this.connect('startup', Lang.bind(this, this._onStartup));
},
_buildApp: function() {
@@ -131,26 +127,6 @@ const Application = new Lang.Class({
this._stack.set_visible_child(this.views[i])
},
- /*switchToView: function(view) {
- if (view == 'artists') {
- this.notebook.set_current_page(0);
- }
-
- else if (view == 'albums') {
- this.notebook.set_current_page(1);
- }
-
- else if (view == 'songs') {
- this.notebook.set_current_page(2);
- }
-
- else if (view == 'playlists') {
- this.notebook.set_current_page(3);
- }
-
- this.notebook.show_all();
- },*/
-
vfunc_activate: function() {
this._window.present();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]