Commit Graph

15 Commits

Author SHA1 Message Date
8d75f1b9bc remove references to gtkhtml property manager. Connect to missing
2003-05-20  Larry Ewing  <lewing@ximian.com>

	* mail-composer-prefs.c: remove references to gtkhtml property
	manager.  Connect to missing settings.

	* mail-preferences.c: remove references to gtkhtml property
	manager.  Connect to missing settings.

	* mail-config.glade: remove keybinding setting.

	* mail-display.c (mail_display_destroy): remove notification.
	(display_notify): set animate and redisplay.  We have to redisplay
	because the citation color may have changed.

	* evolution-mail.schemas: add composer and display gconf entries.

svn path=/trunk/; revision=21288
2003-05-20 18:33:33 +00:00
09e2470be4 Correct default for list.
2003-05-07  Jeremy Katz  <katzj@redhat.com>

	* evolution-mail.schemas
	(/schemas/apps/evolution/mail/display/mime_types):  Correct
	default for list.

svn path=/trunk/; revision=21125
2003-05-07 23:40:43 +00:00
aea82dfd60 Made toplevel container widgets set a border-width (including toplevel
2003-04-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.glade: Made toplevel container widgets set a
	border-width (including toplevel widgets within frames), set the
	table/hbox/vbox spacings, set the spacing between an image and the
	description text in hboxes to 12pts (as suggested by the HIG),
	Changed Add/Delete buttons to the stock Add/Remove buttons, etc

2003-04-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_init): Cache the allowable
	mime-types.
	(mail_config_get_allowable_mime_types): New public function to get
	an array of allowable mime-types.

	* mail-format.c (mail_lookup_handler): Only allow a
	bonobo-component handler if the mime-type is something handled by
	evolution or the user has specifically chosen that type as
	available for viewing with a bonobo component in the gconf
	database.
	(mime_type_uses_evolution_component): New convenience function.
	(mime_type_can_use_component): Checks gconf to see if the user has
	allowed the mime-type to be viewed by a component.

svn path=/trunk/; revision=20983
2003-04-28 16:00:47 +00:00
c5f8ea269d schema keys can't be directories (#41419)
2003-04-16  Jeremy Katz  <katzj@redhat.com>

	* evolution-mail.schemas: schema keys can't be directories (#41419)

svn path=/trunk/; revision=20871
2003-04-16 21:45:39 +00:00
3005321d80 add proper defaults for the fonts settings.
2003-04-14  Larry Ewing  <lewing@ximian.com>

	* evolution-mail.schemas: add proper defaults for the fonts
	settings.

svn path=/trunk/; revision=20839
2003-04-14 18:55:31 +00:00
60ba84e6a4 set sensitivity of font pickers based on share setting.
2003-04-09  Larry Ewing  <lewing@ximian.com>

	* mail-preferences.c 	(font_share_changed): set sensitivity of
	font pickers based on share setting.
	(mail_preferences_construct): initialize font prefs.
	(mail_preferences_apply): set the font prefs.
	(font_changed): add gnome-font-picker changed function.

	* mail-preferences.h: add font pref widgets.

	* mail-config.c (mail_config_init): add notify to on fonts dir.
	(config_write_fonts): write out a gtkrc that overrides the gtkhtml
	fonts settings based on the gconf keys.

	* mail-config.glade: move display font setttings to mail prefs.

	* evolution-mail.schemas: add font settings.

svn path=/trunk/; revision=20779
2003-04-09 09:52:32 +00:00
2f46886814 Removed. (lookup_signature): Removed. (xml_get_int): Removed.
2003-02-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (uri_to_key): Removed.
	(lookup_signature): Removed.
	(xml_get_int): Removed.
	(xml_get_bool): Removed.
	(mail_config_get_time_24hour): Removed.

	* evolution-mail.schemas: s/long/int/g and change default_account
	to be a string instead of an int.

	* mail-config.c (mail_config_get_default_account): default_account
	now uses the account uid, so change the code a bit to match uid
	strings rather than use an index.
	(mail_config_remove_account): Same here. simplifies the code a
	bunch.
	(mail_config_set_default_account): Here too.

	* folder-browser-ui.c (folder_browser_ui_setup_view_menus): Update
	the GalView path.

svn path=/trunk/; revision=19932
2003-02-18 20:11:01 +00:00
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
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
d15ae27c17 Save the setting via gconf. (mail_config_add_account): Immediately save
2003-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_set_default_account): Save the
	setting via gconf.
	(mail_config_add_account): Immediately save the list of accounts.
	(mail_config_remove_account): Same.
	(mail_config_signature_run_script): g_free the charset value and
	use the composer's charset rather than the display charset.

