Commit Graph

71 Commits

Author SHA1 Message Date
28d014efff If the provider is NULL, don't do anything.
2001-12-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (setup_service): If the provider is NULL,
	don't do anything.

	* mail-accounts.c (construct): Oops, no wonder the exec command
	thing never stuck around... I wasn't getting the right widget from
	libglade. Also connect to the GtkEntry's changed event since a
	GnomeFileEntry doesn't have that signal in its ancestry.

svn path=/trunk/; revision=15188
2001-12-19 22:26:23 +00:00
2ca680bafa Oops, no wonder the exec command thing never stuck around... I wasn't
2001-12-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Oops, no wonder the exec command
	thing never stuck around... I wasn't getting the right widget from
	libglade.

svn path=/trunk/; revision=15187
2001-12-19 22:11:57 +00:00
6ff38bae5d slight fix
svn path=/trunk/; revision=15169
2001-12-18 23:29:35 +00:00
b265717d39 Setup the new-mail-notification widgets. (notify_command_changed): Update
2001-12-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Setup the new-mail-notification
	widgets.
	(notify_command_changed): Update the command-line for new mail
	notification.
	(notify_radio_toggled): Update the new-mail-notification type.

	* mail-ops.c (filter_folder_free): See if we got any new mail and
	"sound the alarm" if we did.

svn path=/trunk/; revision=15168
2001-12-18 23:22:36 +00:00
63ce54907c Make sure that the message subject is non-NULL beforetrying to base a
2001-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-autofilter.c (rule_from_message): Make sure that the
	message subject is non-NULL beforetrying to base a vfolder rule
	off it. Fixes bug #16284.

2001-12-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Connect to the dialog's "destroy"
	event and close any druids/editors that may be open when that
	signal is caught. Fixes bug #16501.

	* mail-vfolder.c (vfolder_edit): Set the window title to "Virtual
	Folders". Fixes bug #16695.

svn path=/trunk/; revision=14966
2001-12-10 20:09:37 +00:00
e883caea14 Call mail_config_pgp_type_detect_from_path() instead of doing our own lame
2001-11-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (pgp_path_changed): Call
	mail_config_pgp_type_detect_from_path() instead of doing our own
	lame auto-detection that didn't even work ;-)

	* mail-config.c (auto_detect_pgp_variables): Execute the pgp
	binary and look at it's version string if we have a version string
	to compare to.
	(mail_config_pgp_type_detect_from_path): New function that takes a
	pgp path and attempts to figure out what pgp version it is.

svn path=/trunk/; revision=14634
2001-11-08 22:31:53 +00:00
cdd8a5be80 Don't make the account editor modal either.
2001-11-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (construct): Don't make the account editor
	modal either.

	* mail-accounts.c (mail_add): Use the new global account druid
	variable so that we can avoid having more than a single druid at a
	time. If a druid already exists, bring it to the top.
	(mail_edit): Same idea only for the account editor this time.
	(mail_editor_destroyed): Set the global editor to NULL.
	(mail_add_finished): Set the global druid to NULL.
	(mail_delete): Don't allow any deletes if an account editor is
	opened (we don't want to be able to delete the account we are
	editing...)
	(news_edit): Same thing for the news editor.
	(news_editor_destroyed): Set the news editor to NULL.
	(news_add): And again for the news add.

	* mail-account-gui.c (service_check_supported): Updated to pass a
	GtkWindow argument to mail_config_check_service().

	* mail-config.c (mail_config_check_service): Now takes a GtkWindow
	argument so we can set our parent window. Also, don't make this
	dialog modal either.

	* mail-config-druid.c (construct): Don't make this druid modal.

svn path=/trunk/; revision=14598
2001-11-05 23:10:12 +00:00
4ca07463a0 More fixing of the license texts.
svn path=/trunk/; revision=14217
2001-10-27 18:21:05 +00:00
7cf48456bd Set the GdkWindow of the FolderBrowser, not the GtkWindow...
2001-10-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (providers_config): Set the GdkWindow of the
	FolderBrowser, not the GtkWindow...

