Commit Graph

2567 Commits

Author SHA1 Message Date
Larry Ewing 73b9effe12 add an activate handler to the entry so that hitting return will return an
2003-02-06  Larry Ewing  <lewing@ximian.com>

	* mail-session.c (pass_activate): add an activate handler to the
	entry so that hitting return will return an OK response.

svn path=/trunk/; revision=19800
2003-02-06 06:53:17 +00:00
Dan Winship a066cf216e s/glade_gnome_init/glade_init/
* main.c (main): s/glade_gnome_init/glade_init/

svn path=/trunk/; revision=19762
2003-02-05 18:10:51 +00:00
Not Zed 2dd6f4d7de update from ../../importers/. (main): Removed.
2003-02-05  Not Zed  <NotZed@Ximian.com>

	* importers/netscape-importer.c: update from ../../importers/.
	(main): Removed.
	(mail_importer_module_init): Setup module init fn.
	(factory_fn): api changes.
	(is_dir_empty): deprecated changes, and clean up logic.
	(importer_cb): pulse progress bar, use idle function for
	processing next item.
	(import_next): Remove link before recursing, also fix memleak, and
	api changes.
	(netscape_import_file): dont release importer.
	(*): gconf'ify

	* importers/elm-importer.c (elm_factory_fn): Track the
	evolution_intelligent_importer, so we can unref it when done.
	(*): gconf'ify.

	* importers/pine-importer.c (parse_line): use gobject stuff rather
	than gtkobject.
	(import_addressfile): close down 'properly' when finished.
	(importer_timeout_fn): Do most processing decisions here, either
	from a timeout or idle function.  This prevents us getting 1 stack
	frame per message and per folder.  Close down properly also.
	(importer_cb): Add a timeout, ignore the callback, or add an idle
	function to process the next item.
	(pine_import_file): dont release the importer if we can't load it,
	its released elsewhere, i think.
	(import_addressfile): step the progress bar as we go.
	(factory_fn): Track the evolution_intelligent_importer, so we can
	unref when done.
	(*): gconf'ify

2003-01-31  Not Zed  <NotZed@Ximian.com>

	* importers/elm-importer.c (elm_can_import): g_file_exists ->
	lstat, and g_build_filename api changes.

	* importers/pine-importer.c: moved from
	../../importers/pine-importer.c
	(factory_fn): oaf->bonobo_activation
	(mail_importer_module_init): setup factory.
	(main): Removed.
	(*): REemove bonobo config stuff.
	(factory_fn): destroy signal -> weak ref.
	(pine_destroy_cb): Fix signature for weak ref notify.
	(import_addressfile): use new glib filename stuff.
	(import_addressbook): same.
	(pine_can_import): and here.
	(import_next): and here.
	(scan_dir): and here
	(pine_create_structure): And here.
	(pine_can_import): g_file_exists -> lstat.
	(importer_cb): If there are more items, use an idle handler to
	drop back a few stack frames rather than recursing for each
	message.
	(import_next): unlink data from dir_list before recursing, and fix
	leak.

2003-01-30  Not Zed  <NotZed@Ximian.com>

	* importers/elm-importer.c (elm_destroy_cb): Change for weak ref
	setup.
	(elm_factory_fn): destroy -> weak ref.

2003-01-29  Not Zed  <NotZed@Ximian.com>

	* importers/elm-importer.c (importer_cb): Pass processItem off to
	an idle handler, so we dont blow our stacks.  Also update to use
	progress_bar_pulse().
	(import_item_idle): Get the next message here instead.
	(import_next): Fix a glist leak.  Unlink the file before we import
	it too.  And close the dialogue and clean up when we've run out of
	folders to import.

2003-01-17  Not Zed  <NotZed@Ximian.com>

	* importers/elm-importer.c (elm_create_structure): use/free elmdir
	rather than double-free maildir.

