2002-02-07 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (mail_generate_reply): call set_body later to
allow ignored words to be sent to gtkhtml control ahead
svn path=/trunk/; revision=15598
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal.
From addressbook/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Changed this function to use the
new GalViewMenus which takes a GalViewInstance, instead of a
GalViewCollection.
From calendar/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
(gnome_calendar_setup_view_menus): Made these use the new
GalViewMenus stuff.
From mail/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, folder-browser.h, folder-browser-ui.c,
folder-browser-ui.h
(folder_browser_ui_setup_view_menus,
folder_browser_ui_discard_view_menus): Changed this to use the new
GalViewMenus stuff. Made these exported functions.
* mail-callbacks.c, message-browser.c: Changed these to not pass
the now removed row parameter to message_list_select.
* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
Refactored this out of mail_config_folder_to_cachename.
* message-list.c, message-list.h (message_list_select): Removed
the row argument. Changed this to use the new function in ETree
for finding the next cursor row that matches a test.
(message_list_construct): Handle a failed construction of the
ETree here.
(message_list_setup_etree, save_tree_state): Don't load or save
the header state. folder-browser-ui.c deals with this now.
From views/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
tasks/galview.xml: Added default-view parameters.
* mail/As_Sent_Folder.galview: New galview.
* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
galview.
From widgets/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_new): Made this take a GalViewInstance instead of
a GalViewCollection. Reworked most of this to utilize the
interfaces provided by GalViewInstance.
svn path=/trunk/; revision=15592
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_new): Rearranged the #if
checks so that we don't ever try to access any smime widgets
(since they are now being destroyed) if smime isn't enabled.
(mail_account_gui_save): Same here.
svn path=/trunk/; revision=15587
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c: Removed references to NEEDS_REPLY.
* mail-callbacks.c (mark_as_needing_reply): Removed.
(mark_as_not_needing_reply): Removed.
(toggle_need_reply): Removed.
* folder-browser.c (on_right_click): Remove CAN_MARK_NEEDS_REPLY
stuff, this is going to be implemented in an entirely different
way.
svn path=/trunk/; revision=15585
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_plain): Look for DOCTYPE XML comments
too to decide if the message content is really HTML.
svn path=/trunk/; revision=15581
2002-01-31 Not Zed <NotZed@Ximian.com>
* mail-callbacks.c (mail_generate_reply): Add attachments after
we've seen if the composer object is valid.
(mail_generate_reply): Support new flag REPLY_NO_QUOTE - if set,
then dont quote any of the message in the reply.
svn path=/trunk/; revision=15560
* mail-account-gui.c (mail_account_gui_new): Destroy the S/MIME
frame if not available, instead of just graying it out. [I would
just hide it, but it looks like there is a show_all somewhere so
that doesn't work.]
svn path=/trunk/; revision=15554
2002-01-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Don't bother setting
the auto-cc/bcc recipients here. I'm moving the code to add them
in the GUI in the composer so they will already be in the
recipient list by this point.
svn path=/trunk/; revision=15549
2002-01-31 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (mail_generate_reply): ignore spell checking of
words in addresses, move set_body_text after all ignored words are
set so we don't have to spell check whole document again
(mail_ignore_address): helper function
(mail_ignore): ditto
svn path=/trunk/; revision=15541
2002-01-30 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (mail_edit): Pass the parent window to
mail_account_editor_new().
* mail-account-editor.c (mail_account_editor_new): Set the parent
window here because construct() inadvertantly
gtk_widget_show_all's the editor.
* mail-account-gui.c (mail_account_gui_save): Use g_basename()
rather than strrchr for '/' especially since the strrchr code
wasn't doing any NULL checks.
svn path=/trunk/; revision=15533
2002-01-30 Not Zed <NotZed@Ximian.com>
* component-factory.c (create_component): re-enable popup menu.
(populate_folder_context_menu): If we're on a vfolder, and its not
UNMATCHED, create a change properties item, and set it up
approriately.
(change_prop_popup): Callback to edit the vfolder rule. For
#3358.
svn path=/trunk/; revision=15523
2002-01-29 Dave West <kat@unleashed.org>
* mail-callbacks.c (create_msg_composer): Changed the function
signature so that we can pass in whom we want to compose as.
Should fix bug #10391.
(compose_msg): Get the current profile account and pass it along
to create_msg_composer.
(send_to_url): Pass in a NULL profile account to cause
create_msg_composer to use the default account.
svn path=/trunk/; revision=15518
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_send_message): Make X-Evolution-Account take
priority over X-Evolution-Transport. Should we just get rid of
X-Evolution-Transport? Anyways, this ought to fix a number of
complaints.
svn path=/trunk/; revision=15516
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (redirect): New function that implements the
Redirect feature.
* mail-ops.c (mail_send_message): If we are redirecting a message,
get the Resent-* recipients otherwise get the normal To/Cc/Bcc
recipients and use them in the CamelTransport::send_to() method.
* mail-session.c (main_get_filter_driver): Set the beep_func to
the beep_cb, not the play_sound_func. Oops ;-)
* folder-browser-ui.c: Add Redirect bonobo verb thingy here.
(folder_browser_ui_set_selection_state): Add MessageRedirect to
the proper string arrays.
svn path=/trunk/; revision=15511
2002-01-29 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (do_mail_print): initialize line to 0 to make
everybody happy ;-)
ops, set local_font to NULL
svn path=/trunk/; revision=15506
2002-01-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Don't bother checking
for invalid recipients anymore. If a recipient is invalid, the
transport error message will specify that now.
svn path=/trunk/; revision=15501
2002-01-28 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (do_mail_print): print footer
(footer_print_cb): print page number and number of pages
svn path=/trunk/; revision=15499
2002-01-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (delete_event_cb): We need to return a value
here. I think FALSE is fine (I hope).
svn path=/trunk/; revision=15476
2002-01-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_data_cb): Save the pathname.
(save_part): Use the new mail_config cruft to get the last used
save pathname.
* mail-config.c (config_read): Read in last_filesel_dir string.
(mail_config_write_on_exit): Save the last_filesel_dir setting.
(mail_config_get_last_filesel_dir): New
(mail_config_set_last_filesel_dir): New
svn path=/trunk/; revision=15474
2002-01-25 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (destination_folder_handle_motion): Do some
NULL checking on the url before using it.
(destination_folder_handle_drop): Make sure the uri is non-NULL
before freeing.
svn path=/trunk/; revision=15473
2002-01-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (is_email): Don't bother trying to see if the
domain looks like a FQDN.
svn path=/trunk/; revision=15457
2002-01-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (select_all): If the mail-display is in focus,
then select-all in the mail display rather than the
message-list. Fixes bug #19126.
svn path=/trunk/; revision=15456
2002-01-23 Jeffrey Stedfast <fejj@ximian.com>
Implements bug #15692
* folder-browser.c (html_button_press_event): New callback that
checks to make sure that the mouse isn't over a link or image in
the html view and then calls the on_right_click handler after
getting the appropriate args.
(my_folder_browser_init): Connect to the button_press_event here.
svn path=/trunk/; revision=15437
* Makefile.am (INCLUDES): Define CAMEL_PROVIDERDIR to be the
configure.in-defined camel_providerdir. (Was supposed to have been
committed a month ago... oops.)
svn path=/trunk/; revision=15430
2002-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_filter_folder): Now takes a boolean notify
argument. If this is *not* set, then remove the sound-notify
filter rule that mail-session adds. Kinda kludgy, but good enough
for the moment.
* mail-callbacks.c (guess_me): Simplified.
svn path=/trunk/; revision=15426
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_plain): If the first "token" in the
body is "<html>", then treat this as a text/html part rather than
a text/plain part. Fixes bug #16817.
* component-factory.c (destination_folder_handle_drop): Removed
some unused variables.
svn path=/trunk/; revision=15420
2002-01-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (try_uudecoding): Update to match new uudecode
interface (ie, no longer need a uulen state variable).
svn path=/trunk/; revision=15350
2002-01-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_set_base): New callback to handle the
set_base signal.
(on_url_requested): If the base_url is set, prepend it to the data
url (we don't want to do this for cid urls or part urls tho).
(mail_display_init): Initialize md->base_url to NULL.
(mail_display_destroy): Free the base_url.
(mail_display_initialize_gtkhtml): Connect to the set_base signal.
(on_link_clicked): If the base_url is set, prepend it to the url
string passed to us from gtkhtml.
svn path=/trunk/; revision=15329
2002-01-08 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (message_list_select): When performing a
wraparound, check to see if the first (or last depending on
direction) message fits the selection criteria before telling
etable to find the next/previous matching node.
* mail-account-gui.c (mail_account_gui_new): When connecting to
the transport username changed event, pass the gui->transport not
the gui->source.
svn path=/trunk/; revision=15267
2002-01-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_new): When connecting to
the transport username changed event, pass the gui->transport not
the gui->source.
svn path=/trunk/; revision=15266
2002-01-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (list_add_addresses): Simplified. Also no
longer needs an "ignore_addr" argument as far as I can tell so
that has been removed.
(mail_generate_reply): Don't pass an ignore_addr argument to
list_add_addresses and also change to use g_strcase_hash and
g_strcase_equal since addresses are not case snesitive
(mostly). Also, Reply-To can contain multiple addresses, so handle
this case too.
svn path=/trunk/; revision=15231
2002-01-02 JP Rosevear <jpr@ximian.com>
* mail-callbacks.c: remove e_gnome_dialog util functions and use
e-util ones instead
2002-01-02 JP Rosevear <jpr@ximian.com>
* e-dialog-utils.c (e_gnome_dialog_set_parent): util function
moved from mail-callbacks, also destroys the dialog if the parent
is destroyed
(e_gnome_warning_dialog_parented): similarly
(e_gnome_ok_cancel_dialog_parented): ditto
* e-dialog-utils.h: new protos
svn path=/trunk/; revision=15225
2001-12-21 Jeffrey Stedfast <fejj@ximian.com>
The idea here is that if we consistantly name the movemail file
between Send&Receive sessions that if the user cancells the
"download" of a mbox spool that the next Send&Receive will not
"lose" mail that didn't finish the previous session. Fixes bug
#17759. Well, mostly. If you have 200 messages and cancel after
the first 100, say, then the next time you hit Send&Receive, it
will start over from 1 so you'll end up duplicating the first 100
messages, but at least you won't "lose" mail.
* mail-tools.c (mail_tool_get_local_movemail_path): Now a static
internal function, takes a char *uri argument and no longer
generates movemail.%d filenames... they are now based on the uri
provided.
(mail_tool_do_movemail): Pass along the source_uri.
svn path=/trunk/; revision=15224