2001-08-20 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (storage_create_folder):
camel_folder_create_folder can now return a heirachial tree so
subscribe to down the tree.
svn path=/trunk/; revision=12257
* evolution-test-component.c: Added display_name and description
to the type.
* evolution-shell-component.c (impl__get_supported_types): Pass
`display_name' and `description' here.
(evolution_shell_component_construct): Likewise.
* evolution-shell-component.h: New members `display_name',
`description' in `EvolutionShellComponentFolderType'.
* e-component-registry.c (register_type): New args @description
and @display_name. Pass to
`e_folder_type_registry_register_type()'.
(register_component): Pass the values returned in the sequence
from __get_supported_types.
* e-folder-type-registry.c: New members `display_name' and
`description' in `struct _FolderType'.
(folder_type_new): New args @description and @display_name.
Initialize the respective fields in the `FolderType' accordingly.
(folder_type_free): Free `display_name' and `description'.
(register_folder_type): New args @display_name, @description.
(e_folder_type_registry_register_type): New args @display_name,
@description.
(e_folder_type_registry_get_description_for_type): New.
(e_folder_type_registry_get_display_name_for_type): New.
* Evolution-ShellComponent.idl: Added `display_name' and
`description' fields to the `FolderType' struct.
svn path=/trunk/; revision=12245
2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (do_op_status): Allow the activity to be NULL if there
isn't a global_shell_client so that we don't try and report status
updates when the shell is destroyed.
* mail-config.c (add_shortcut_entry): Return if there isn't a
global_shell_client.
* component-factory.c (owner_set_cb): set the global_shell_client
here and connect to the destroy signal.
* mail-vfolder.c (vfolder_create_storage): Use an extern global_shell_client.
svn path=/trunk/; revision=12242
2001-08-19 Christopher James Lahey <clahey@ximian.com>
* mail-callbacks.c (delete_msg): Made delete make the cursor go
backwards if the user is sorting by descending date.
svn path=/trunk/; revision=12236
2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
Note: The following changes were based on Zbigniew Chyla's fixes.
* mail-callbacks.c (mail_generate_reply): Convert the date string
to UTF-8.
(do_forward_non_attached): Same here.
svn path=/trunk/; revision=12231
2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Convert the date string
to UTF-8.
(do_forward_non_attached): Same here.
svn path=/trunk/; revision=12222
2001-08-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (config_read): Change the default values for
"always-sign" to false.
* mail-callbacks.c (open_msg): if the folder is Outbox, let the
user edit the message(s) too I guess.
svn path=/trunk/; revision=12208
2001-08-17 Damon Chaplin <damon@ximian.com>
* mail-display.c (pixmap_press): stop signal emission so the GtkButton
class method doesn't mess up the popup menu. Hopefully fixes bug #1828.
svn path=/trunk/; revision=12192
2001-08-17 Zbigniew Chyla <cyba@gnome.pl>
* mail-search.c (mail_search_construct): Put _() instead of N_()
around of the "Search" string, gnome_dialog_constructv doesn't
translate button names.
svn path=/trunk/; revision=12183
2001-08-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_write_authenticity): We want wax-seal.png
instead, since I added the png files to cvs and renamed it to
wax-seal.png.
svn path=/trunk/; revision=12180
2001-08-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_write): Save the always-sign options
for pgp and smime.
(config_read): Read in the always-save options for pgp and smime.
svn path=/trunk/; revision=12156
2001-08-17 Christopher James Lahey <clahey@ximian.com>
* message-list.etspec: Made the default values for column
expansions here more reasonable.
svn path=/trunk/; revision=12149
2001-08-16 Jason Leach <jleach@ximian.com>
* mail-tools.c (mail_tool_quote_message): Only starting cutting
the signature out when we match "-- \n", so "--\n" in the middle
of a mail won't omit the rest for a quoted reply. Bug #7454.
svn path=/trunk/; revision=12143
2001-08-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (confirm_expunge): Respect the user's desire to
be prompted to confirm that he wants to expunge the blasted
folder. Also, don't set the usize - that's just an evil hack and
you may find it will cut off text once the label has been
translated.
(create_msg_composer): In order for the security options to be
checked when composing a new message, we must set the from account
explicitly even though the composer hdrs sets the default from
account and emits the signal because at that stage the composer
hasn't yet connected to the signals and thus the bonobo menu items
don't get set.
* mail-config.c (mail_config_set_confirm_expunge): New.
(mail_config_get_confirm_expunge): New.
svn path=/trunk/; revision=12141
2001-08-16 Peter Williams <peterw@ximian.com>
* subscribe-dialog.c (fe_got_children): Sort the nodes here...
(fe_sort_folder): ... using this function.
* folder-browser-ui.c (folder_browser_ui_message_loaded): Check for uic
== NULL. I'm not sure how this could happen, but...
svn path=/trunk/; revision=12130
2001-08-16 Peter Williams <peterw@ximian.com>
* folder-browser-ui.c (folder_browser_ui_set_selection_state): Disable
"Search Message" when more or less than exactly one message is selected.
svn path=/trunk/; revision=12112
2001-08-16 Peter Williams <peterw@ximian.com>
(fe_node_to_shell_path): Use node->name and node->full_name to generate
the the shell path of this item. Don't need to escape the URL, and
handle cases when dir_sep != '/'
(fe_done_subscribing): Use fe_node_to_shell_path instead of the CamelURL.
Third time's the charm...
svn path=/trunk/; revision=12101
2001-08-16 Peter Williams <peterw@ximian.com>
* subscribe-dialog.c (fe_done_subscribing): Instead of hackfully
getting the path, use a CamelURL so that escaping is handled. Silly
me.
svn path=/trunk/; revision=12090
2001-08-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_part): Remember the filename is in utf8, so
use the e_utf8 functions to set the filename in the file selection
dialog.
svn path=/trunk/; revision=12076
2001-08-15 Peter Williams <peterw@ximian.com>
* message-list.c (on_cursor_activated_idle): Always remove the
idle and return FALSE, instead of returning TRUE if more than one
message is selected.
svn path=/trunk/; revision=12075
2001-08-15 Jason Leach <jleach@ximian.com>
* mail-tools.c (mail_tool_quote_message): Stop building the quote
after a sigdash, hence, omitting the signature from a
reply/forward. Bug #5529.
svn path=/trunk/; revision=12074
2001-08-15 Anna Marie Dirks <anna@ximian.com>
* mail-callbacks.c (expunge-folders): Re-added, at Ettore's
request, the confirm-expunge dialog.
svn path=/trunk/; revision=12071
2001-08-15 Jason Leach <jleach@ximian.com>
* message-list.c (message_list_init): Use ALWAYS for scroll frame
policy because ETable acts lame with AUTOMATIC. Bug #6925.
svn path=/trunk/; revision=12061
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 Peter Williams <peterw@ximian.com>
* mail-callbacks.c (previous_unread_msg): Make previous unread
wrap around too.
svn path=/trunk/; revision=12029
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-09 Peter Williams <peterw@ximian.com>
Fix bug #215... desensitize menu items based on the number of
selected messages (and whether there's a message in the pane)
* folder-browser-ui.c (folder_browser_ui_add_message): Sensitize
the menu items appropriately based on the old state.
(fbui_sensitize_items): New function. Set the sensitivity of a
list of commands.
(folder_browser_ui_set_selection_state): New function. Move the FB
to a new state of selected-ness, and sensitize menu items
appropriately.
(folder_browser_ui_message_loaded): New function. When notified
that a message has been loaded, sensitize some menu items.
* folder-browser-ui.h: Prototype new functions.
* folder-browser.h: New enumeration,
FolderBrowserSelectionState, that records the previous state
of the selection (_NONE, _SINGLE, _MULTIPLE).
* folder-browser.c (got_folder): If the component is set,
set our selection state to _NONE, because that's the default
state of the ETree.
(on_selection_changed): When the number of selected messages
is updated, notify the FBUI code of our new state.
(folder_browser_gui_init): Hook up to the selection_changed
signal and default to the _NONE selection state.
(done_message_selected): Notify when a message is loaded.
2001-08-08 Peter Williams <peterw@ximian.com>
* mail-folder-cache.c: Display how many messages are selected,
too.
(make_folder_status): If multiple messages are selected, add that
to the string (the 0 and 1 cases are boring)
(selection_changed): New function, update the selected count.
(mail_folder_cache_note_fb): Connect to the selection_changed
signal.
svn path=/trunk/; revision=12012
* folder-browser.c (message_list_drag_data_get): Fix the fix for
#6722.
* mail-ops.c (save_messages_save): Likewise.
(save_part_save): Deal with the possibility that
camel_mime_filter_charset_new_convert will return NULL (bad
charset name). Fixes#6611.
svn path=/trunk/; revision=12008
2001-08-13 Jon Trowbridge <trow@ximian.com>
* mail-search.c (mail_search_construct): Disable the "search
forward/backward" option in the search dialog. Why? Well, it
doesn't work properly (bug #4869), and the reason it doesn't work
is because of some scary stuff deep inside of gtkhtml that I don't
understand at all. So since I'm paranoid, and since the GUI
freeze is tomorrow, and since it isn't really an important feature
at all, I'm #if 0-ing it out. If the gtkhtml stuff gets sorted
out, we can slip it back in for 1.1.
svn path=/trunk/; revision=11985
2001-08-13 Peter Williams <peterw@ximian.com>
* component-factory.c (user_create_new_item_cb): New function,
handle "user creatable items".
(component_fn): Tell the shell that we're capable of creating
mail messages.
svn path=/trunk/; revision=11965
2001-08-13 Jason Leach <jleach@ximian.com>
* mail-local.c (get_folder): Fix this so it can actually get
folders from the hash of folders on the local store (it was
looking up plain @folder_name, which is typically "mbox", instead
of the full URI, /home/jleach/evolution/local/Foo/mbox).
* component-factory.c (do_remove_folder): Rename to
remove_folder_done, more fitting for it's purpose.
(do_xfer_folder): Similar name change.
(do_create_folder): Similar name change.
(remove_folder): Don't notifyResult for the component here, we
will notify with our result in remove_folder_done.
(xfer_folder): Ditto.
* mail-vfolder.c (vfolder_refresh): Create new folders with unread
counts of "0" instead of #FALSE (which just happens to be #defined
as zero).
svn path=/trunk/; revision=11964
2001-08-13 Peter Williams <peterw@ximian.com>
* mail-send-recv.c (mail_autoreceive_setup): Break most of the
functionality into a separate function.
(autoreceive_setup_list): Rename of mail_autoreceive_setup that is
passed a list of accounts.
(mail_autoreceive_setup_account): New function. Set up a single
account using autoreceive_setup_account.
* mail-send-receive.h: Prototype mail_autoreceive_setup_account.
* mail-account-gui.c (mail_account_gui_save): Instead of setting
up all accounts, set up only this source with the new
mail_autoreceive_setup_account.
* mail-config-druid.c (druid_finish): ... which means we can call
mail_config_add_account() after the MailConfigAccount has been
created by mail_account_gui_save() because we no longer need the
account to be in the list for mail_autoreceive_setup()
* mail-config.c (mail_config_add_account): ... which means we can
possibly add a shortcut to the account's sources's Inbox here.
(maybe_add_shortcut): New function. If the store is a storage, add
a shortcut to its inbox. Hope that /INBOX exists.
(add_shortcut_entry): New function. Creates a shortcut if it doesn't
yet exist.
2001-08-13 Peter Williams <peterw@ximian.com>
* mail-account-gui.c (service_complete): Take account of the fact that
service->path may be NULL (if service is a transport.)
* mail-config-druid.c (druid_finish): Bleah, bugfix in case the
account has no source.
svn path=/trunk/; revision=11961
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-13 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (get_message_uid): Do some g_assert()
action. Make sure that the node passed in is non-NULL and also
make sure that the CamelMessageInfo gotten from the ETree is
non-NULL.
(get_message_info): Same here.
svn path=/trunk/; revision=11959
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 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (expunge_folder): Confirm that the user really
wants to expunge.
(save_msg_ok): Set the parent window here.
svn path=/trunk/; revision=11949