svn path=/trunk/; revision=14148
2001-10-26 17:39:40 +00:00
6
8b01bc9334 Use a timeout not an idle handler.
2001-10-26    <NotZed@Ximian.com>

        * component-factory.c (owner_unset_cb): Use a timeout not an idle handler.

        * mail-callbacks.c (providers_config): Only set the parent window.

        * mail-accounts.c (mail_edit): Set the parent on the account editor.

svn path=/trunk/; revision=14121
2001-10-26 02:03:22 +00:00
cf1d544b10 Helper macro.
2001-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.h (subscribe_dialog_show): Helper macro.

	* subscribe-dialog.c (subscribe_dialog_run_and_close): Removed.

	* mail-callbacks.c (check_send_configuration): Don't use
	gnome_dialog_run_and_close() here, we can easily get away with
	just using a gtk_widget_show().
	(providers_config): Don't use a gnome_dialog_run_and_close() here
	either. No longer need to use e_gnome_dialog utils.
	(manage_subscriptions): Don't run_and_close().

svn path=/trunk/; revision=13732
2001-10-17 20:50:00 +00:00
c0672f92d1 Add toggle button to config menu to turn the "confirm sending unwanted
2001-10-05  Jon Trowbridge  <trow@ximian.com>

	* mail-config.glade: Add toggle button to config menu to turn the
	"confirm sending unwanted HTML" dialog on/off. (Bug 10794)

	* mail-accounts.c (construct): Make said toggle button actually
	work.

svn path=/trunk/; revision=13466
2001-10-05 20:44:51 +00:00
3eed228723 Ignore the signal if the radio button is not "on". This fixes bug #10532
2001-10-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (images_radio_toggled): Ignore the signal if the
	radio button is not "on". This fixes bug #10532 because the on/off
	signals don't always come in the off->on order.

	* mail-ops.c (mail_send_message): Reduced some redundancy.

svn path=/trunk/; revision=13424
2001-10-04 21:29:55 +00:00
28783ed7f5 Don't create checkboxes for global Threaded or Preview options as they are
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Don't create checkboxes for global
	Threaded or Preview options as they are now removed.

svn path=/trunk/; revision=13244
2001-09-29 00:13:10 +00:00
f06f7a2836 Update to not send the remember-passphrase option to the context, it
2001-09-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (decode_pgp): Update to not send the
	remember-passphrase option to the context, it doesn't need it
	anymore.
	(try_inline_pgp_sig): Same.

	* mail-accounts.c (construct): The remember-passphrase option is
	no longer there. This can now be set on the passphrase prompt
	dialog.
	(construct): Add confirm expunge options.

	* mail-config.c (config_read): We no longer read-in the
	remember-passphrase state because we no longer need it.
	(mail_config_write_on_exit): We no longer save it either.
	(mail_config_get_remember_pgp_passphrase): Removed.
	(mail_config_set_remember_pgp_passphrase): Removed.

	* mail-crypto.c (mail_crypto_pgp_mime_part_sign): No longer do we
	need to send the remember passphrase state to the pgp context.
	(mail_crypto_pgp_mime_part_verify): Same.
	(mail_crypto_pgp_mime_part_encrypt): Here too.
	(mail_crypto_pgp_mime_part_decrypt): And here.

svn path=/trunk/; revision=13139
2001-09-26 00:09:09 +00:00
24364797ef Do not add the account here as this is taken care of in
2001-09-20  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (wizard_finish_cb): Do not add the account
	here as this is taken care of in mail_account_gui_save() since it
	has to be able to set the default account.

	* mail-config.c (mail_config_set_default_account): Don't allow the
	index to become invalid.

	* mail-account-gui.c (mail_account_gui_save): Add the account
	before setting it as the default.

