Package: mpDris2
Version: 0.4-1
Severity: normal
Tags: upstream

Dear Maintainer,

If mpDris2 is run in GNOME3 with notifications enabled, the
notifications will stay in the Message Bar until dismissed.

The included patch should add the 'transient' hint to notifications, in
line with the GNOME Desktop Notifications Spec[1].

Thanks

[1]: https://developer.gnome.org/notification-spec/

        diff --git a/src/mpDris2.in b/src/mpDris2.in
        index 0fba816..d92d154 100755
        --- a/src/mpDris2.in
        +++ b/src/mpDris2.in
        @@ -753,6 +753,7 @@ class Notify:
             if self._notification:
                 self._notification = pynotify.Notification(title, body, uri)
                 self._notification.set_hint('desktop-entry', 'mpdris2')
        +            self._notification.set_hint('transient', True)
                     self._notification.show()
         
             def rnotify(self, title, body, uri=''):


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mpDris2 depends on:
ii  dbus            1.8.0-1
ii  dpkg            1.17.6
ii  python          2.7.5-5
ii  python-dbus     1.2.0-2+b1
ii  python-gobject  3.10.2-2
ii  python-mpd      0.3.0-4

Versions of packages mpDris2 recommends:
ii  python-notify  0.1.1-3

Versions of packages mpDris2 suggests:
ii  mpd  0.18.7-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to