2003-01-16  Not Zed  <NotZed@Ximian.com>

	* importers/elm-importer.c: update from ../importers/elm-importer.c

svn path=/trunk/; revision=19752
2003-02-05 04:25:40 +00:00
Jeffrey Stedfast 8ddf5945c8 Get the thread_subject setting here instead of in regen_list_regen since
2003-02-03  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (mail_regen_list): Get the thread_subject setting
	here instead of in regen_list_regen since that function will be
	called in another thread and we can't make corba calls in anything
	but the main thread.
	(regen_list_regen): Don't make CORBA calls here! (shame on me).

svn path=/trunk/; revision=19715
2003-02-03 21:57:31 +00:00
Jeffrey Stedfast d2f0410b09 Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crap
2003-02-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-identify.c (mail_identify_mime_part): Just use
	gnome_vfs_get_mime_type_from_name() so we can forget all the crap
	I implemented before.

2003-02-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_link_clicked): Pass in the *address* of the
	GError to gnome_url_show(), otherwise bad things happen :-)

svn path=/trunk/; revision=19711
2003-02-03 19:07:48 +00:00
Jeffrey Stedfast d48d40c7ce New function to return a cached list of labels.
2003-01-31  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_get_labels): New function to return a
	cached list of labels.
	(mail_config_get_label_color_by_name): New convenience function to
	search the cached labels.
	(mail_config_get_label_color_by_index): Same.
	(mail_config_init): Cache the labels and also listen for changes
	to them in the gconf db.
	(config_cache_labels): Internal function to cache the labels.

	* folder-browser.c (on_right_click): Fixed the label colours in
	the menu by using the cached linked list of labels.

	* mail-preferences.c (colorpicker_set_color): Now takes a string
	argument allowing us to get rid of converting a string into an rgb
	guint32 all over the place when trying to set defaults, since we
	now store colors in gconf as strings.
	(mail_preferences_construct): Use the cached labels (they are
	already parsed for us).

svn path=/trunk/; revision=19694
2003-01-31 19:40:31 +00:00
Jeffrey Stedfast a81077272f Change strcmp(fi->path, path) to strcmp(fi->name, name) and now the
2003-01-27  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (storage_remove_folder): Change
	strcmp(fi->path, path) to strcmp(fi->name, name) and now the
	execution takes the right path. My patch base on Callie's patch
	for bug #33525.

svn path=/trunk/; revision=19661
2003-01-28 03:48:27 +00:00
Jeffrey Stedfast 6b1b5d30fd Fixed a #warning by converting a local path into a file: uri before
2003-01-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-identify.c (mail_identify_mime_part): Fixed a #warning by
	converting a local path into a file: uri before feeding it to
	gnome-vfs.

	* message-list.c (message_list_set_folder): Removed a FIXME that
	I've decided is no longer needed.

2003-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_add_account): Emit the account-added
	event.
	(mail_config_remove_account): Emit the account-removed event.

	* mail-account-gui.c (mail_account_gui_save): Emit the changed
	event on the account-list for the changed account.

svn path=/trunk/; revision=19655
2003-01-27 18:06:57 +00:00
Jeffrey Stedfast e7a3fedd24 removed a FIXME comment
svn path=/trunk/; revision=19647
2003-01-27 15:19:16 +00:00
Jeffrey Stedfast cc35ce98a7 Set the paned_size here.
2003-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_global): Set the
	paned_size here.

	* folder-browser.c (folder_browser_gui_init): Don't bother
	connecting to the hide-deleted, message-display-style, paned-size,
	nor show-preview gconf notifications anymore, since we can just
	set them when the view becomes active again in
	folder-browser-ui.c. Cuts down on extra overhead.
	(folder_browser_destroy): No need to disconnect from those
	notifications anymore either.

svn path=/trunk/; revision=19626
2003-01-24 22:56:49 +00:00
Ettore Perazzoli c968436720 (iconsdir): Remove, this is now defined in
configure.in.