svn path=/trunk/; revision=13037
2001-09-21 00:58:28 +00:00
d671e29102 Studlycapsize all the IDs that are not. Likewise. Updated accordingly.
* Evolution-ShellComponent.idl: Studlycapsize all the IDs that are
not.
* Evolution-common.idl: Likewise.
* evolution-activity-client.c: Updated accordingly.
* evolution-shell-component.c: Likewise.
* evolution-storage.c: Likewise.
* e-activity-handler.c: Likewise.
* e-component-registry.c: Likewise.
* e-corba-storage.c: Likewise.
* e-shell-user-creatable-items-handlers.c: Likewise.

* e-local-storage.c (remove_folder): Remove unused variable.

* e-shell-view.c (update_for_current_uri): Assign zero to
`unread_count', not NULL.

* e-shell-importer.c (import_druid_finish): Remove unused
variable.

* e-shell-user-creatable-items-handler.c: #include
"e-corba-utils.h".

* e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h".

* e-shell-startup-wizard.h: #include <glib.h>

* e-summary-weather.c (weather_make_html): Make local variable
`icon_name' const.  Remove unused variable `uri'.

* e-summary.h: Reformatted in GTK+ style.
(e_summary_remove_online_connection): Added prototype.

* e-summary-preferences.c (fill_mail_shown_clist): Constify local
variable `name'.

* e-summary-mail.c: #include "e-util/e-path.h".  Updated to match
the new studlyCapsification in shell/Evolution*.idl.

* mail-local.c: Match the studlyCapsification of
shell/Evolution*.idl.

* mail-config-druid.h: Change type of `event_source' from
`Bonobo_EventSource *' to `Bonobo_EventSource'.

* mail-accounts.c (mail_delete): Remove unused local variable
`label'.

* folder-info.c (do_get_info): `#if 0' unused variables.

* gui/component/addressbook-component.c: Get rid of a warning by
initializing the closing NULL element in folder_types correctly.

* gui/component/select-names/e-select-names.c: Updated to match
the studlyCapsification of attributes in shell/Evolution*.idl.

svn path=/trunk/; revision=12495
2001-08-28 00:18:34 +00:00
8534057ff5 Whoops, make sure that the account has a source before removing it or
2001-08-20  Peter Williams  <peterw@ximian.com>

	* mail-accounts.c (mail_able): Whoops, make sure that the account
	has a source before removing it or what-have-you.

svn path=/trunk/; revision=12310
2001-08-20 15:57:43 +00:00
d4a1de64f1 Convert the UTF-8 account name string into a gtk-string before using it in
2001-08-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (load_accounts): Convert the UTF-8 account name
	string into a gtk-string before using it in the GtkCList.

svn path=/trunk/; revision=12036
2001-08-14 21:37:54 +00:00
f604364042 If the account is enabled, set a checkmark pixmap instead of a strange
2001-08-14  Peter Williams  <peterw@ximian.com>

	* mail-accounts.c (load_accounts): If the account is enabled,
	set a checkmark pixmap instead of a strange plus sign.
	(mail_accounts_dialog_init): Load the pixmap here.
	(mail_accounts_dialog_finalise): Free it here.

	* mail-accounts.h: Prototype it here.

svn path=/trunk/; revision=12017
2001-08-14 16:35:14 +00:00
47df5e395c Changed the title of the Mail Settings dialog from "Evolution Account
2001-08-13  Anna Marie Dirks <anna@ximian.com>
	* mail-accounts.c: Changed the title of the Mail Settings
	dialog from "Evolution Account Manager" to "Mail Settings" .

svn path=/trunk/; revision=11957
2001-08-13 20:30:01 +00:00
8a7111747f Don't remove the account from the tree if it's not enabled.
2001-08-10  Peter Williams  <peterw@ximian.com>

	* mail-accounts.c (mail_delete): Don't remove the account from the
	tree if it's not enabled.

