Menu

#7 Libnotify notification (Bubbles style)

open
nobody
None
5
2009-04-24
2009-04-24
Igor Gomes
No

Owen, while looking for other alternatives, I've found notification-mail (gnu) and saw the bubbles popup... Why not to add it on CheckGmail! :- )

So, I'm proposing a patch to add the bubbles popup feature, added in many upstream distros (screenshots bellow). The changes, as can you see in patch, were:

1) Added a new dependency Desktop::Notify

- http://annocpan.org/~SACAVILIA/Desktop-Notify-0.01/lib/Desktop/Notify/Notification.pm
- Which is already packaged out of the box by Ubuntu (Jaunty) by libdesktop-notify-perl (0.01-1.1).

2) To bubbles or not to bubbles

- Added option to choose or not bubbles notification (-nobubbles)
- Global variable to choose bubbles timeout (bubbles_timeout = 5000)

3) If "to bubbles", two switches:

- http://img410.imageshack.us/img410/5771/screenshot005e.png (replacing the default one)
- http://img93.imageshack.us/img93/3762/screenshot004.png (replacing the default one)

4) All other fantastic operations on mouse over still. See email list with details, etc.

5) If "not to bubbles", keeps as usual the CheckGmail operation, without bubbles.

With that, it closes the Feature Request 2719571 (Integrate new Ubuntu notifications - ID: 2719571).

TODO

1) Wait for the implementation of icons support on bubbles by Desktop::Notify and add it! Will be great, but not yet implemented.

ANNOYING MESSAGES

- During the execution, the terminal shows: Argument "" isn't numeric in subroutine entry at /usr/lib/perl5/Net/DBus/Binding/Iterator.pm line 445.

Which is a know (minor) bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503396 without any impact.

That's it! Hope to see it next release and available to update! Past release was Januyry 2008! I Mine is already running :- )

Best!

Igor Gomes

Discussion

  • Igor Gomes

    Igor Gomes - 2009-04-24

    Add libnotify bubbles

     
  • Nobody/Anonymous

    Thanks!
    So... how do you apply the patch?
    Why don't you provide the patched checkgmail executable instead?

     
  • Igor Gomes

    Igor Gomes - 2009-07-16

    http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/
    patch < /path/to/file

    BTW, seems that its abandoned. I'll send the executable.

    Igor Gomes

     
  • Luuk de Waal Malefijt

    I tried to apply the patch to the latest version (1.13) before my original post, but it errored out saying some chunks failed.
    Then I manually applied the changes from the diff with a text editor, but it hadnt changed anything for as far I could tell.

     

Log in to post a comment.