emacs.el: make the notification works as expected with GNOME3
authorYour Name <olivier.tetard@amossys.fr>
Fri, 9 Dec 2011 13:29:55 +0000 (14:29 +0100)
committerYour Name <olivier.tetard@amossys.fr>
Fri, 9 Dec 2011 13:29:55 +0000 (14:29 +0100)
emacs.el

index 03fc618..2fd9b78 100644 (file)
--- a/emacs.el
+++ b/emacs.el
@@ -167,6 +167,7 @@ The function is not passed any arguments. The function honours restrictions."
            (let ((n twittering-new-tweets-count))
              (start-process "twittering-notify" nil "notify-send"
                             "-i" "/usr/share/pixmaps/gnome-emacs.png"
+                            "--hint=int:transient:1"
                             "New tweets"
                             (format "You have %d new tweet%s"
                                     n (if (> n 1) "s" ""))))))