svn path=/trunk/; revision=11894
2001-08-10 19:42:22 +00:00
04b7488ac8 Whoops, compile fix.
2001-08-10  Peter Williams  <peterw@ximian.com>

	* mail-accounts.c (news_add_destroyed): Whoops, compile fix.

svn path=/trunk/; revision=11884
2001-08-10 18:07:46 +00:00
5ffaca0f8d Don't load the storage if it isn't enabled. (mail_remove_storage_by_uri):
2001-08-08  Peter Williams  <peterw@ximian.com>

	* component-factory.c (mail_load_storages): Don't load the storage
	if it isn't enabled.
	(mail_remove_storage_by_uri): New function. Goes through the
	gymnastics of getting a CamelStore from the URI and calling
	mail_remove_storage. Copied from mail_delete().
	(mail_load_storage_by_uri): Break out the storage-loading part of
	mail_load_storages into a single function.
	(mail_load_storages): Just call mail_load_storage_by_uri several
	times.

	* mail.h: Prototype our new _by_uri functions.

	* mail-accounts.c (news_add_destroyed): Instead of hacking around
	mail_load_storages, call mail_load_storage_by_uri.
	(mail_delete): Move this chunk of code into
	mail_remove_storage_by_uri.
	(mail_able): Add or remove the storage as necessary, with our
	new _by_uri functions.

	* mail-config-druid.c (druid_finish): See news_add_destroyed above.

svn path=/trunk/; revision=11881
2001-08-10 17:28:52 +00:00
fc7ad0c9a9 This should return a GtkWidget not a GtkObject.
2001-08-07  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.c (subscribe_dialog_new): This should return a
	GtkWidget not a GtkObject.

	* mail-session.c (get_filter_driver): Update to use user's logging
	preferences.

	* mail-accounts.c (filter_log_toggled): New.
	(filter_log_path_changed): New.
	(construct): Get and attach signals to the filter logging option
	widgets.

	* mail-config.c (config_read): Read in filter logging options.
	(mail_config_write_on_exit): Save filter logging options.
	(mail_config_set_filter_log_path): Implemented.
	(mail_config_get_filter_log_path): Implemented.
	(mail_config_set_filter_log): Implemented.
	(mail_config_get_filter_log): Implemented.

svn path=/trunk/; revision=11751
2001-08-07 23:19:20 +00:00
ad7a5a9095 Respect Gtk theme colors for the fonts and calculate a new table gbcolor
2001-07-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (write_headers): Respect Gtk theme colors for the
	fonts and calculate a new table gbcolor based on gtk theme
	preferences.

	* mail-config.glade: Label the enabled field.

svn path=/trunk/; revision=11431
2001-07-26 19:17:20 +00:00
7604a13073 Add new label widgets with a message that SSL isn't supported.
2001-07-24  Peter Williams  <peterw@ximian.com>

	* mail-config.glade: Add new label widgets with a message that SSL
	isn't supported.

	* mail-account-gui.h: Add a new member to the Transport GUI struct
	for the 'SSL is not supported' message.

	* mail-account-gui.c (source_type_changed): Change logic to display
	a message stating that SSL isn't supported if SSL isn't supported.
	(transport_type_changed): Same.
	(mail_account_gui_new): Also load the labels for the the no-SSL
	message.

	* mail-accounts.c (construct): Fix typo.

svn path=/trunk/; revision=11340
2001-07-24 15:33:17 +00:00
fc59208aa9 Fixed the "Read" to be Read in the glade file per menesis' request.
2001-07-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.glade: Fixed the "Read" to be Read in the glade file
	per menesis' request.

	* mail-accounts.c (construct): Give the dialog a Close button
	instead of an OK button.
	(prompt_bcc_only_toggled): New.
	(threaded_list_toggled): New.
	(show_preview_toggled): New.
	(construct): Add code for the bcc-only-prompt, threaded-list, and
	show-preview checkboxes.

	* mail-ops.c (transfer_messages_transfer): If the source and
	destination folders are the same, just mark the uids as undeleted
	(in case they were marked as deleted before).