svn path=/trunk/; revision=19621
2003-01-24 18:15:10 +00:00
leon.zhang 09e6aacd2d transfer the current acount info, which will be regarded as the sender of
2002-12-07 leon.zhang  <leon.zhang@sun.com>

        * component-factory.c (user_create_new_item_cb):  transfer the
        current acount info, which will be regarded as the sender of
        new composer, to send_to_url().

        * mail-callbacks.h (send_to_url): Add a new parameter for parent
        folder uri.

        * mail-callbacks.c (send_to_url): Create composer base on source
        account info from parent folder physical uri.
        (post_to_url): create composer based on current account from
        parent folder physical uri.

        * mail-display.c (on_link_clicked): Apply new format of function:
        send_to_url.

        Fixes bug #35123 #35289

2003-01-24  Not Zed  <NotZed@Ximian.com>

        * mail-local.c (non_equal): We do actually need to check they are
        file url's, otherwise, all url's match.

svn path=/trunk/; revision=19611
2003-01-24 04:59:36 +00:00
Rodney Dawes 703e63c888 Use button_release instead of size_allocate, and get the position from the
2003-01-23  Rodney Dawes  <dobey@ximian.com>

	* folder-browser.c (fb_resize_cb): Use button_release instead of
	size_allocate, and get the position from the Paned widget to prevent
	calling CORBA all the time for GConf stuff

svn path=/trunk/; revision=19607
2003-01-23 22:44:34 +00:00
Ettore Perazzoli 9c3b7cbe49 Define componentdir instead of COMPONENT_DIR. Set it to
* configure.in (idldir): Define componentdir instead of
COMPONENT_DIR.  Set it to $privlibdir/components instead of
$libdir/evolution-$(BASE_VERSION)/components.

* gui/component/select-names/Makefile.am (componentdir): Remove
definition; no need to set it here since it's now defined in
configure.in
* gui/component/Makefile.am (componentdir): Likewise.

* gui/Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.

* Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.

* Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.

svn path=/trunk/; revision=19588
2003-01-23 17:47:06 +00:00
Jeffrey Stedfast 8825b35b76 Removed. (mail_config_set_thread_list): Removed.
2003-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_get_thread_list): Removed.
	(mail_config_set_thread_list): Removed.
	(mail_config_uri_renamed): No longer needs to change threaded
	state for each url either.
	(mail_config_write_on_exit): Updated.

	* folder-browser-ui.c (folder_browser_ui_add_list): Get the
	threaded state via gconf.

	* folder-browser.c (folder_browser_toggle_threads): Save the
	threaded state.

svn path=/trunk/; revision=19580
2003-01-23 03:09:31 +00:00
Ettore Perazzoli cd8eae592e Use EVOLUTION_GALVIEWSDIR.
* folder-browser-ui.c (folder_browser_ui_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.

* message-browser.c (set_bonobo_ui): Get
evolution-mail-messagedisplay.xml from EVOLUTION_UIDIR.

* mail-signature-editor.c (mail_signature_editor): Get
evolution-signature-editor.xml from EVOLUTION_UIDIR.

* folder-browser-ui.c (ui_add): Get the evoluiton-mail* XML files
from EVOLUTION_UIDIR.

* Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR; update
EVOLUTION_IMAGESDIR to include the $(BASE_VERSION).
(gladedir): Version using $(BASE_VERSION).
(etspecdir): Likewise.
(iconsdir): Likewise.
(buttonsdir): Likewise.
(etspecdir): Likewise.

* component-factory.c (owner_set_cb): Look for vfoldertypes.xml in
the new version-aware location.
* mail-summary.c (generate_folder_summaries): Likewise.
* mail-search-dialogue.c (mail_search_dialogue_construct): Likewise.
* mail-vfolder.c (vfolder_load_storage): Likewise.

* mail-autofilter.c (filter_gui_add_from_message): Look for
filtertypes.xml in the new version-aware location.
(mail_filter_rename_uri): Likewise.
(mail_filter_delete_uri): Likewise.
* mail-session.c (main_get_filter_driver): Likewise.
* mail-callbacks.c (filter_edit): Likewise.

svn path=/trunk/; revision=19562
2003-01-22 20:11:58 +00:00
Radek Doulik ca805e3c7c put unrealized html widget into top level widget (gtk window) before
2003-01-22  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c (do_mail_print): put unrealized html widget
	into top level widget (gtk window) before realizing it
	destroy temporary widgets (w, html)

svn path=/trunk/; revision=19545
2003-01-22 16:14:14 +00:00
Jeffrey Stedfast 947522009e Don't unref the account object, e_list_remove() apparently handles this
2003-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_remove_account): Don't unref the
	account object, e_list_remove() apparently handles this for us.

	* mail-accounts.c (account_delete_clicked): Don't unref the
	confirm dialog, it was already destroyed.

