[gnome-music] Removed 'now playing' from app-menu



commit 9f570aba4e68d4a9e9946117d3a97ca72a02fbee
Author: Ishaan Bahal <ishaanbahal gmail com>
Date:   Tue Feb 25 00:21:34 2014 +0530

    Removed 'now playing' from app-menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724228

 data/app-menu.ui          |    6 ------
 gnomemusic/application.py |    7 -------
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/data/app-menu.ui b/data/app-menu.ui
index 7df19bc..6d79b20 100644
--- a/data/app-menu.ui
+++ b/data/app-menu.ui
@@ -8,12 +8,6 @@
     </section>
     <section>
       <item>
-        <attribute name="action">app.nowPlaying</attribute>
-        <attribute name="label" translatable="yes">Now _Playing</attribute>
-      </item>
-    </section>
-    <section>
-      <item>
         <attribute name="label" translatable="yes">_Help</attribute>
         <attribute name="action">app.help</attribute>
         <attribute name="accel">F1</attribute>
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index 1154cbc..9ddf1f4 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -75,10 +75,6 @@ class Application(Gtk.Application):
         newPlaylistAction.connect('activate', self.new_playlist)
         self.add_action(newPlaylistAction)
 
-        nowPlayingAction = Gio.SimpleAction.new('nowPlaying', None)
-        nowPlayingAction.connect('activate', self.now_playing)
-        self.add_action(nowPlayingAction)
-
         quitAction = Gio.SimpleAction.new('quit', None)
         quitAction.connect('activate', self.quit)
         self.add_action(quitAction)
@@ -86,9 +82,6 @@ class Application(Gtk.Application):
     def new_playlist(self, action, param):
         pass
 
-    def now_playing(self, action, param):
-        pass
-
     def help(self, action, param):
         Gtk.show_uri(None, "help:gnome-music", Gdk.CURRENT_TIME)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]