diff options
author | Cody Russell <bratsche@gnome.org> | 2000-07-29 12:20:38 +0800 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 2000-07-29 12:20:38 +0800 |
commit | f34353458d545d679e9daebb22ade4f1f02c8e00 (patch) | |
tree | 9e2cd77f1d69f07e24167acdd158ab77161e76ac /mail/folder-browser-factory.c | |
parent | da2fff47da91473e5299e311b7ec698463823f1f (diff) | |
download | gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.tar gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.tar.gz gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.tar.bz2 gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.tar.lz gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.tar.xz gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.tar.zst gsoc2013-evolution-f34353458d545d679e9daebb22ade4f1f02c8e00.zip |
Added mark_all_seen(), to mark every message in the list with
2000-07-28 Cody Russell <bratsche@gnome.org>
* mail-ops.c, mail.h: Added mark_all_seen(), to mark every
message in the list with CAMEL_MESSAGE_SEEN.
* folder-browser-factory.c: Added "Actions/Mark all seen".
svn path=/trunk/; revision=4412
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index a941e6286e..43820e96b7 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -68,6 +68,13 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, #endif ); + bonobo_ui_handler_menu_new_item (uih, "/Actions/Mark all seen", + _("_Mark all messages seen"), + NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_STOCK, + GNOME_STOCK_PIXMAP_CLEAR, + 0, 0, mark_all_seen, folder_browser); + bonobo_ui_handler_menu_new_item (uih, "/Actions/Expunge", _("_Expunge"), NULL, -1, BONOBO_UI_HANDLER_PIXMAP_STOCK, @@ -130,6 +137,7 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih, char *toolbar_name = g_strdup_printf ("/Toolbar%d", fb->serial); bonobo_ui_handler_menu_remove (uih, "/View/Threaded"); + bonobo_ui_handler_menu_remove (uih, "/Actions/Mark all seen"); bonobo_ui_handler_menu_remove (uih, "/Actions/Expunge"); bonobo_ui_handler_menu_remove (uih, "/Tools/Filter Druid ..."); bonobo_ui_handler_menu_remove (uih, "/Tools/Virtual Folder Druid ..."); |