Commit Graph

2705 Commits

Author SHA1 Message Date
59951a4a1b provide a proper implicit rule for building .server.in from .server.in.in.
2002-11-20  Not Zed  <NotZed@Ximian.com>

        * importers/Makefile.am (%.server.in): provide a proper implicit
        rule for building .server.in from .server.in.in.  The other one
        just copied the first target to all destinations(!).

        * importers/evolution-outlook-importer.c (outlook_factory_fn):
        destroy -> weak ref.

svn path=/trunk/; revision=18855
2002-11-20 07:16:30 +00:00
e977b0e280 build fixes
svn path=/trunk/; revision=18849
2002-11-19 22:54:13 +00:00
77a4220c02 Save the settings via gconf. (mail_preferences_construct): Load the values
2002-11-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-preferences.c (mail_preferences_apply): Save the settings
	via gconf.
	(mail_preferences_construct): Load the values from gconf.

svn path=/trunk/; revision=18848
2002-11-19 22:25:10 +00:00
2e3e632627 added
svn path=/trunk/; revision=18842
2002-11-19 20:06:37 +00:00
ccbfa5da03 applied plain_signature_fix.patch
svn path=/trunk/; revision=18841
2002-11-19 18:42:41 +00:00
e3713d58cd fix warning message, outlook->mbox.
2002-11-19  Not Zed  <NotZed@Ximian.com>

        * importers/evolution-mbox-importer.c (mail_importer_module_init):
        fix warning message, outlook->mbox.

        * importers/Makefile.am: fix serverdir to point to
        $libdir/bonobo/servers.

        * mail-callbacks.c (addrbook_sender): add type to
        bonobo_widget_set_property.

        * mail-vfolder.c (vfolder_editor_response): dont unref after destroy.

        * mail-session.c (pass_response): dont unref aftrer destroy.

        * mail-local.c (reconfigure_response): dont unref after destroy.

        * mail-display.c (launch_cb): dont unref after destroy.
        (launch_cb): "
        (drag_data_get_cb): "
        (html_button_press_event): add type to bonobo_widget::set_property

        * mail-config.c (mail_config_check_service): dont unref after
        destroy.

        * component-factory.c (send_receive_cb): dont unref after destroy.
        (request_quit): "

        * mail-signature-editor.c (mail_signature_editor): Use version 3.0
        of gtkhtml editor interfaces.
        (do_exit): dont unref after destroy.
        (format_html_cb): Add type to bonobo_widget::set_property.

svn path=/trunk/; revision=18837
2002-11-19 05:03:29 +00:00
86946f8f29 applied spell_crash_fix.patch
svn path=/trunk/; revision=18829
2002-11-18 17:05:59 +00:00
b1cb21f5e7 Specify the default account. Also, don't need to use
2002-11-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_load): Specify the default
	account. Also, don't need to use e_utf8_to_gtk_string() here.