svn path=/trunk/; revision=19284
2003-01-08 18:26:56 +00:00
fb6caf533c Use gconf to get the paned size. (folder_browser_set_message_preview):
2003-01-07  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (save_cursor_pos): Use gconf to get the paned
	size.
	(folder_browser_set_message_preview): Same.
	(folder_browser_toggle_hide_deleted): Use gconf to set the
	hide-deleted state.
	(folder_browser_set_message_display_style): Same but for the
	message_display_style.
	(fb_resize_cb): Save the paned_size via gconf.
	(paned_size_changed): Callback for when the paned_size gets
	changed. Change the folder-browser's paned size to the new
	setting.
	(folder_browser_gui_init): Listen to changes to the paned_size and
	also get the initial size from gconf.

	* message-list.c (message_list_set_folder): Use gconf.
	(regen_list_regen): Use gconf.

	* message-browser.c (transfer_msg_done): Use gconf to get the
	hide_deleted setting.

	* mail-account-gui.c (sig_add_new_signature): Use gconf.

	* folder-browser-ui.c (folder_browser_ui_add_list): Use gconf.

	* folder-browser.c (save_cursor_pos): Use gconf.
	(folder_browser_set_message_preview): Same.
	(folder_browser_toggle_hide_deleted): Here too.
	(folder_browser_set_message_display_style): And here.
	(folder_browser_gui_init): Here too.
	(done_message_selected): And here.

	* mail-config.c (mail_config_get_thread_subject): Removed.
	(mail_config_set_thread_subject): Removed.
	(mail_config_get_empty_trash_on_exit): Removed.
	(mail_config_set_empty_trash_on_exit): Removed.
	(mail_config_get_last_filesel_dir): Removed.
	(mail_config_set_last_filesel_dir): Removed.
	(mail_config_get_hide_deleted): Removed.
	(mail_config_set_hide_deleted): Removed.
	(mail_config_get_paned_size): Removed.
	(mail_config_set_paned_size): Removed.
	(mail_config_get_send_html): Removed.
	(mail_config_set_send_html): Removed.
	(mail_config_get_confirm_unwanted_html): Removed.
	(mail_config_set_confirm_unwanted_html): Removed.
	(mail_config_get_citation_highlight): Removed.
	(mail_config_set_citation_highlight): Removed.
	(mail_config_get_citation_color): Removed.
	(mail_config_set_citation_color): Removed.
	(mail_config_get_do_seen_timeout): Removed.
	(mail_config_set_do_seen_timeout): Removed.
	(mail_config_get_mark_as_seen_timeout): Removed.
	(mail_config_set_mark_as_seen_timeout): Removed.
	(mail_config_get_prompt_empty_subject): Removed.
	(mail_config_set_prompt_empty_subject): Removed.
	(mail_config_get_prompt_only_bcc): Removed.
	(mail_config_set_prompt_only_bcc): Removed.
	(mail_config_get_confirm_expunge): Removed.
	(mail_config_set_confirm_expunge): Removed.
	(mail_config_get_confirm_goto_next_folder): Removed.
	(mail_config_set_confirm_goto_next_folder): Removed.
	(mail_config_get_goto_next_folder): Removed.
	(mail_config_set_goto_next_folder): Removed.
	(mail_config_get_http_mode): Removed.
	(mail_config_set_http_mode): Removed.
	(mail_config_get_default_forward_style): Removed.
	(mail_config_set_default_forward_style): Removed.
	(mail_config_get_default_reply_style): Removed.
	(mail_config_set_default_reply_style): Removed.
	(mail_config_get_message_display_style): Removed.
	(mail_config_set_message_display_style): Removed.
	(mail_config_get_default_charset): Removed.
	(mail_config_set_default_charset): Removed.
	(mail_config_get_x_mailer_display_style): Removed.
	(mail_config_set_x_mailer_display_style): Removed.

	* subscribe-dialog.c (populate_store_list): Use the list of
	accounts. We can't get the list of sources anymore.
	(populate_store_foreach): Updated.

	* mail-callbacks.c (guess_me_from_accounts): Use account->enabled.
	(mail_generate_reply): Same.
	(empty_trash): Here too.

	* mail-accounts.c (account_delete_clicked): Use account->enabled
	rather than source->enabled.
	(account_able_clicked): Same.
	(account_cursor_change): Here too.
	(mail_accounts_load): And here.

	* component-factory.c (owner_unset_cb): Use gconf empty-on-exit
	settings.
	(mail_load_storages): Use account->enabled rather than
	account->source->enabled. The struct changed.

	* mail-composer-prefs.c (sig_add): Get the send_html pref from gconf.

	* message-tag-followup.c (target_date_new): Use gconf.

	* mail-config.c (mail_config_get_week_start_day): Removed.

	* mail-tools.c (mail_tool_quote_message): Use gconf here too, but
	we don't need to parse the colour - just use it as a raw string.
	(mail_tool_forward_message): Use gconf.

	* mail-format.c (mail_format_data_wrapper_write_to_stream): Use gconf.
	(write_headers): Use gconf.
	(handle_text_plain): Same.

	* mail-display.c (mail_text_write): Updated to use gconf and parse
	GdkColour strings.
	(on_url_requested): Updated to use gconf.

	* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use gconf
	rather than the old mail-config APIs which will be removed.
	(ask_confirm_for_empty_subject): Same.
	(ask_confirm_for_only_bcc): Here too.
	(composer_get_message): And here.
	(create_msg_composer): Same.
	(transfer_msg_done): Again here.
	(delete_msg): Here too.
	(confirm_expunge): And finally here.

	* mail-config.c (mail_config_write): Use gconf.
	(mail_config_get_sources): Removed.

	* mail-account-gui.c (mail_account_gui_save): No need to save
	enabled-state anymore for a source.

	* mail-config-druid.c (wizard_finish_cb): Instead of setting
	account->source->enabled to TRUE, just set account->enabled to
	TRUE. The structures changed a bit.

	* mail-send-recv.c (mail_send_receive): Get the list of accounts
	instead of sources, and pass them along to build_dialogue. I'm
	trying to get rid of the mail_config_get_sources() api.
	(mail_autoreceive_setup): Here too.

	* mail-config.c (mail_config_get_filter_log): Removed.
	(mail_config_set_filter_log): Removed.
	(mail_config_get_filter_log_path): Removed.
	(mail_config_set_filter_log_path): Removed.
	(mail_config_get_new_mail_notify): Removed.
	(mail_config_set_new_mail_notify): Removed.
	(mail_config_get_new_mail_notify_sound_file): Removed.
	(mail_config_set_new_mail_notify_sound_file): Removed.

	* mail-session.c (main_get_filter_driver): Updated to use the
	gconf settings.