svn path=/trunk/; revision=11327
2001-07-24 00:53:24 +00:00
c87ef1f0a3 [Simplifying how default account is stored and used internally, fixes
2001-07-18  Jason Leach  <jleach@ximian.com>

	[Simplifying how default account is stored and used internally,
	fixes possabilities of having multiple default accounts and things
	like deleting the current default account]

	* mail-account-gui.c (mail_account_gui_new): Update for new way of
	finding out the default account.
	(mail_account_gui_save): Ditto.

	* mail-accounts.c (load_accounts): Ditto.

	* mail-config-druid.c (make_default_account): Ditto.

	* mail-config.c: Added an int MailConfig::default_account, to be
	used instead of a 'default_account' boolean on each mail account.
	(mail_config_set_default_account_num): New function, facilitates
	things.

	* Mail.idl: removed the Account::default_account boolean.

svn path=/trunk/; revision=11218
2001-07-19 01:25:09 +00:00
91318dc3cf Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for
2001-07-18  Peter Williams  <peterw@ximian.com>

	* mail-accounts.c (construct): Add GTK_WIDGET to the charset
	picker. Reportedly prevent a craash for someone... ?

svn path=/trunk/; revision=11202
2001-07-18 16:02:59 +00:00
48654b3b28 Setup the auto-receive here instead.
2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_delete): Setup the auto-receive here
	instead.

	* mail-config.c (mail_config_remove_account): Don't setup the
	auto-recv here.