svn path=/trunk/; revision=19541
2003-01-21 19:12:37 +00:00
Jeffrey Stedfast 6e9e87ae5b Default to hiding deleted messages. Fixes bug #35929.
2003-01-20  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-mail.schemas: Default to hiding deleted
	messages. Fixes bug #35929.

	* mail-preferences.c (entry_changed): Removed.
	(toggle_button_toggled): Removed.
	(settings_changed): New callback that replaces the two above. No
	need to have multiple callback functions when the signature is the
	same.

svn path=/trunk/; revision=19532
2003-01-20 23:21:09 +00:00
Jeffrey Stedfast 2dc71ef71e Don't !atoi (state) for the message_list_set_hidedeleted() call.
2003-01-20  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_toggle_hide_deleted): Don't
	!atoi (state) for the message_list_set_hidedeleted() call.

svn path=/trunk/; revision=19531
2003-01-20 19:51:15 +00:00
Larry Ewing e528cb3751 e_question returns a boolean, don't test for a specific value.
2003-01-18  Larry Ewing  <lewing@ximian.com>

	* mail-callbacks.c (save_msg_ok): e_question returns a boolean,
	don't test for a specific value.

svn path=/trunk/; revision=19518
2003-01-19 05:17:04 +00:00
Larry Ewing 798c3cf8f0 (on_link_clicked): call gnome_url_show with all its arguments so
that it actually does something.  Also pass news and nntp urls to
	gnome_url_show so that they can be handled properly.

svn path=/trunk/; revision=19515
2003-01-18 16:56:32 +00:00
Larry Ewing 8f44e1e0f9 make the event handlers return FALSE so that gtkhtml can process the
2003-01-18  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (html_button_press_event): make the event
	handlers return FALSE so that gtkhtml can process the events.

svn path=/trunk/; revision=19514
2003-01-18 06:15:22 +00:00
Larry Ewing abba8d4ea3 wrap eriched entries with a table so that they get proper indentation.
2003-01-17  Larry Ewing  <lewing@ximian.com>

	* mail-format.c (handle_text_enriched): wrap eriched entries with
	a table so that they get proper indentation.

