After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 492702 - New Mail notify code and preferences UI movement
New Mail notify code and preferences UI movement
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Srinivasa Ragavan
Evolution QA team
Depends on: 500210
Blocks: 246431 300336
 
 
Reported: 2007-11-02 14:03 UTC by Johnny Jacob
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (57.86 KB, patch)
2007-12-07 09:47 UTC, Milan Crha
committed Details | Review
Proposed patch (7.17 KB, patch)
2008-01-09 12:23 UTC, Srinivasa Ragavan
rejected Details | Review

Description Johnny Jacob 2007-11-02 14:03:32 UTC
Currently Account preferences tab of mailer is very congested. Some proposed changes for this is :
+ Move the code for new mail notify into plugins/new-mail-notify.
+ Move the New Mail Notification Preferences UI to plugins configure tab.
+ Include [Bug 246431] Add the possibility to preview the sound used for mail notification in this movement.
Comment 1 Matthew Barnes 2007-11-28 19:29:43 UTC
Also consider folding the "New Mail Notification" plugin into the "Mail Notification" plugin.  The "New Mail Notification" plugin emits a D-Bus message when new mail arrives.  We should have a single plugin for customizing new mail notification.
Comment 2 Johnny Jacob 2007-12-05 05:33:37 UTC
#246431 has to be included with this work.
Comment 3 Milan Crha 2007-12-07 09:47:27 UTC
Created attachment 100507 [details] [review]
proposed evo patch

for evolution;

Here we go. The only thing which is not included is a remove of new-mail-notification plugin from svn and Makefile... and configure.in and so on. It is easier to test it without this remove and do the remove in time of commit.

The patch contains all what I thought it should, it also contains the "Play" button for sound part. (I will, when committed, mark the second bug as fixed with the note about this bug.)
Comment 4 Milan Crha 2007-12-07 09:55:04 UTC
TODO: 
   a) remove plugins/new-mail-notify
   b) remove it from configure.in
   c) remove files under plugins/new-mail-notify from po/POTFILES.in

anything else?
Comment 5 Srinivasa Ragavan 2007-12-10 17:32:10 UTC
Basic code looks fine. I will do that testing and revert back. Johnny can you do a independent testing/review ?
Comment 6 Johnny Jacob 2007-12-14 16:48:37 UTC
Looks good to me.
Comment 7 Johnny Jacob 2007-12-15 12:04:06 UTC
Patch committed in svn trunk rev 34702.

Keeping the bug open till 'todos' are done. Some work needs to be done in configure.in .
Comment 8 Srinivasa Ragavan 2007-12-15 16:00:35 UTC
Johnny list todos please. Also make sure that the obsolete plugin should be off the source.
Comment 9 Milan Crha 2008-01-03 11:10:44 UTC
(In reply to comment #4)
> TODO: 
>    a) remove plugins/new-mail-notify
>    b) remove it from configure.in
>    c) remove files under plugins/new-mail-notify from po/POTFILES.in

     d) make dbus part of the plugin optional based on the present of dbus libs
Comment 10 Srinivasa Ragavan 2008-01-09 12:23:42 UTC
Created attachment 102455 [details] [review]
Proposed patch
Comment 11 Milan Crha 2008-01-09 14:57:03 UTC
a) You know, ChangeLog entry ;)

b) Just do not name it "New Mail Notify plugin" in configure.in, but "Mail Notification plugin" instead, so it will not be confusing. Maybe add there a 'DBUS part" words too?

c) There left one "plugins/new-mail-notify/Makefile" line in configure.in.

Apart of these little things it works fine. Thanks for help, srag.
Comment 12 Srinivasa Ragavan 2008-01-09 15:11:16 UTC
Yep. Thx. Committed to trunk.

Sending        ChangeLog
Sending        configure.in
Sending        plugins/mail-notification/ChangeLog
Sending        plugins/mail-notification/Makefile.am
Sending        plugins/mail-notification/mail-notification.c
Deleting       plugins/new-mail-notify
Sending        po/ChangeLog
Sending        po/POTFILES.in
Transmitting file data .......
Committed revision 34784.