svn path=/trunk/; revision=19271
2003-01-08 01:39:21 +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
c63dfc2f51 Increase window size slightly, rename "Transport" to "Mail Transport"
2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* mail-config.glade: Increase window size slightly, rename
	"Transport" to "Mail Transport"

	* mail-config.c (init_config): Remove gconf references
	(clear_config): ditto
	(read_config): ditto
	(write_config): ditto
	(mail_config): Null provider lists before filling them
	(mail_config_druid): ditto
	(identity_page_new): Increase spacing of vbox
	(service_page_new): ditto

	* Makefile.am: Remove gconf references.

svn path=/trunk/; revision=4504
2000-08-03 07:37:49 +00:00
121d056d45 New function to create composer with sig file set.
2000-07-28  JP Rosevear  <jpr@arcavia.com>

	* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
	function to create composer with sig file set.
	(e_msg_composer_get_sig_file): New function to get sig file
	(e_msg_composer_set_sig_file): New function to set sig file

2000-07-29  JP Rosevear  <jpr@arcavia.com>

	* mail-format.c (mail_generate_reply): Use new mail config stuff

	* component-factory.c (create_imap_storage): Use new mail config
	stuff
	(create_news_storage): ditto

	* evolution-mail.schemas: Gconf schema for evolution mail

	* mail-config-druid.glade: Gladification of config druid

	* mail-config.h: New header with config structs.

	* mail-config.c: Rewrite of GUI configuration tools to use
	new config structs.  Stores multiple identities and sources now.
	Still only uses the first one found.
	(mail_config_fetch): Returns MailConfig struct to caller
	for configuration queries.
	(mail_config): Renamed function to show mail config dialog.
	(mail_config_druid): Renamed function to show mail config druid.

	* mail-ops.c (create_msg_composer): Use
	e_msg_composer_new_with_sig_file and new config stuff
	(check_configured): Use new config stuff
	(fetch_mail): ditto
	(composer_send_cb): ditto

svn path=/trunk/; revision=4413
2000-07-29 06:04:24 +00:00