svn path=/trunk/; revision=19512
2003-01-18 03:55:29 +00:00
Jeffrey Stedfast e0053bce8e Updated. (request_password): Same.
2003-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (do_get_pass): Updated.
	(request_password): Same.

	* mail-send-recv.c (mail_send): Fixed to use EAccountService.

	* mail-config-druid.c (make_account): Updated to use EAccount and
	friends.

	* mail-account-gui.c (service_check_supported): Updated to use
	EAccountService.
	(mail_account_gui_new): Ref the account passed in and also update
	to use EAccount objects.
	(save_service): Updated to use an EAccountService.
	(add_new_store): Updated to use an EAccount.
	(mail_account_gui_save): Updated to use EAccounts.
	(setup_signatures): Updated because the new account->id->def_sig
	is now an int and not a structure pointer.

	* mail-account-editor.c (construct): Updated.
	(mail_account_editor_new): Now takes an EAccount object as an
	argument instead of a MailConfigAccount.

	* mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to
	use EAccounts.

	* subscribe-dialog.c (populate_store_foreach): Removed.
	(populate_store_list): Can't use populate_store_foreach here
	because of the change to EAccountList so do it manually.

	* mail-vfolder.c (uri_is_ignore): Rewrote to use EAccountList and
	EIterator and all that fun.

	* mail-send-recv.c (build_dialogue): Updated to use EAccountList
	and EAccount object stuff. *ugh*
	(mail_send_receive): Here too.
	(mail_autoreceive_setup): Same.

	* mail-callbacks.c (check_send_configuration): Updated.
	(composer_get_message): Updated.
	(compose_msg): "
	(list_add_addresses): "
	(guess_me): "
	(guess_me_from_accounts): Same.
	(forward_get_composer): Here too.
	(mail_generate_reply): Same.
	(redirect_get_composer): "
	(empty_trash): And finally here.

	* mail-accounts.c (account_edit_clicked): Updated.
	(account_delete_clicked): Same.
	(account_default_clicked): Here too.
	(account_able_clicked): "
	(account_cursor_change): "
	(mail_accounts_load): Again here.

	* folder-browser.c (folder_browser_is_drafts): Updated to use
	EAccountList and EAccount stuff.
	(folder_browser_is_sent): Same.

	* component-factory.c (mail_load_storages): Updated to use
	EAccount and EAccountList stuff.
	(owner_set_cb): Same.
	(send_receive_cb): Here too.

	* mail-config.c: Rewritten to use EAccount and EAccountList
	objects.

svn path=/trunk/; revision=19509
2003-01-17 23:31:27 +00:00
Jeffrey Stedfast ccaf867e8e fixed merge conflicts
svn path=/trunk/; revision=19501
2003-01-17 02:28:13 +00:00
Jeffrey Stedfast 45473b5ef2 Connect to the toggled event on the transport_needs_auth toggle button so
2003-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (get_fn): Connect to the toggled event on
	the transport_needs_auth toggle button so if the user turns this
	off after having deleted the username field, the Next button
	becomes re-enabled. Fixes bug #36862.

svn path=/trunk/; revision=19500
2003-01-17 02:27:49 +00:00
Jeffrey Stedfast af86d9aabf Same as below.
2003-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (sig_fill_clist): Same as below.

	* mail-account-gui.c (sig_fill_options):
	mail_config_get_signature_list() now returns a GSList instead of a
	GList.

	* mail-config.c (signature_new_from_xml): New function to parse a
	signature xml blob into a MailConfigSignature structure.
	(config_read_signatures): Rewritten to use above function.
	(signature_to_xml): New function to write a signature to xml.
	(config_write_signatures_num): Removed.
	(config_write_signature): Removed.
	(config_write_signatures): Rewritten to use signature_to_xml and
	gconf.

svn path=/trunk/; revision=19497
2003-01-16 20:27:33 +00:00
Dan Winship 80940eeebd Add a UID field (to match EAccount), which never changes and can be used
* mail-config.h (MailConfigAccount): Add a UID field (to match
	EAccount), which never changes and can be used by gconf watchers
	to distinguish an account rename from a deletion and creation.

	* mail-config.c (account_copy): Create a new UID on the new
	account.
	(account_new_from_xml): Read the UID. (If it doesn't have one,
	make one.)
	(account_to_xml): Write the UID.

	* mail-config-druid.c (make_account): add a UID to each account

svn path=/trunk/; revision=19496
2003-01-16 19:41:56 +00:00
Not Zed 323ebed0e7 Change the enable/disable button when the state changes.
2003-01-15  Not Zed  <NotZed@Ximian.com>

        * mail-accounts.c (account_able_clicked): Change the
        enable/disable button when the state changes.

