aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.h
Commit message (Collapse)AuthorAgeFilesLines
* Connect to the save-draft signal. (send_to_url): Here too. (mail_reply):Jeffrey Stedfast2001-12-151-0/+1
| | | | | | | | | | | | 2001-12-14 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (compose_msg): Connect to the save-draft signal. (send_to_url): Here too. (mail_reply): And here... (forward_get_composer): Same. (do_edit_messages): And finally here. svn path=/trunk/; revision=15081
* Implements marking messages as "Need Reply".Jon Trowbridge2001-12-101-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements marking messages as "Need Reply". 2001-12-09 Jon Trowbridge <trow@ximian.com> * mail-need-reply.xpm: Added a really, really ugly and awful icon to symbolize "message needs a reply". * Makefile.am (EXTRA_DIST): Added mail-need-reply.xpm. 2001-12-09 Jon Trowbridge <trow@ximian.com> * camel-folder-summary.c: Add "NeedsReply" to the flag_names array for CAMEL_MESSAGE_NEEDS_REPLY. * camel-folder-summary.h: Added CAMEL_MESSAGE_NEEDS_REPLY flag. 2001-12-09 Jon Trowbridge <trow@ximian.com> * vfoldertypes.xml: Add "Needs Reply" option to different status types. * filtertypes.xml: Add "Needs Reply" option to different status types. 2001-12-09 Jon Trowbridge <trow@ximian.com> * message-list.c: #include "art/mail-need-reply.xpm". (ml_tree_value_at): Adjust magic numbers, show "Need Reply" icon if the message needs reply. (message_list_create_extras): Adjust magic numbers to add new icon. (on_click): Changed to toggle between unread, read, and need reply when the status icon is clicked. * mail-callbacks.c (mark_as_needing_reply): Added. (mark_as_not_needing_reply): Added. Add "set" value to struct post_send_data. (composer_sent_cb): Use both "flags" and "set" elements of post_send_data when setting message flags. (mail_reply): Clear "Needs Reply" flag when we actually reply to a message. * folder-browser.c: Changed flag values to be given by bit-shifting (1<<5) vs. base-ten (32). Added CAN_MARK_DOESNT_NEED_REPLY flag. Added "Mark as Needing Reply" and "Mark as Not Needing Reply" elements to context menu. (on_right_click): Hide "Mark as (Not) Needing Reply" context menu elements as appropriate. svn path=/trunk/; revision=14946
* Check that the mail-display hasn't been destroyed.Jeffrey Stedfast2001-12-081-0/+1
| | | | | | | | | | | | | | | | | | | 2001-12-04 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (stream_write_or_redisplay_when_loaded): Check that the mail-display hasn't been destroyed. (mail_display_redisplay): Same here. 2001-12-07 Dan Winship <danw@ximian.com> * mail-send-recv.c (receive_update_got_store): If updating a store that we don't have an associated storage for, just request a folder tree and then free it. (For the Connector) * mail-callbacks.h: Add missing part of Jeff's 12-03 patch so this actually compiles. svn path=/trunk/; revision=14938
* Setup the UI for the AddSenderToAddressbook ui verb thingy.Jeffrey Stedfast2001-12-071-0/+1
| | | | | | | | | | | | 2001-12-03 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Setup the UI for the AddSenderToAddressbook ui verb thingy. * mail-callbacks.c (add_sender_to_addrbook): New bonobo-ui callback that adds a sender to the addressbook. svn path=/trunk/; revision=14905
* More fixing of the license texts.Ettore Perazzoli2001-10-281-11/+11
| | | | svn path=/trunk/; revision=14217
* fixed bug #13151Jeffrey Stedfast2001-10-221-2/+4
| | | | svn path=/trunk/; revision=13858
* hook up zoom functions.Larry Ewing2001-10-211-0/+4
| | | | | | | | | | | | | | 2001-10-20 Larry Ewing <lewing@ximian.com> * folder-browser-ui.c: hook up zoom functions. * mail-callbacks.h: add prototypes. * mail-callbacks.c (zoom_in): added. (zoom_out): added. (zoom_reset): added. svn path=/trunk/; revision=13832
* Hide the app->window. (do_mail_print): Set the parent of the gnome-dialogJeffrey Stedfast2001-08-081-3/+0
| | | | | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (manage_subscriptions): Hide the app->window. (do_mail_print): Set the parent of the gnome-dialog to be the folder-browser so that when evolution is closed, the print dialog gets destroyed. Should fix bug #4781. svn path=/trunk/; revision=11757
* [Bug #5225: No UI way to mark as unimportant]Jason Leach2001-07-241-0/+1
| | | | | | | | | | | | | | | | | 2001-07-23 Jason Leach <jleach@ximian.com> [Bug #5225: No UI way to mark as unimportant] * folder-browser.c (on_right_click): Do the necessary stuff to show or hide the correct "Mark Important" or "Mark as Unimportant" menu items depending on the status of messages that are selected. * folder-browser-ui.c: Add the MarkAsUnimportant verb here. * mail-callbacks.c (mark_as_unimportant): Simple function that's the callback for these new menu items. svn path=/trunk/; revision=11316
* Changed to return the created window. (find_socket): Added. Copied fromJon Trowbridge2001-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-30 Jon Trowbridge <trow@ximian.com> * mail-display.c (make_popup_window): Changed to return the created window. (find_socket): Added. Copied from e-shell-view.c. The fact that I'm copying this bit of code all over isn't cool. (html_button_press_event): Properly destroy the popup window when the widget inside the control is destroyed. * mail-callbacks.c (addrbook_sender): Added. Implements the "Add sender to addressbook" right-click. (Bug #3645) (find_socket): Added. Copied from e-shell-view.c. * folder-browser.c: Added "Add sender to addressbook" to context_menu[]. * mail-display.c: (handle_embedded_address_object): Removed. (on_object_requested): Removed handling for embedded address objects. (Which was obsolete crap.) svn path=/trunk/; revision=10643
* Bump required gal version for new accessors in ETree.Peter Williams2001-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-27 Peter Williams <peterw@ximian.com> * configure.in (gal): Bump required gal version for new accessors in ETree. mail: 2001-06-27 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Uncomment EditSelectThread. Yaay! * mail-callbacks.c (select_thread): New function. Self-explanatory name. Implementation is a little hairy. * mail-callbacks.h: Prototype it here. * mail-callbacks.c (invert_selection): Here too. (select_all): Here too. * subscribe-dialog.c (subscribe_select_all): Update to use new ETree accessors. (subscribe_invert_selection): Here too. calendar: 2001-06-27 Peter Williams <peterw@ximian.com> * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir fixes. svn path=/trunk/; revision=10544
* Don't pop up a progress dialog to say "I already finished this a whileDan Winship2001-06-271-1/+1
| | | | | | | | | | | | | * mail-mt.c (op_status_timeout): Don't pop up a progress dialog to say "I already finished this a while ago". * component-factory.c (storage_create_folder): Pass the path prefix to folder_created so it can add it to the folder tree in the right place. * mail-callbacks.c (folder_created): Take a path prefix. svn path=/trunk/; revision=10508
* sync folders after we've gotten mailjacob berkman2001-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-25 jacob berkman <jacob@ximian.com> * mail-send-recv.c (free_send_data): sync folders after we've gotten mail * folder-browser-factory.c (control_activate): set the ui component on the folder browser (control_activate): update the view preview item (control_deactivate): don't sync the folder here (control_deactivate): unset the ui component of the folder browser * mail-callbacks.c (toggle_flags): stuff from jleach to add an importance keybinding (mark_as_important): ditto (toggle_as_important): again * mail-config.c (mail_config_get_show_preview): (mail_config_set_show_preview): basically a copy of get_thread_list() but for the preview pane * folder-browser.c (folder_browser_destroy): unref the our ui component (folder_browser_set_ui_component): new function for setting the ui component (save_cursor_pos): (set_cursor_pos): try to show the selected row when the preview pane is shown (folder_browser_set_message_preview): implement (folder_browser_toggle_preview): toggle the preview (duh) (on_key_press): add keybindings for marking as important (!), and hiding the preview pane (q) (etree_key): clean up a little bit, and make enter either show the preview pane or open the message (fb_resize_cb): only save the paned size if the preview is alread shown (folder_browser_gui_init): pass ourselves to fb_resize_cb (on_message_selected): only add the timeout if the preview is shown svn path=/trunk/; revision=10491
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-2/+2
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Add Reply-to-List bonobo verbs.Jeffrey Stedfast2001-06-151-1/+11
| | | | | | | | | | | | | | | | | 2001-06-14 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Add Reply-to-List bonobo verbs. * folder-browser.c: Add Reply-to-List menu items. * mail-callbacks.c (mail_reply): Use an enum for specifying the reply mode, becaus enow we can reply-to-list. (reply_to_list): Implement. (reply_to_sender): Use REPLY_SENDER. (reply_to_all): Use REPLY_ALL. (mail_generate_reply): Handle the different modes. svn path=/trunk/; revision=10232
* Added callbacks for Next/Previous Unread and Next/Previous FlaggedJeffrey Stedfast2001-05-271-1/+3
| | | | | | | | | | | | 2001-05-25 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Added callbacks for Next/Previous Unread and Next/Previous Flagged message. * mail-callbacks.c (previous_flagged_msg): Implemented. (next_flagged_msg): Implemented. svn path=/trunk/; revision=10014
* Load http images if the user has force-loaded images too.Dan Winship2001-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * mail-display.c (on_url_requested): Load http images if the user has force-loaded images too. (mail_display_redisplay): Update for normal/headers/source changes. (mail_display_load_images): New. Force HTTP image loading for the current message. * mail-config.c (mail_config_get_message_display_style, mail_config_set_message_display_style): Updated and renamed from mail_config_{get,set}_view_source * mail-callbacks.c (load_images): New. * folder-browser.c (folder_browser_set_message_display_style): Renamed and updated from folder_browser_toggle_view_source. * folder-browser-factory.c (verbs): Add ViewLoadImages. (control_activate): Update for normal/headers/source change to radio group. svn path=/trunk/; revision=9820
* Split "Other" page into three pages, Display, Composer, and PGP. Add HTMLDan Winship2001-05-151-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-config.glade: Split "Other" page into three pages, Display, Composer, and PGP. Add HTML image stuff on the Display page and default forward style on the Composer page. * mail-config.c (mail_config_get_default_forward_style, mail_config_set_default_forward_style): User-specified default style for forwarding messages. (config_read, mail_config_write_on_exit): Deal with forward style. * mail-accounts.c: Handle HTML image display options and default forward style. * mail-callbacks.c (forward): New. Forward in the user-selected default style. (forward_inline, forward_quoted): Simplify these some. Remove the fallback to forward attached when forwarding multiple messages: it should just forward the multiple messages inline or quoted in those cases. (Which it doesn't yet, but that's a bug.) * folder-browser.c (context_menu): Remove "Forward inline" and make "Forward" call forward() rather than forward_attached(). * folder-browser-factory.c: Update command/menu/toolbar/pixmap gunk for the "MessageForwardAttached" vs "MessageForward" split. * mail-session.c (mail_session_get_type): * mail-format.c (format_mime_part): * mail-account-gui.c (setup_service): Fix warnings. svn path=/trunk/; revision=9792
* helps to spell right ;-)Jeffrey Stedfast2001-04-271-1/+1
| | | | svn path=/trunk/; revision=9608
* Don't filter on Seen status. (previous_msg): Same. (next_unread_msg): NewJeffrey Stedfast2001-04-271-0/+2
| | | | | | | | | | | | 2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (next_msg): Don't filter on Seen status. (previous_msg): Same. (next_unread_msg): New function that does what the old callback next_msg callback did (only better named). (previous_unread_msg): Same. svn path=/trunk/; revision=9605
* Added "MessageSearch" verb.Jon Trowbridge2001-04-261-0/+1
| | | | | | | | | | | | | | | | | | 2001-04-26 Jon Trowbridge <trow@ximian.com> * folder-browser-factory.c: Added "MessageSearch" verb. * mail-callbacks.c (search_msg): Added search callback. (are_you_sure): Added some casts to fix compiler warnings. * mail-search.c: Added. A simple search-in-message widget, that uses GtkHTML's searching capabilities. 2001-04-26 Jon Trowbridge <trow@ximian.com> * evolution-mail.xml: Added "Search Message" to "View" menu. svn path=/trunk/; revision=9575
* Cleaned up #includes. Remove unneccesary includes of <gnome.h>,Kjartan Maraas2001-03-301-2/+1
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
* Add Resend Message menu item.Jeffrey Stedfast2001-03-191-0/+1
| | | | | | | | | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Add Resend Message menu item. * folder-browser.c (on_right_click): Add resend to the right-click menu. * mail-callbacks.c (composer_sent_cb): Unref the message. (composer_postpone_cb): Unref the message here too. (resend_msg): New callback to allow resending of messages in the Sent folder. svn path=/trunk/; revision=8816
* Added protection.Jeffrey Stedfast2001-03-121-1/+2
| | | | | | | | | | | | | | | 2001-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.h: Added protection. * folder-browser-factory.c: Add ActionsEmptyTrash. By the way - should we rename the bonobo verbs now that our menu structure has changed? * mail-callbacks.c (empty_trash): New callback to empty ALL of the trash folders. svn path=/trunk/; revision=8633
* Set the Forward->Quoted callback. Also set the forward->AttachmentJeffrey Stedfast2001-03-091-1/+10
| | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Set the Forward->Quoted callback. Also set the forward->Attachment callback. * mail-view.c (view_forward_msg): Specify FORWARD_ATTACHED. * mail-callbacks.c (forward_attached): Don't call forward_messages() anymore...never really needed to. Just handle it directly. (forward_inlined): Specify FORWARD_INLINE as the flag argument. (forward_quoted): New function sorta like forward_inlined except this forwards the message quoted. * mail-tools.c (mail_tool_forward_message): New function to prepare a message to be forwarded. svn path=/trunk/; revision=8611
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* Use mail_storage_create_folderJeffrey Stedfast2001-02-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_scan_subfolders): Use mail_storage_create_folder * mail-callbacks.c (mail_storage_create_folder): Convenience function so we can keep all the evolution_storage_add_new_folder() code in one place as much as possible. * subscribe-dialog.c (recursive_add_folder): Use 'name' rather than the no-description bs since that's what all the other places do. * mail-callbacks.c (folder_created): New callback to handle the "folder_created" signal - handles CamelFolderInfo's recursively. (folder_deleted): Same but for "folder_deleted". * component-factory.c (storage_create_folder): Instead of doing the evolution_storage_new_folder() stuff by hand, pass it off to the new callback: folder_created(). At some point this will be unecessary as we'll attach this callback to the "folder_created" signal. svn path=/trunk/; revision=8247
* Re-add non-static forward_messages. mail-view.c needs it.Dan Winship2001-02-121-0/+1
| | | | | | | * mail-callbacks.[ch]: Re-add non-static forward_messages. mail-view.c needs it. svn path=/trunk/; revision=8175
* Don't leak memory. (forward_messages): change doinline to be a gbooleanJeffrey Stedfast2001-02-111-1/+1
| | | | | | | | | 2001-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_inlined): Don't leak memory. (forward_messages): change doinline to be a gboolean argument. svn path=/trunk/; revision=8172
* Fix spelling.Dan Winship2001-01-241-1/+1
| | | | | | | * folder-browser-factory.c: * mail-callbacks.c (send_receive_mail): Fix spelling. svn path=/trunk/; revision=7760
* Added the next/previous toolbar buttons.Jeffrey Stedfast2001-01-191-0/+2
| | | | | | | | | | | | | 2001-01-18 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Added the next/previous toolbar buttons. * mail-callbacks.c (next_msg): New callback so we can have a next toolbar button. (previous_msg): Same but for previous. svn path=/trunk/; revision=7630
* Setup a cancellation handle. (do_fetch_mail): REgister for cancellationNot Zed2001-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | 2001-01-16 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_do_fetch_mail): Setup a cancellation handle. (do_fetch_mail): REgister for cancellation here. (cleanup_fetch_mail): And unregister for cancellation here. (mail_get_message): Add a cancel handle. (get_message_get): Register/deregister for cancel. (get_message_free): & clean up. * mail-mt.c (mail_msg_received): Removed debuggng. * mail-callbacks.c (stop_threads): Callback for stopping. * folder-browser-factory.c: Add a stop button verb thingy. (control_activate): Disable the stop button by default. svn path=/trunk/; revision=7527
* Call mail-callbacks.c:forward_messages(), so the behaviour is the same asNot Zed2001-01-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Not Zed <NotZed@HelixCode.com> * mail-view.c (view_forward_msg): Call mail-callbacks.c:forward_messages(), so the behaviour is the same as from the folder browser. * mail-callbacks.c (forward_messages): New function to forward messages, attached or not. (forward_inlined): Changed to use new forward-messages implementation. (forward_attached): Likewise. (do_forward_attach): Callback for forwarding as attachment, once we have built it. (do_forward_inline): Likewise, for inline, once we have retrieved the message. (forward_message): Removed. * mail-ops.c (mail_build_attachment): New function to build an attachment of messages. (mail_do_attach_message): Removed, functionality superceeded by above. (mail_do_forward_message): Removed. Likewise. (mail_create_folder): Started work on an alternative implementation of create_folder, but not sure about it yet. * mail-tools.c (mail_tool_generate_forward_subject): Remove locking. (mail_tool_make_message_attachment): Free the description when done. svn path=/trunk/; revision=7232
* Make inline forwarding not be the default anymore.Ettore Perazzoli2000-12-041-2/+2
| | | | svn path=/trunk/; revision=6771
* Added the SaveAs bonobo menu verb thingy.Jeffrey Stedfast2000-11-291-0/+1
| | | | | | | | | | | | | | | | | 2000-11-28 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added the SaveAs bonobo menu verb thingy. * mail-callbacks.c (save_msg): New callback for saving messages. (save_msg_ok): * folder-browser.c (on_right_click): Add a Save Ass menu item. * mail-ops.c (cleanup_save_messages): Save all emails to the path given. svn path=/trunk/; revision=6699
* Added a new Forward as Attachment bonobo menu item verb.Jeffrey Stedfast2000-11-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added a new Forward as Attachment bonobo menu item verb. * mail-view.c (view_forward_msg): Updated to reflect changes to mail_do_forward_message(). It now forwards the message without attaching it - is this what we want? * mail-ops.c (mail_do_view_message_sources): New async function to display message source dialog windows. (setup_forward_messages): If we were asked not to forward the message(s) as attachment(s) and the user chose more than a single message, then default to making each message an attachment. (cleanup_forward_messages): If we aren't forwarding the message as an attachment, then quote the text and set the composer's body with it. * mail-callbacks.c (view_source): New callback to view the message source of all messages that are currently selected. (forward_attach): New callback to forward a message as an attachment (forward_msg is now for forwarding a message without it being an attachment). (forward_message): Convenience function for forwarding messages. svn path=/trunk/; revision=6585
* Updated to have the same menu items as the new right-click menu -Jeffrey Stedfast2000-11-071-0/+2
| | | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Updated to have the same menu items as the new right-click menu - eventually these 2 menus should be the same. * folder-browser.c (on_right_click): Now correctly handles the case of multiple selection. * mail-callbacks.c (enumerate_msg): Make public so it can be used in other source files (it's a useful function!) svn path=/trunk/; revision=6419
* Added an "Undelete" option to the right-click menu and also set a mask soJeffrey Stedfast2000-11-061-0/+1
| | | | | | | | | | | | | | 2000-11-05 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (on_right_click): Added an "Undelete" option to the right-click menu and also set a mask so it was only selectable if the message is marked as deleted. Also set a mask for "Mark as Read" and "Mark as Unread". * mail-callbacks.c (undelete_msg): New callback to undelete messages. svn path=/trunk/; revision=6407
* Added new header files.Jeffrey Stedfast2000-11-041-0/+79
2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added new header files. * component-factory.c (owner_set_cb): s/session_init/mail_session_init * session.c: Renamed public functions to mail_session_*. FIXME: Rename session.c to mail-session.c * folder-browser-factory.c: #include "mail-callbacks.h", #include "mail-session.h" and replace forget_passwords with mail_session_forget_passwords * mail.h: Move session prototypes to mail-session.h, Move mail-crypto prototypes to mail-crypto.h, Move mail-callback prototypes to mail-callbacks.h * mail-session.h: New header file containing public prototypes for session.c * mail-format.c: #include "mail-crypto.h" * mail-view.c: * folder-browser.c: #include "mail-callbacks.h" * mail-crypto.h: New header file containing public prototypes for mail-crypto.c * mail-callbacks.h: New header file containing public prototypes for mail-callbacks.c * message-list.c (message_list_get_layout): Set useful defaults. (message_list_setup_etable): Don't set the Outbox defaults on a folder just because it doesn't have a corresponding saved file. svn path=/trunk/; revision=6372