I know a real patch would help more, but I don't know how to create one
yet.

Adding a function to the MediaPlayer class in /src/media-player.vala:

+       public bool has_proxy () {
+               return (this.proxy != null)
+       }

Modifying the add_player function in /src/sound-menu.vala:

        var section = new Menu ();
        section.append_item (player_item);
-       section.append_item (playback_item);
+       if (player.has_poxy())
+               section.append_item (playback_item);

>From what I see this would require a restart of indicator-sound if the
MPRIS gets re-enabled, but no sound items would be displayed if the
proxy is absent.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245495

Title:
  Rhythmbox controls and track info broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1245495/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to