svn path=/trunk/; revision=11188
2001-07-18 00:48:28 +00:00
e6ed3915cf Reset the autoreceive when necessary.
svn path=/trunk/; revision=11181
2001-07-17 21:52:06 +00:00
d54c49a59b Make a nicer delete account dialog
svn path=/trunk/; revision=11161
2001-07-17 16:58:41 +00:00
2864edc632 [Bug #4305: Make the automatic mark-as-read timer optional]
2001-07-10  Jason Leach  <jleach@ximian.com>

	[Bug #4305: Make the automatic mark-as-read timer optional]

	* mail-config.glade: Necessary changes to make the Mark as "Read"
	label a toggle button instead.

	* mail-accounts.c (construct): Connect to the "toggled" on our new
	toggle.
	(timeout_toggled): New callback, called from above.

	* mail-config.c (mail_config_get_do_seen_timeout): New.
	(mail_config_set_do_seen_timeout): New.
	(mail_config_write_on_exit): Save the preference here.
	(config_read): Load it here.

svn path=/trunk/; revision=10973
2001-07-10 21:08:02 +00:00
29315f8157 Update to pass in the `remember' argument when creating a new pgp context.
2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass
	in the `remember' argument when creating a new pgp context.
	(mail_crypto_pgp_mime_part_verify): Same.
	(mail_crypto_pgp_mime_part_encrypt): And here...
	(mail_crypto_pgp_mime_part_decrypt): And finally here.

	* mail-config.c (mail_config_get_remember_pgp_passphrase): New.
	(mail_config_set_remember_pgp_passphrase): New.
	(config_read): Read in the "remember passphrase" value.
	(mail_config_write_on_exit): Save the remember-passphrase value.

	* mail-accounts.c (construct): Allow the user to set "Remember PGP
	Passphrase".
	(remember_pgp_passphrase_toggled): Set the toggle state.

svn path=/trunk/; revision=10933
2001-07-09 21:35:11 +00:00
0f37cc0402 Add a checkbox for prompting when sending a message with an empty subject.
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Add a checkbox for prompting when
	sending a message with an empty subject.

	* mail-ops.c (mail_send_message): If filtering fails, return right
	away.

svn path=/trunk/; revision=10821
2001-07-05 19:17:22 +00:00
e1e2d6393d Added an MailAccountEditorNews, for NNTP configuratuion. Based on
2001-07-02  Sam Creasey  <sammy@oh.verio.com>
        * mail-account-editor-news.c: Added an MailAccountEditorNews, for
        NNTP configuratuion.  Based on MailAccountEditor, but stripped.

        * Makefile.am: added mail-account-editor-news.c and
        mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined.

        * mail-accounts.c (load_news): Moved this function, and fixed some
        slight brokenness.
        (news_edit): Added functional code using MailAccountEditorNews
        (news_add): Added functional code using news_edit after
        allocation.

        * mail-config.glade: news_editor_window widget added.  Used by
        MailAccountEditorNews.

        * mail-display.c (save_data_cb): Store the pathname used when
        saving messages so that the next save box will default to the
        previous path.

        * message-browser.c (message_browser_new): add signal handler for
        size_allocate on the message browser.  Thus new windows are size
        as they were last allocated.
        (message_browser_size_allocate_cb): handler to store allocations.

        * message-list.c (message_list_setup_etree): connect to the
        info_changed signals for the state of the message_list->tree.
        Save the folder state to disk, so that when additional
        message_lists are created, they are consistant.   e.g. the next
        buttons do the same thing in the browser, and in the message
        viewer after changing sorting options.

        * subscribe-dialog.c (build_tree): freeze sc->folder model while
        building the tree.  Not doing so takes a very long time over 40000
        newsgroups.

svn path=/trunk/; revision=10719
2001-07-03 02:56:39 +00:00
dafc74eeaf Setup the Empty Trash On Exit widgets.
2001-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Setup the Empty Trash On Exit
	widgets.

	* mail-config.c (config_read): Option to emtpy trash on exit.
	(mail_config_write_on_exit): Same.
	(mail_config_set_empty_trash_on_exit): Set the option.
	(mail_config_get_empty_trash_on_exit): Get the option.

	* component-factory.c (owner_unset_cb): Empty the trash folders if
	the user set the "empty trash on exit" option.

svn path=/trunk/; revision=10711
2001-07-03 01:45:41 +00:00
0851db0fd5 #include widgets/misc/e-charset-picker.h since it was moved there from
2001-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c: #include widgets/misc/e-charset-picker.h since
	it was moved there from libgal.

svn path=/trunk/; revision=10689
2001-07-02 18:17:34 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
8a7a3f7770 #include "folder-browser-factory.h"
2001-06-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c: #include "folder-browser-factory.h"

	* component-factory.c (mail_remove_storage): New function to
	remove an EvolutionStorage.

	* mail-accounts.c (mail_delete): Remove the storage from the
	folder-tree.
	(news_delete): Same.

svn path=/trunk/; revision=10304
2001-06-19 20:39:12 +00:00
f15bb6a3eb Check that the chain of deferences in gui->account->source->url is safe.
2001-06-06  Jon Trowbridge  <trow@ximian.com>

	* mail-account-gui.c (source_type_changed): Check that the chain
	of deferences in gui->account->source->url is safe.  This was
	causing a segfault when adding a new account if any of the
	existing accounts had their sources set to "None".
	(i.e. gui->account->source == NULL)

	* mail-accounts.c (load_accounts): Check that account->source !=
	NULL before dereferencing it.
	(load_accounts): The selection is cleared when the account clist
	is rebuilt (say after a call to add), but no unselect event is
	emitted.  Yes, the clist is evil.  We work around this by
	explictly calling mail_unselect, our unselect signal handler.
	(Otherwise, the edit and delete buttons remain sensitive and
	accounts_row != 0, but the user can't see which row the dialog
	thinks is selected.)
	(load_news): Check the account->source != NULL before
	dereferencing it.
	(mail_unselect): If an insensitive button in a button box has the
	focus, and if you hit tab, there is a segfault deep inside of gtk.
	This is probably a gtk bug.  We work around it by having the add
	button (which is always sensitive) grab the focus on an unselect.

svn path=/trunk/; revision=10136
2001-06-06 21:09:20 +00:00
2bb495b6eb Rename the "PGP" page back to "Other" and add a "default charset" option
* mail-config.glade: Rename the "PGP" page back to "Other" and add
	a "default charset" option menu.

	* mail-config.c (config_read, mail_config_write_on_exit,
	mail_config_get_default_charset, mail_config_set_default_charset):
	Handle "default charset".

	* mail-accounts.c (construct): Fill in the "default_charset" menu
	with an e_charset_picker menu.
	(charset_menu_deactivate): Update the default charset.

svn path=/trunk/; revision=10057
2001-05-30 21:41:42 +00:00
b9401bbdf4 Split "Other" page into three pages, Display, Composer, and PGP. Add HTML
* 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
2001-05-14 17:18:03 +00:00
769f404db3 Updated for changes to PGP code.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (pgp_path_changed): Updated for changes to PGP
	code.

	* component-factory.c (owner_set_cb): Don't init openpgp anymore
	because we don't need it.

	* mail-crypto.c: Simply wrap the camel-pgp-mime functions (also
	renamed the functions to be prefixed with mail_crypto).

	* mail-format.c (handle_multipart_signed): Update to use
	camel_pgp_mime_is_rfc2015_signed() and other camel-pgp-mime
	functions.
	(handle_multipart_encrypted): Same but for rfc2015_encrypted.
	(decode_pgp): Updated to use camel-pgp-context
	(try_inline_pgp): Updated to use camel-pgp-context's.
	(try_inline_pgp_sig): Same.

svn path=/trunk/; revision=9269
2001-04-12 17:14:20 +00:00
57574f0be3 Cleaned up #includes. Remove unneccesary includes of <gnome.h>,
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
2001-03-29 20:53:17 +00:00
6dd8aabeee Probably the very last new config dialog ever. (Ha ha). From Anna, based
* mail-config.glade: Probably the very last new config dialog
	ever. (Ha ha). From Anna, based on a story by me.

	* mail-account-gui.c: New code for the new mail-config.glade. This
	abstracts out all of the common code between the account editor
	and the druid. It also handles the spiffy new provider-specific
	config stuff.

	FIXME: The code to check if a service is ok or not is no longer
	there... waiting until the online/offline stuff from the shell
	appears.

	* mail-account-editor.c, mail-config-druid.c: These are much
	smaller now, since most of the interesting bits moved to
	mail-account-gui.c

	* mail-accounts.c: Add an enabled/disabled column/button to
	replace the checkbox that used to be in the editor, because it
	really makes more sense to have it out here. This looks ugly.
	Probably ought to ETable it...
	(load_accounts): Fill in the enabled column.
	(mail_select, mail_unselect): toggle the sensitivity and name of
	the Enable/Disable button appropriately
	(mail_able): Handle the enable/disable button.

	* mail-config.c: Remove reply-to from MailConfigIdentity since it
	didn't belong there (and wasn't being saved anyway).
	(mail_config_check_service): Simplify this a bit. This really
	needs to pop up a dialog with a "connecting..." message and a
	cancel button.

svn path=/trunk/; revision=8971
2001-03-27 05:23:27 +00:00
639d835ec0 New callback to handle a double-click event in the account clist.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_double_click): New callback to handle a
	double-click event in the account clist.
	(construct): Setup the double-click event for the account list.

svn path=/trunk/; revision=8908
2001-03-22 23:31:44 +00:00
5b140dc1c1 set color in html citation
2001-03-20  Radek Doulik  <rodo@ximian.com>

	* mail-tools.c (mail_tool_quote_message): set color in html
	citation

	* mail-config.c: added citation highlighting configuration

	* mail-tools.c (mail_tool_quote_message): use citation
	highlighting

	* mail-display.c (mail_text_write): use citation highlighting

svn path=/trunk/; revision=8848
2001-03-20 16:50:43 +00:00
ad3025ac3d uh, emacs said it didn't save this
svn path=/trunk/; revision=8576
2001-03-07 01:55:41 +00:00