svn path=/trunk/; revision=18826
2002-11-18 13:56:35 +00:00
fc6c2cd99b Added back libevolution-importer stuff. (SUBDIRS): Added back importers.
2002-11-18  Not Zed  <NotZed@Ximian.com>

	* Makefile.am (evolution_mail_LDADD): Added back
	libevolution-importer stuff.
	(SUBDIRS): Added back importers.

	* importers/evolution-mbox-importer.c (load_file_fn): build the
	uri without deprecated funcs.
	(load_file_fn): dont free/alloc a camel_exception for no obvious
	purpose.
	(mbox_factory_fn): use weak_ref rather than destroy.
	(importer_destroy_cb): fix signature for weak ref notify.
	(mbox_factory_fn): add cid param.

	* importers/*.[ch]: ran fix script over everything.

	* importers/*.server.in.in: Added bonobo activation files.  Moved
	evolution-mail to @LIBEXEC@ as below.

	* importers/Makefile.am: oaf->bonobo activation stuff.

	* importers/evolution-outlook-importer.c (outlook_factory_fn): Add
	component id to callback.

svn path=/trunk/; revision=18822
2002-11-18 11:36:50 +00:00
a0e079bb11 Update.
svn path=/trunk/; revision=18793
2002-11-15 22:06:42 +00:00
7bc5286b88 Add rules to substitute @LIBEXEC@ in GNOME_Evolution_Mail.server.in.in and
* Makefile.am: Add rules to substitute @LIBEXEC@ in
GNOME_Evolution_Mail.server.in.in and install evolution-mail in
$(libexecdir) instead of $(bindir).

* GNOME_Evolution_Mail.server.in.in: Replaced evolution-mail with
@LIBEXECDIR@/evolution-mail.

svn path=/trunk/; revision=18790
2002-11-15 22:03:54 +00:00
32a2333661 Use bonobo_main_quit instead of gtk
* component-factory.c: Use bonobo_main_quit instead of gtk

svn path=/trunk/; revision=18786
2002-11-15 21:43:53 +00:00
57dce5cddb Correctly spell Advanced.
2002-11-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (sig_edit): Correctly spell Advanced.

svn path=/trunk/; revision=18780
2002-11-15 17:31:52 +00:00
83f7ad5ed8 weak notify -> ref.
2002-11-15  Not Zed  <NotZed@Ximian.com>

	* mail-summary.c (create_summary_view): weak notify -> ref.

	* mail-send-recv.c (build_dialogue): weak notify -> ref.

	* mail-accounts.c (account_edit_clicked): weak notify -> ref, i
	presume this is what jeff meant, 'cause it dont compile otherwise.

svn path=/trunk/; revision=18778
2002-11-15 09:16:43 +00:00
4ff0a43cd4 Use g_object_weak_ref rather than connecting to destroy.
2002-11-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (account_edit_clicked): Use g_object_weak_ref
	rather than connecting to destroy.
	(account_add_clicked): Same.

	* mail-callbacks.c (addrbook_sender): Make this use
	g_object_weak_notify also.
	(subscribe_dialog_destroy): Add NULL guards here since I think we
	really do want to connect to the "destroy" signal in the function
	that connects us to that signal.

	* mail-config-factory.c (config_control_factory_cb): Same.

	* mail-display.c (save_part): Here too.
	(make_popup_window): And here.

	* mail-send-recv.c (build_dialogue): Same here.

	* mail-summary.c (create_summary_view): Use g_object_weak_notify
	instead of connecting to the destroy signal.

svn path=/trunk/; revision=18764
2002-11-14 23:26:55 +00:00
1669f16747 Want a (GWeakNotify) cast here, not (GWeakNotify *).
* component-factory.c (owner_set_cb): Want a (GWeakNotify) cast
here, not (GWeakNotify *).

* subscribe-dialog.c (fete_init): g_object_set() instead of
gtk_object_set().
(populate_store_list): Likewise.
(menu_item_selected): g_object_get_data() instead of
gtk_object_get_data().

* message-list.c (message_list_create_extras): g_object_set()
instead of gtk_object_set().

* message-browser.c (message_browser_message_list_built):
g_object_get_data() instead of gtk_object_get_data().

* mail-vfolder.c (edit_rule_response): g_object_get_data() instead
of gtk_object_get_data().

* mail-summary.c (generate_folder_summaries): g_object_unref() the
context instead of gtk_object_destroy().

* mail-local.c (reconfigure_response): g_object_get_data() instead
of gtk_object_get_data().

* mail-display.c (pixbuf_gen_idle): g_object_unref() the GdkPixbuf
loader instead of gtk_object_destroy().
(pixbuf_gen_idle): Likewise.
(embeddable_destroy_cb): Likewise.

* mail-config-druid.c (mail_config_druid_destroy): No need to
gtk_object_destroy() the GladeXML object.
(construct): g_object_set() instead of gtk_object_set().

* folder-browser.c (folder_browser_gui_init): g_object_get_data()
instead of gtk_object_get_data().

svn path=/trunk/; revision=18752
2002-11-14 17:20:52 +00:00
25fbeda5e9 shell client objref. (mail_add_storage): " (mail_remove_storage): "
2002-11-14  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (create_view): shell client objref.
        (mail_add_storage): "
        (mail_remove_storage): "

svn path=/trunk/; revision=18751
2002-11-14 07:55:41 +00:00
5bf1afd678 Remove a couple backslashes that were causing automake to complain, even
2002-11-13  Joe Shaw  <joe@ximian.com>

	* Makefile.am: Remove a couple backslashes that were causing
	automake to complain, even though they were on lines that were
	-commented out-.  Sigh.

svn path=/trunk/; revision=18746
2002-11-13 21:16:04 +00:00
0cdfb61be2 Use g_object_new() instead of gtk_type_new(). Likewise. Likewise.
* folder-info.c (evolution_folder_info_factory_fn): Use
g_object_new() instead of gtk_type_new().
* folder-browser.c (folder_browser_new): Likewise.
* mail-account-gui.c
(mail_account_gui_folder_selector_button_new): Likewise.
* mail-font-prefs.c (mail_font_prefs_new): Likewise.

svn path=/trunk/; revision=18742
2002-11-13 19:41:17 +00:00
bc9886539a Do not #include <libgnome/gnome-defs.h>. Likewise. Likewise. Likewise.
* mail-format.c: Do not #include <libgnome/gnome-defs.h>.
* mail-importer.c: Likewise.
* mail-mt.c: Likewise.
* mail-ops.c: Likewise.
* mail-search-dialogue.c: Likewise.
* mail-session.c: Likewise.
* mail-vfolder.c: Likewise.
* message-tag-followup.c: Likewise.
* main.c: Likewise, and <libgnomeui/gnome-init.h>.

* mail-callbacks.c: Do not #include <libgnome/gnome-paper.h>.
(do_mail_print): Remove the GnomePaper local variable.

svn path=/trunk/; revision=18739
2002-11-13 16:46:52 +00:00
02237b6f44 destroy->weak ref. (owner_set_cb): shell client changes.
2002-11-13  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (owner_set_cb): destroy->weak ref.
        (owner_set_cb): shell client changes.

        * mail-signature-editor.c (mail_signature_editor): bonobo api changes.

        * mail-local.c (save_metainfo): go back to using xmlSaveFile.

        * Makefile.am: Removed libevolution-importer from mail.

svn path=/trunk/; revision=18736
2002-11-13 09:53:36 +00:00
9e4f25d532 Added to cvs. Currently contains no configurable stuff, but maybe it will
2002-11-13  Not Zed  <NotZed@Ximian.com>

        * GNOME_Evolution_Mail.server.in.in: Added to cvs.  Currently
        contains no configurable stuff, but maybe it will one day.

        * Makefile.am (server_DATA): change oaf stuff to server stuff for
        bonobo activation.

        * mail-preferences.c (mail_preferences_apply): handle const entry text.

        * mail-composer-prefs.c (url_requested): Fixed typo.
        (mail_composer_prefs_construct): gnomepixmap->gtkimage.

        * mail-callbacks.c (configure_mail): destroy dialogue before dealing
        with response.
        (mail_generate_reply): Fix a typo.
        (popup_listener_cb): fix prototype.
        (tag_editor_response): Handle gtk dialog response.
        (flag_for_followup): Change gnome dialog to gtk dialog stuff.
        (tag_editor_destroy_cb):
        (tag_editor_cancel):
        (tag_editor_ok): Removed, handled in _response().
        (filter_editor_response): renamed from _clicked, handle gtk
        dialogue signal.
        (filter_editor_destroy): Removed.
        (footer_info_new): gnome font api changes.
        (do_mail_print): port to gnome print 2.

        * mail-autofilter.c (mail_filter_delete_uri): message_dialog uses
        a specific button enum, not the stock ones.

        * mail-accounts.c (mail_accounts_tab_get_type): gobjectify.
        (account_delete_clicked): gdkdialogise.

        * mail-account-gui.c (mail_account_gui_setup): Hack around font
        metric determination code.

        * mail-account-editor.c (mail_account_editor_get_type):
        gobjectise.
        (mail_account_editor_new): ""

        * folder-info.c (evolution_folder_info_notify_ready): use pbclient
        interface.

        * folder-browser-factory.c (control_destroy_cb): fix a typo.
        (folder_browser_factory_new_control): More typos.

        * folder-browser.c (on_right_click): cast around const warning.
        (context_menu_position_func): fix for api change.

        * e-searching-tokenizer.c (e_searching_tokenizer_finalise):
        Changed from destroy since it only frees memory.
        (e_searching_tokenizer_get_type): glibify.

        * component-factory.c (request_quit): gtkdialogise.
        (send_receive_cb): "
        (create_component): gdk_pixbuf api.
        (component_factory_init): bonobo activation stuff.
        (warning_response): renamed from warning_clicked.
        (owner_set_cb): gtkdialogise.

svn path=/trunk/; revision=18731
2002-11-13 04:40:07 +00:00
aa55b24ba7 Added files I've ported.
2002-11-12  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Added files I've ported.

	* mail-config.c: Remove gnome-defs.h, this header no longer exists
	in GNOME2.

svn path=/trunk/; revision=18725
2002-11-12 18:59:56 +00:00
d4c4a7d184 Fixed i18n rule.
svn path=/trunk/; revision=18724
2002-11-12 15:01:08 +00:00
f9804e1193 Commented out stuff that doesn't build yet. Also fixed idl build rule.
2002-11-13  Not Zed  <NotZed@Ximian.com>

	* Makefile.am: Commented out stuff that doesn't build yet.  Also
	fixed idl build rule.  importers still not built.

	* main.c (main): bonobactivationise.  remove push visual/colormap.
	(main): no longer activate activation, let bonobo_init do it.

	* mail-signature-editor.c (menu_help): Change help api.

	* mail-session.c (user_message_destroy_noreply): removed.  Not
	used?

	* mail-local.c (load_metainfo): xml root->children.

	* mail-format.c (g_string_append_len): Removed, it exists now.

2002-11-12  Not Zed  <NotZed@Ximian.com>

	* subscribe-dialog.c: gnome2ised, use gtkdialog.
	(subscribe_get_global_extras): use a weak ref rather than destroy signal.

	* message-tag-followup.c: gnome2ised.

	* message-tag-editor.c: gnome2ised & converted to gtkdialog.

	* message-list.c: gnome2ised.
	(message_list_finalise): From destroy method.  maybe should be
	destroy still.

	* message-browser.c: port to gnome2
	(message_browser_finalise): renamed from destroy method.

	* mail-stream-gtkhtml.c: removed redundant
	camel_class_get_global_classfuncs() call.

	* mail-signature-editor.c: gtkdialogised, & bonobo api changes.


	* mail-search-dialogue.c: gtkdialogised.

	* mail-folder-cache.c: cleaned up camel ref/hook casts.

	* mail-composer-prefs.c (mail_composer_prefs_get_type): convert to
	gtype.

	* mail-font-prefs.c (mail_font_prefs_destroy): from finalise.

	* mail-config.c: s/bonobo_config/e_config_listener/
	Added /apps/Evolution prefix to the evolution keys.
	Changed to use e_config_listener, etc.
	(mail_config_init): remove bonobo_config stuff.
	(mail_config_check_service): gtk dialogise.
	(check_response): from check_cancelled.

	* mail-config-druid.c (mail_config_druid_destroy): renamed from
	_finalize, turned into destroy handler.
	(construct): set type to toplevel, GTK_WINDOW_DIALOG no longer exists.

	* mail-config-factory.c (mail_config_register_factory): bonobo api
	changes.

	* mail-crypto.c (mail_crypto_get_pgp_cipher_context): cleaned up
	unref casts.

	* mail-display.c (write_data_to_file): gnome->gtkdialog.
	(on_link_clicked): use ascii_str*cmp on url.
	(save_part): g_path stuff.
	(launch_cb): gtk dialog.
	(pixmap_press): de-oafify.
	(pixbuf_for_mime_type): gnome-vfs api changes.
	(do_attachment_header): Change the pixmap to a gtkimage.
	(do_signature): "
	(pixbuf_gen_idle): "
	(do_attachment_header): ascii_str*cmp
	(do_attachment_header): gnome pixmap->gtkimage.
	(mail_display_destroy): protect against gtk mentalness.
	(html_button_press_event): ascii_str*cmp
	(drag_data_get_cb): added comment for translators of filename.

	* mail-format.c (component_supports): de-oafise.
	(is_anonymous): ascii_strncmp
	(attachment_header): remove utf8<>locale stuff, and gnomevfs api
	changes.
	(format_mime_part): fix g_strdown call.
	(write_field_row_begin): kill utf8->gtk stuff.
	(write_address): "
	(default_header_index): ascii_strcasecmp
	(handle_text_plain): "
	(handle_text_enriched): "
	(handle_multipart_encrypted): remove utf/gtk stuff.
	(handle_message_external_body): ascii_str*cmp

	* mail-identify.c (mail_identify_mime_part):
	(identify_by_magic): gnome vfs api changes.

	* mail-importer.c: Converted.

	* mail-local.c (load_metainfo): xml childs -> children.
	(mls_get_folder): g_strerror.
	(mls_delete_folder): g_strerror.
	(reconfigure_got_folder): Gnome->GtkDialog
	(reconfigure_response): from reconfigure_clicked.

	* mail-mt.c (mail_msg_check_error): gnome -> gtk dialog
	(error_response): renmae from error_gone.  destroy widget on any
	response.

	* mail-offline-handler.c (impl_finalise): renamed from
	impl_destroy since thats what it should be anyway.

	* mail-ops.c: removed utf8 widget conversion & camel_object_un/ref
	casts.

	* mail-preferences.c (mail_preferences_get_type): glib2'ised.

	* mail-search.c (mail_search_finalise): renmaed from destroy &
	properly chain.
	(mail_search_get_type): glib2 & make gtkdialog parent.
	(entry_run_search): run search when entry activated.  not sure if
	gtkdialog has anohter way to do this on an arbitrary widget.

	* mail-send-recv.c (dialogue_response): renamed from clicked.  Use
	gtkdialog.

	* mail-session.c (request_password_deleted): removed, redundant.
	(pass_response): rename from pass_got, changed for gtkdialog.
	(user_message_destroy): Removed, redundant.
	(user_message_response): Renamed from user_message_clicked.

2002-11-11  Not Zed  <NotZed@Ximian.com>

	* mail-stream-gtkhtml.c (mail_stream_gtkhtml_class_init): dont use
	get_global_classfuncs, just get the type

	* mail-tools.c: converted gnome2 api's.

	* mail-vfolder.c (vfolder_editor_response): clicked->response.
	(vfolder_editor_destroy): Removed.
	(vfolder_edit): gtk dialog api
	(edit_rule_response): clicked->response.
	(vfolder_edit_rule): gnomedialog->gtkdialog.
	(vfolder_gui_add_rule): "
	(new_rule_clicked): clicked->response

svn path=/trunk/; revision=18723
2002-11-12 14:59:35 +00:00
016bf0dc64 Half way ported. I'll finish the rest later.
2002-11-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c: Half way ported. I'll finish the rest later.

	* mail-autofilter.c: Ported.

svn path=/trunk/; revision=18716
2002-11-12 00:30:39 +00:00
ad1842ed0f Ported.
2002-11-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c: Ported.

svn path=/trunk/; revision=18704
2002-11-11 19:20:39 +00:00
ba61233a0c Ported.
2002-11-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c: Ported.

svn path=/trunk/; revision=18700
2002-11-11 18:53:56 +00:00
eefc354fcc Ported.
2002-11-11  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c: Ported.

	* folder-browser-factory.c: Ported.

	* folder-browser.c: Ported.

svn path=/trunk/; revision=18699
2002-11-11 18:34:26 +00:00
cca2134ea9 Ported.
2002-11-11  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c: Ported.

	* e-searching-tokenizer.c: Roughly ported.

svn path=/trunk/; revision=18697
2002-11-11 17:34:05 +00:00
d11a036199 Converted to libglade-2's format.
2002-11-10  Jeffrey Stedfast  <fejj@ximian.com>

	* *.glade: Converted to libglade-2's format.

svn path=/trunk/; revision=18688
2002-11-11 04:44:55 +00:00
8a3ac3341a Ported.
2002-11-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c: Ported.

svn path=/trunk/; revision=18678
2002-11-08 23:34:32 +00:00
579415f2b2 No longer need to check for a CLEAR_ID.
2002-10-28  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_query_changed): No longer need
	to check for a CLEAR_ID.

svn path=/trunk/; revision=18463
2002-10-28 22:37:17 +00:00
4c7be2715d instead of bailing with an assertion dump the body.
2002-10-28  Larry Ewing  <lewing@ximian.com>

	* mail-format.c (handle_multipart_mixed): instead of bailing with
	an assertion dump the body.
	(handle_multipart_signed): same.
	(handle_multipart_alternative): same.
	(handle_multipart_appledouble): same.

svn path=/trunk/; revision=18462
2002-10-28 18:01:13 +00:00
6a791ddb8d instead of bailing with an assertion dump the body.
2002-10-28  Larry Ewing  <lewing@ximian.com>

	* mail-format.c (handle_multipart_mixed): instead of bailing with
	an assertion dump the body.

svn path=/trunk/; revision=18457
2002-10-28 16:33:47 +00:00
529b6c87c3 don't queue the action until we've added ourselves to the active list,
2002-10-27  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (fetch_next): don't queue the action until we've
	added ourselves to the active list, because the fetch_done
	callback can fire immediately and we'll end up queueing something
	that has already been destroyed.

svn path=/trunk/; revision=18452
2002-10-28 09:16:05 +00:00
d7479876f5 Update the upgrade script to handle the new url format introduced with
2002-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	Update the upgrade script to handle the new url format introduced
	with NotZed's most recent commits.

	* upgrade-mailer.c (mailer_upgrade): Save an encoded version of
	the namespace too, for use later.
	(si_free): Free the encoded namespace too.
	(imap_url_upgrade): Use the encoded namespace when creating the
	new url.
	(shortcuts_upgrade_xml_file): Upgrade the default: urls. Fixes bug
	#32127.

svn path=/trunk/; revision=18438
2002-10-25 19:16:11 +00:00
56c3d9cb4c Always strdup the new key in the threaded/preview hash/always free the
2002-10-25  Not Zed  <NotZed@Ximian.com>

        * mail-config.c (mail_config_uri_renamed): Always strdup the new
        key in the threaded/preview hash/always free the working copy.
        For #32799.

svn path=/trunk/; revision=18431
2002-10-25 06:19:07 +00:00
cd0daad88d Use the mode 0666 when creating a new file and let the user's umask handle
2002-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (write_data_to_file): Use the mode 0666 when
	creating a new file and let the user's umask handle permissions.

	* folder-browser.c (message_list_drag_data_get): When using open()
	with the O_CREAT flag, we need to pass a mode argument. Also use
	O_EXCL.

svn path=/trunk/; revision=18430
2002-10-25 01:26:37 +00:00
93391a5767 Use a hashtable to only insert nodes we dont have already, rather than
2002-10-24  Not Zed  <NotZed@Ximian.com>

        * subscribe-dialog.c (fe_got_children): Use a hashtable to only
        insert nodes we dont have already, rather than relying on the
        scanning logic.  Also, only re-sort this tree level once done
        rather than on each insert.
        (folder_etree_init): Setup hash to track nodes setup.
        (folder_etree_clear_tree): Reset hash.
        (fe_destroy): Free hash.

svn path=/trunk/; revision=18426
2002-10-24 16:03:05 +00:00
5f737e09fe Only perform the search if it is either a clear or advanced search.
2002-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_query_changed): Only perform
	the search if it is either a clear or advanced search.

svn path=/trunk/; revision=18422
2002-10-24 01:50:06 +00:00
d45b7b4852 pass fb->uri to the folder selection dialog so the current folder is
2002-10-22  Mike Kestner  <mkestner@ximian.com>

	* mail-callbacks.c (transfer_msg): pass fb->uri to the folder
	selection dialog so the current folder is selected on display.
	"fixes" 15966.

svn path=/trunk/; revision=18420
2002-10-23 19:20:39 +00:00
fe69a9645e here's a fix for bug #18242
svn path=/trunk/; revision=18402
2002-10-21 19:14:02 +00:00
0d7d98834f Fix the transport URL on any Exchange accounts. Fixes #30209, which is to
* upgrade-mailer.c (mailer_upgrade): Fix the transport URL on any
	Exchange accounts. Fixes #30209, which is to say that it fixes
	#28490 correctly.

svn path=/trunk/; revision=18399
2002-10-21 15:54:24 +00:00
dbff16f544 s/+ 4/+ 1/
we want to strip the "-- " too

svn path=/trunk/; revision=18394
2002-10-18 17:51:10 +00:00
e88e358052 Strip the signature from the body-text. Fixes bug #5529.
2002-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_quote_message): Strip the signature from
	the body-text. Fixes bug #5529.

svn path=/trunk/; revision=18393
2002-10-18 04:14:41 +00:00
d536b6d10b If the attachment is type application/octet-stream, sniff the file type
2002-10-17  Benjamin Kahn  <xkahn@ximian.com>

	* mail-format.c (mail_lookup_handler): If the attachment is type
	application/octet-stream, sniff the file type even if the user
	has a handler for that type.

svn path=/trunk/; revision=18388
2002-10-17 21:06:27 +00:00
5f38b1e898 Don't need to pass a path to camel_gpg_context_new () anymore.
2002-10-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Don't need to pass a
	path to camel_gpg_context_new () anymore.
	(mail_get_message_body): Same here.
	(handle_multipart_encrypted): Use camel_gpg_context_new () instead
	of mail_crypto_get_pgp_cipher_context ().

	* mail-preferences.c (mail_preferences_construct): There's no
	security tab anymore.
	(mail_preferences_apply): No need to save any pgp config data,
	there's nothing to configure!

	* mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to
	not pass a pgp path into camel_gpg_context_new ().

	* mail-config.c (mail_config_clear): No need to free a pgp_path
	variable anymore, we don't need one.
	(config_read): Don't read in a pgp-path or pgp-type anymore.
	(mail_config_write_on_exit): Don't save a pgp-path or pgp-type
	anymore, we don't use them.
	(pgpopen): Removed.
	(pgpclose): Removed.
	(mail_config_pgp_type_detect_from_path): Removed.
	(auto_detect_pgp_variables): Removed.
	(mail_config_get_pgp_type): Removed.
	(mail_config_set_pgp_type): Removed.
	(mail_config_get_pgp_path): Removed.
	(mail_config_set_pgp_path): Removed.

svn path=/trunk/; revision=18384
2002-10-17 03:04:11 +00:00
00eecfd48b If mode == REPLY_LIST and the mlist is "" (we only checked NULL before),
2002-10-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): If mode == REPLY_LIST
	and the mlist is "" (we only checked NULL before), change the mode
	to REPLY_ALL so that we don't accidently reply to the user's
	address. Fixes bug #28735

svn path=/trunk/; revision=18381
2002-10-17 02:12:41 +00:00
8ed14acbc8 If we are trying to reply to a list, first check that we can by getting
2002-10-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): If we are trying to
	reply to a list, first check that we can by getting the mlist
	token (makes it easier to fix the mem leak). If not, then change
	the mode to REPLY_ALL. If we can reply to list, the make sure we
	free the CamelMessageInfo when we're done so we don't leak.

svn path=/trunk/; revision=18376
2002-10-16 16:17:10 +00:00