Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: ding@gnus.org
Subject: Re: gnus-notifications popup style
Date: Wed, 21 Nov 2012 18:24:56 +0100	[thread overview]
Message-ID: <87ehjm98d3.fsf@free.fr> (raw)
In-Reply-To: <87a9ubm1pp.fsf@dex.adm.naquadah.org>

Julien Danjou <julien@danjou.info> writes:

> On Wed, Nov 21 2012, Julien Cubizolles wrote:
>
>> I recently discovered (and tried successfully)
>> gnus-notifications. However the popups it uses are big (and ugly)
>> standard gtk windows and not the nice OSD ones used by other
>> notifications (volume/wifi/battery). I was under the impression that it
>> would use the standard notification method, as gnus-desktop-notify
>> (another gnus notification tool) does.
>
> gnus-notifications relies on Freedesktop notifications API:
>
>    http://developer.gnome.org/notification-spec/
>
> I don't know about gnus-desktop-notify. It seems it uses the
> `notify-send' program, which should do the same.

It turns out it's the :actions parameter that makes it choose the grey
box method. If I comment the actions line in what follows, I get a nice
OSD. It seems to be a unity/Ubuntu problem then. I'll give it a try with
gnome-shell.

,----
| (notifications-notify
|        :title "from"
|        :body "subject"
|        :actions '("read" "Read")
|        :on-action 'gnus-notifications-action
|        :app-icon (gnus-funcall-no-warning
|        		  'image-search-load-path "gnus/gnus.png")
|        :app-name "Gnus"
|        :category "email.arrived"
|        :timeout gnus-notifications-timeout
|        ;; :image-path photo-file
|        )
`----


Julien.




  parent reply	other threads:[~2012-11-21 17:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-21 13:41 Julien Cubizolles
2012-11-21 15:10 ` Julien Danjou
2012-11-21 16:19   ` Tassilo Horn
2012-11-21 17:24   ` Julien Cubizolles [this message]
2012-11-21 19:01 ` David Engster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehjm98d3.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).