svn path=/trunk/; revision=19487
2003-01-15 22:23:27 +00:00
Jeffrey Stedfast 55437c198f Back to using e_xml_save_file().
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (save_metainfo): Back to using e_xml_save_file().

svn path=/trunk/; revision=19484
2003-01-15 20:47:22 +00:00
Ettore Perazzoli 3a7ecedd60 Make dialog Cancel/OK to match HIG.
* message-tag-editor.c (message_tag_editor_init): Make dialog
Cancel/OK to match HIG.

* mail-signature-editor.c (do_exit): Make confirmation dialog
Discard/Cancel/Save to match the HIG.

* mail-composer-prefs.c (mail_composer_prefs_construct): Make
dialog Cancel/OK to match HIG.

* mail-account-editor.c (construct): Make the dialog
Apply/Close/OK to match HIG.

svn path=/trunk/; revision=19469
2003-01-14 22:45:32 +00:00
Jeffrey Stedfast bf4a0dab77 Call mail_config_save_accounts ().
2003-01-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Call
	mail_config_save_accounts ().

	* mail-config.c (mail_config_save_accounts): New function to save
	accounts without having to re-load them.

svn path=/trunk/; revision=19464
2003-01-14 22:24:27 +00:00
Radek Doulik 0f11179541 reverted fe casts and added ChageLog entries
2003-01-14  Radek Doulik  <rodo@ximian.com>

	* folder-browser.c (etree_key): use gtk_scrolled_window_*
	functions for mail_display->scroll

	* mail-display.c (mail_display_new): use gtk_scrolled_window_*
	functions

	* mail-display.h: use GtkScrolledWindow instead of EScrollFrame

svn path=/trunk/; revision=19463
2003-01-14 20:58:20 +00:00
Jeffrey Stedfast 67db8b6bdb Change the user_data argument to be of type gpointer instead of
2003-01-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (pixmap_press): Change the user_data argument to
	be of type gpointer instead of EScrollFrame, since, well, it's not
	an EScrollFrame anymore.

svn path=/trunk/; revision=19461
2003-01-14 20:48:26 +00:00
Ettore Perazzoli 2d7816231f (libevolution_mail_la_SOURCES): Add mail-format.h.
(EXTRA_DIST): Add $(schema_DATA).

svn path=/trunk/; revision=19454
2003-01-14 18:31:11 +00:00
Rodney Dawes 8aac8a2dcf Make the component be unversioned as a shlib
2003-01-14  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Make the component be unversioned as a shlib

svn path=/trunk/; revision=19449
2003-01-14 17:39:23 +00:00
Rodney Dawes 8064872a9d Switch to using GtkPaned instead of EPaned for GTK2
svn path=/trunk/; revision=19444
2003-01-14 17:29:22 +00:00
Jeffrey Stedfast 0a3527f16f Perform some sanity checking on the auto-check-timeout value.
2003-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (account_new_from_xml): Perform some sanity
	checking on the auto-check-timeout value.

svn path=/trunk/; revision=19435
2003-01-14 01:18:22 +00:00
Jeffrey Stedfast dbdadb9592 Correctly create the clipboard buffer by using a nul to delimit the uri
2003-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_copy): Correctly create the
	clipboard buffer by using a nul to delimit the uri and the list of
	uids.

svn path=/trunk/; revision=19433
2003-01-13 22:34:54 +00:00
Jeffrey Stedfast 724b28b7ad Check the state of message_style in gconf and set the menus accordingly.
2003-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_message): Check the
	state of message_style in gconf and set the menus accordingly.

	* folder-browser.c (folder_browser_destroy): Remove listener for
	message_style change notification.
	(folder_browser_gui_init): Connect a listener for changes to
	message_style.

svn path=/trunk/; revision=19432
2003-01-13 21:58:25 +00:00
Jeffrey Stedfast 8b75a400fe Save the auto-check timeout value. (account_new_from_xml): Load the
2003-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (account_to_xml): Save the auto-check timeout
	value.
	(account_new_from_xml): Load the auto-check-timeout value.

