2001-12-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Add the auto-cc/bcc
recipients here. The problem with setting them in the composer is
that what if the user changes which account he wants to use? We'd
either have to clear the cc/bcc lists *or* we'd have to leave them
alone. Either way is bad. We can't just clear the entries because
the user may have added addresses since the composer was
opened. We don't want to leave any old auto-cc/bcc addresses there
because that isn't desirable either. So we give up and add them
here after the user has already hit the send button.
* mail-config.c (account_copy): Update to copy the always-[b]cc
options.
(account_destroy): Update to destroy the above options.
(config_read): Update to read in those values.
(mail_config_write): Save those options.
* mail-account-gui.c (mail_account_gui_new): Setup Always Cc/Bcc
widgets.
(mail_account_gui_save): Get the user-entered values for the
always-cc/bcc stuff.
svn path=/trunk/; revision=15189
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-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-10-22 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added several new accelerators to the edit account
dialog, and fixed the focus targets on all existing accelerators. I
was hoping that since the widgets used in the account editor are also
used in the first-time start-up druid and them mail-config druid,
that this would fix all accelerator problems for those druids as well,
but there is something wrong with Bonobo which is preventing
the druids from responding to their accelerators. Sigh. Anyway,
most accelerators in the edit account dialog work correctly
now, though there are few (such as _Full Name) which fail to
do anything. I don't know why.
svn path=/trunk/; revision=13914
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-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-26 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added a "Description:" label and moved
the source_description and transport_description labels to
a more appropriate place.
svn path=/trunk/; revision=13178
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-08-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_new): Set the source and
transport description labels.
(transport_type_changed): Set the transport description label.
(source_type_changed): Set the source description label.
* mail-tools.c (mail_tool_make_message_attachment): Remove
X-Evolution* headers.
(mail_tool_remove_xevolution_headers): New function to convenience
removing the X-Evolution headers.
(mail_tool_restore_xevolution_headers): New convenience function
to restore the X-Evolution headers.
(mail_tool_destroy_xevolution): New function to cleanup the
structure.
(mail_tool_forward_message): Remove and restore the X-Evolution
headers here too.
svn path=/trunk/; revision=12487
2001-08-22 Peter Williams <peterw@ximian.com>
Prevent the user from creating two accounts with the same name.
* mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Abort
if the account has the same name as another account.
* mail-account-gui.c (mail_account_gui_save): Don't let the user
save if the account has the same name as another account.
* mail-config-druid.c (management_check): Disable the next button
if the account name is the same as a preexisting account.
(construct): The only part of 'pages' that was being used was the
name. 'wizard_pages' now has the callbacks, while 'pages' is just
an array of char *'s.
(wizard_finish_cb): Save the account first because that's the
right way, and try to honor mail_account_gui_save's return value.
* mail-config.glade: Add a label noting that you're not allowed
to create two accounts with the same name.
svn path=/trunk/; revision=12384
2001-08-13 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Changed all instances of "Wizard" and "Druid"
to "Assistant".
* mail-config-druid.c: Ditto.
svn path=/trunk/; revision=11960
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-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.glade: Added key accelerators to a bunch of the
config options and moved the Bcc and empty-subject checkboxes to
the composer tab where they belong.
* mail-callbacks.c (providers_config): Raise the dialog if it
exists already.
(manage_subscriptions): Raise the dialog if it already exists.
(main_select_first_unread): Removed (we haven't needed this code
in ages).
(select_first_unread): Same.
(save_msg_ok): If the path is empty, just return.
* mail-local.c (mail_local_reconfigure_folder): Raise the dialog
if it already exists.
svn path=/trunk/; revision=11719
2001-08-02 Jason Leach <jleach@ximian.com>
* mail-config.glade: Set history_id's for the sig and html sig
gnome file entry boxes so it can persist history, also add titles
to the dialogs that popup when you click the "Browse..." button.
Bug #5595.
svn path=/trunk/; revision=11594
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-25 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: fixed a mis-spelling of "Fashion" in
the mail accounts window. (See bug 5433)
svn path=/trunk/; revision=11412
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-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-17 Jason Leach <jleach@ximian.com>
* mail-account-gui.c (source_type_changed): Fix for last change:
hide the entire widget, not just the entry.
svn path=/trunk/; revision=11178
2001-07-17 Jason Leach <jleach@ximian.com>
* mail-config.glade: Make the Path: entry into a GnomeFileEntry so
you get a nice "Browse..." button that pops up a file selector to
locate your mbox files. Bug #3501.
svn path=/trunk/; revision=11170
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-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-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
* mail-config.glade: Rename some of the widgets in the news config
to not conflict with the mail config stuff, so the mail config
druid will work again.
svn path=/trunk/; revision=10754
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-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (transfer_msg): Updated for the
mail_transfer_messages API.
* folder-browser.c (message_list_drag_data_recieved): Update for
the mail_transfer_messages API.
(selection_received): Same.
* mail-ops.c (mail_transfer_messages): Renamed from
mail_do_transfer_messages and also added a callback/data arguments
since we need it component_factory::xfer_folder.
* component-factory.c (xfer_folder): Use mail_transfer_messages
instead.
(destination_folder_handle_drop): Update to pass in a NULL
callback arg and a NULL data argument to mail_transfer_messages.
svn path=/trunk/; revision=10710
2001-06-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Save the pgp and
smime settings.
(mail_account_gui_new): Setup the pgp and s/mime page (but disable
the s/mime frame if we are not compiled with s/mime support).
* mail-config.c (account_copy): Updated to save extra pgp and
smime options.
(account_destroy): Free draft/sent folder info and also the new
pgp/smime keys.
(config_read): Read in the pgp and s/mime config options.
(mail_config_write): Save the account pgp and smime options.
svn path=/trunk/; revision=10084
* 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
* 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
* 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-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (apply_changes): We don't care about SSL,
yea baby...
(apply_changes): Don't care about SSL, no baby...
(construct): Yea, I said we don't care 'bout SSL, baby
(construct): That's exactly what I said, uh huh...
(transport_auth_type_changed): Set the sensitivity of the
user/passwd entries.
(transport_type_changed): If the hostname hasn't been set yet,
just use "localhost" as it doesn't really matter, since all we
need is a valid URL object.
* mail-config.c: We no longer need `use_ssl' for sources and
transports.
svn path=/trunk/; revision=8741
2001-03-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (source_auth_init): Move the signal
emittion to after the set_menu call so that it actually works.
(transport_type_changed): Updated to manipulate the user/passwd
fields for the transport.
(construct): Updated to init the user/passwd fields for the
transport.
(transport_auth_init): Renamed. Also fill in the user/passwd
fields if available.
svn path=/trunk/; revision=8577
2001-02-27 Miguel de Icaza <miguel@ximian.com>
* gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
the menus to have entries always in a consistent fashion, as
reported to the genepool mailing list.
(e_day_view_on_event_right_click): Added a FIXME comment to the
FIXME comment without a FIXME.
Now we use e_popup_menu. This allows us to hide/show items on
demand, and to sensitize/de-sensitize items depending on their
state.
This will also let us add icon support (when we get nice icons for
this)
* gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.
The files popup-menu.c and popup-menu.h can now be removed.
2001-03-01 Miguel de Icaza <miguel@ximian.com>
* folder-browser.c (on_right_click): Move the context menus to
the toplevel code; Use enumerations for the various bitfield
constants.
Add support for hiding items that are not required (read/unread
and delete/undelete).
This requires my previous patch, as it assumes "Open" does the
right thing instead of having two operations: Open and Edit.
2001-02-28 Miguel de Icaza <miguel@ximian.com>
* folder-browser.c (on_right_click): Removed draft folders op
here, since open_msg now does the right thing (edit or view).
* folder-browser-factory.c (update_pixmaps): Removed MessageEdit
from here.
* mail-callbacks.c (open_msg): New function, does the "right
thing" to a message (either, edit or open).
* folder-browser-factory.c: Register new command here.
(update_pixmaps): Rename keys that have been shuffled around.
(update_pixmaps): Rename to match new updates on xml file.
Rename MessageOpenNewWindow to MessageOpen. Change action from
"view_message" to "open_message".
* mail-callbacks.c (mark_all_as_seen): New command. Marks all
messages as seen.
2001-03-06 Miguel de Icaza <miguel@ximian.com>
* evolution-tasks.xml: Added "File/New/Task" as well.
* evolution-mail.xml: Added "File/New/Mail Message" at the top
with binding C-n.
* evolution-calendar.xml: Set the binding for New Appointment to C-n
* evolution-contact-editor.xml: Set the toolbar to hlook=text
vlook=icon; Set all icons priority-text to 1.
* evolution-addressbook.xml: Added "Contact" to the New menu.
* evolution.xml: Provide an entry point to put "New" items on the
first level.
We are going to need some Bonobo support to "hide" objects when
other objects appear (like, having Mail Message bound to C-S-X in
the global space, and when we switch to Mail, we only show the
entry that has C-n as the binding).
2001-02-28 Miguel de Icaza <miguel@ximian.com>
* evolution.xml: Moved Importer after the Folder operations per
Dan's proposal.
* evolution-addressbook.xml: Renamed Settings/AddressBook
Configuration to Tools/Settings.
Make all the items have "Print" items that use the same icon
instead of a collection of icons.
* evolution-calendar.xml: Moved "Calendar Preferences" from
"Settings" to "Tools/Settings".
* evolution-mail.xml: Settings menu is fully gone. All things
that run a dialog now end up in "Tools" while actions end up in
"Actions". Hence I am right.
Renamed "Mail Configuration..." to "Identieies and Servers"
Move MessageMarkAsRead, MessageMarkAsUnRead
to Edit menu. Add MessageMarkAllAsRead.
Remove "Print Message" from Message menu. Remove "Print Preview
Message" from Message menu. Leave them on the "File" menu.
Renamed "Reply to Sender" to "Reply" (awaiting Ettore's
permission).
Renamed "Messages" to "Actions".
Open Message renamed to "Open Selected Items" (as this is what it
actually does).
Moved "Save Message As" to "File" menu.
Added "Properties" to the File/Folder submenu.
Edit menu now looks like this: Message Move, Message Copy, Select
All, Invert Selection, Delete, Undelete, Mark as Read, Mark as
Unread. Some of them were moved from the "Messages" menu.
"Forward message" shortcut changed to C-f
Tools menu created.
Create Rule From message moved to "Tools".
* evolution.xml: Added Tools menu. Moved Edit/Customize to
Tools/Customize Toolbar.
Added File/Folder submenu. Duplicate "New Folder" in here.
2001-02-28 Miguel de Icaza <miguel@ximian.com>
* menus/gal-view-menus.c (build_menus): Add translation string
here.
svn path=/trunk/; revision=8572
2001-03-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c: Don't access the `active` data member of a
GtkToggleButton directly - bad programming, shame on me.
* mail-account-editor.c: Same here.
* mail-accounts.c: And here too.
* mail-callbacks.c (empty_subject_destroyed): And finally here.
* mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type
for the multipart. Hmmm, still doesn't wrap correctly. NotZed?
Ideas?
(pgp_mime_part_encrypt): Here too.
svn path=/trunk/; revision=8560
2001-02-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (construct): Construct the PGP Path
GnomeFileEntry widget.
(pgp_path_changed): Try to auto-detect which PGP type the binary
file is based on the basename (yuck).
svn path=/trunk/; revision=8353