svn path=/trunk/; revision=19429
2003-01-13 20:48:54 +00:00
Dan Winship efa11b7781 s/BonoboXObject/BonoboObject/
* folder-info.c: s/BonoboXObject/BonoboObject/

	* mail-config.c: Likewise

	* mail-offline-handler.c: Likewise

svn path=/trunk/; revision=19426
2003-01-13 18:41:39 +00:00
Not Zed cf4448abf4 hook onto destroy to remove dialogue from active table. (error_response):
2003-01-13  Not Zed  <NotZed@Ximian.com>

        * mail-mt.c (mail_msg_check_error): hook onto destroy to remove
        dialogue from active table.
        (error_response): Just destroy on any response, dont unref either.

svn path=/trunk/; revision=19423
2003-01-13 06:07:10 +00:00
Jeffrey Stedfast 969b2c6b65 g_strdup the md->charset otherwise we'll get memory corruption later. This
2003-01-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_format_data_wrapper_write_to_stream):
	g_strdup the md->charset otherwise we'll get memory corruption
	later. This may be why non-usascii text is displaying incorrectly.

svn path=/trunk/; revision=19419
2003-01-11 20:00:28 +00:00
Jeffrey Stedfast 18b44d230e We also need to call message_list_set_hidedeleted() here so that any
2003-01-10  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_list): We also need
	to call message_list_set_hidedeleted() here so that any
	deactivated folder controls will change to the currently set state
	when re-activated.
	(folder_browser_ui_add_global): Same for show_preview.

	* folder-browser.c (hide_deleted_changed): Don't call
	message_list_set_hidedeleted() here.
	(folder_browser_toggle_hide_deleted): Instead, call it here. This
	way we get a faster "response time". Also, this will make it so
	that not all folder controls will regen their message-list at the
	same time.
	(folder_browser_toggle_preview): Same idea as the hide-deleted
	changes.
	(show_preview_changed): See above.

	* mail-config-druid.c (make_account): Default the new account to
	enabled.
	(wizard_finish_cb): Don't set enabled here.

svn path=/trunk/; revision=19417
2003-01-10 23:28:15 +00:00
Jeffrey Stedfast ae4c1c6ff8 notify-type is a int, not a bool. Duh.
2003-01-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (main_get_filter_driver): notify-type is a int,
	not a bool. Duh.

svn path=/trunk/; revision=19411
2003-01-10 20:49:16 +00:00
Jeffrey Stedfast 4a8c1c7323 Updated for function rename.
2003-01-10  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (factory): Updated for function rename.

	* mail-config-factory.c (mail_config_control_factory_cb):
	Namespaced the function name.

	* folder-browser-ui.c (folder_browser_ui_add_global): Don't add
	the listener for show_preview here, it was moved into
	folder-browser.c so we could detach the listener when the
	folder-browser is destroyed. Also prevents a listener being added
	multiple times (which was possible? before).

	* folder-browser.c (folder_browser_destroy): Remove the gconf
	notify handler for show_preview.
	(show_preview_changed): Moved here from folder-browser-ui.c

svn path=/trunk/; revision=19408
2003-01-10 19:42:20 +00:00
Jeffrey Stedfast b71068d4e3 Fixed a situation in which we could notify the shell listener twice.
2003-01-10  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (storage_remove_folder): Fixed a situation
	in which we could notify the shell listener twice.

svn path=/trunk/; revision=19401
2003-01-10 16:25:01 +00:00
Not Zed 52e27c1270 Save the paned_size notify handle. (folder_browser_destroy): Remove gconf
2003-01-10  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (folder_browser_gui_init): Save the paned_size
        notify handle.
        (folder_browser_destroy): Remove gconf notify handler.

svn path=/trunk/; revision=19395
2003-01-10 06:41:49 +00:00