2000-10-11 Anna Marie Dirks <anna@helixcode.com>
* mail-threads.c: Changed the password-getting dialog so that the
text entry has focus.
svn path=/trunk/; revision=5864
2000-10-11 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c (STORE_ETABLE_SPEC): change cell type to
"string" since we're not including it in the extras.
svn path=/trunk/; revision=5862
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* message-list.c, message-list.h, subscribe-dialog.c: Changed
these to use the proper form for the column element.
svn path=/trunk/; revision=5849
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* message-list.c, message-list.h, subscribe-dialog.c: Updated
these to the new ETable style of specifications.
svn path=/trunk/; revision=5845
2000-10-11 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c (subscribe_dialog_gui_init): convert to the
new gal e-table stuff.
(html_size_req):
(html_new):
(put_html): #if 0 out the html functions since description stuff
isn't used and we don't want the warnings.
svn path=/trunk/; revision=5842
2000-10-11 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c (subscribe_dialog_gui_init): remove the html
description stuff for now.
svn path=/trunk/; revision=5838
2000-10-10 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c (folder_toggle_cb): umm.. duh :) only
subscribe if it's not subscribed, and vice versa.
(subscribe_folder_foreach): make sure to call
e_tree_model_node_changed.
(unsubscribe_folder_foreach): make sure to call
e_tree_model_node_changed.
svn path=/trunk/; revision=5831
2000-10-10 Chris Toshok <toshok@helixcode.com>
* mail-ops.c (setup_scan_subfolders): add a ref to input->storage
here so that the ref/unref pattern more closely matches other
mail-ops. also, this keeps the storage from being freed when we
hit the unref in cleanup_scan_subfolders, which is important
because we maintain a reference to it in the storage_hash in
component-factory.c
* subscribe-dialog.h: add storage field.
* subscribe-dialog.c (subscribe_folder_info): new function,
subscribe to a folder given it's CamelFolderInfo, and add it to
the shell - we're generating a path from the name of the folder
which is bad.
(unsubscribe_folder_info): same (except we unsubscribe and remove
from the shell).
(storage_selected_cb): unref the currently selected storage.
(subscribe_dialog_destroy): unref the currently selected storage.
(subscribe_dialog_construct): sc->storage = NULL.
* component-factory.c (mail_lookup_storage): new function, to look
up a EvolutionStorage corresponding to a CamelService. we ref the
EvolutionStorage before passing it back.
(mail_add_new_storage): insert the storage into storages_hash if
result is EVOLUTION_STORAGE_OK.
* mail.h: add prototype for mail_lookup_storage.
svn path=/trunk/; revision=5830
2000-10-10 Larry Ewing <lewing@helixcode.com>
* mail-format.c (mail_generate_reply): make sure we dup the return
value of get_reply_to or get_from when building the recipient list.
svn path=/trunk/; revision=5829
2000-10-09 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c, subscribe-dialog.h: use our own etable to
display the stores, and get them from the mail-config api. put
#if 0'ed code in place to add/remove the folders from the shell
when they're subscribed/unsusbcribed. also, react to double
clicks in the folder etable by toggling subscription status.
svn path=/trunk/; revision=5809
2000-10-08 Iain Holmes <iain@helixcode.com>
* mail-summary.c (create_summary_view): Updated to use new icon code.
2000-10-08 Iain Holmes <iain@helixcode.com>
* mail-summary.c (generate_html_summary): Generic function to
recreate the HTML of the summary. Checks all the folder summaries.
(generate_folder_summarys): Create a summary of all the vfolders
and the Inbox.
(create_summary_view): Generate the folder summarys before the
HTML.
svn path=/trunk/; revision=5806
2000-10-06 Not Zed <NotZed@HelixCode.com>
* mail-search-dialogue.c: New widget, full search dialogue for
mail.
* folder-browser.c (search_set): If we click on custom search, run
the full search dialogue.
(folder_browser_gui_init): Add a button to perform a full search.
(search_full): Bring up the mail search dialogue asynchronously.
(search_full_clicked): Handle search options.
(folder_browser_destroy): Free the saved rule if there is one
there.
(search_options[]): Added a custom option option - brings up the
full search dialogue.
(search_set): Disable the search entry if we are doing a full
search.
* mail-vfolder.c (vfolder_create_storage): Yay, finally
depeterised this stuff.
(vfolder_uri_to_folder): Removed an irrelevant comment.
* mail-callbacks.c (filter_edit): And here.
* mail-ops.c (do_fetch_mail): And here too.
* mail-autofilter.c (filter_gui_add_from_message): Fixed call to
context_load.
(filter_gui_add_for_mailing_list): And here too.
* folder-browser-factory.c (create_ondemand_hooks): Remove that
ondemand callback snot.
2000-10-05 Not Zed <NotZed@HelixCode.com>
* message-list.c (message_list_init_etable): Build the etable once
we know what folder we are going to use.
(save_header_state): Save the header spec to a cache file.
(message_list_destroy): Save the header spec.
(message_list_setup_etable): Setup the etable spec for this
folder, from a saved version if one exists, or to suit the folder
type (sent/received).
(message_list_set_folder): Setup the etable here once we have a folder.
svn path=/trunk/; revision=5798
2000-10-09 Michael Meeks <michael@helixcode.com>
* message-list.c (message_list_toggle_threads): re-write.
* folder-browser-factory.c (control_activate): update paths, need
CVS HEAD bonobo, use a listener not a verb.
svn path=/trunk/; revision=5792
2000-10-08 Miguel de Icaza <miguel@helixcode.com>
* mail-ops.c (mail_incorporate_messages): Tag string for translation
(do_flag_messages): ditto.
svn path=/trunk/; revision=5784
2000-10-08 Miguel de Icaza <miguel@helixcode.com>
* mail-threads.c (pipe_write): Repeates writes on EINTRS.
(pipe_read): Repeats reads on EINTRS.
(mail_operation_queue): Use pipe_write
(mail_op_set_percentage): ditto.
(mail_op_hide_progressbar): ditto.
(mail_op_show_progressbar): ditto.
(mail_op_set_message): ditto.
(mail_op_get_password): ditto.
(mail_op_error): ditto.
(mail_op_forward_event): ditto.
(mail_operations_terminate): ditto.
(dispatch): use pipe_read.
(dispatch): use pipe_write
(dispatch): ditto.
* mail-ops.c (mail_incorporate_messages): Only show message being
incorporated every 2 seconds, to avoid a bunch of CORBA round trips.
(do_transfer_messages): ditto.
(do_forward_messages): ditto.
svn path=/trunk/; revision=5783
2000-10-07 Miguel de Icaza <miguel@helixcode.com>
* mail-ops.c (do_fetch_mail): Move the functionality to
incorporate messages into mail_incorporate_messages.
(mail_load_evolution_rule_context): New function. Move the
functionality for loading the context rules to its own function.
svn path=/trunk/; revision=5782
2000-10-06 Iain Holmes <iain@helixcode.com>
* mail-summary.c: Fix the locking up of the mail by only calling
camel functions from the camel thread, and ORBit functions from
the GTK thread. Watch for the message-changed signal again.
* component-factory.c (summary_fn, component_factory_init):
Re-enabled it, cos I think it works again.
* mail-display.h: Remove the pb_cache.
* Makefile.am: Readd the mail-summary.[ch] files and add the
evolution-services library to the link.
svn path=/trunk/; revision=5777
2000-10-06 Chris Toshok <toshok@helixcode.com>
* mail-ops.c (do_scan_subfolders): set the @subscribed_only
parameter to TRUE, since the subscribe UI is the only interface
that should show unsubscribed groups.
svn path=/trunk/; revision=5768
2000-10-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (write_field_to_stream): Decode the header before
writing it to the header box.
* mail-callbacks.c (send_receieve_mail): fetch mail before
sending, this is a temp fix for POP-before-SMTP authentication.
svn path=/trunk/; revision=5759
2000-10-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (send_receieve_mail): fetch mail before
sending, this is a temp fix for POP-before-SMTP authentication.
svn path=/trunk/; revision=5749
* folder-browser-factory.c (control_deactivate): Add back the
"sync folder on leave" hack that got lost in the UIHandler merge.
svn path=/trunk/; revision=5728
2000-10-04 Jeffrey Stedfast <fejj@helixcode.com>
* folder-browser-factory.c: Instead of UnSelectAll, we want
InvertSelection.
* mail-callbacks.c (select_all): Finished this function.
(invert_selection): Finished. (was unselect_all - but that's not
what we really wanted as it'd be pointless. invert_selection is a
much more useful callback :-)
svn path=/trunk/; revision=5725
2000-10-04 Not Zed <NotZed@HelixCode.com>
* message-list.c (message_list_init_header): Fix the attachment icon width.
(content_is_attachment): Perform some simple tests to see if the
message contains an attachment.
(build_subtree): Kill a pointless warning.
svn path=/trunk/; revision=5707
2000-10-04 Miguel de Icaza <miguel@helixcode.com>
* mail-callbacks.c (delete_msg): Added a comment to a piece of
code that I was trying to "fix" just to find that the strange
behaviour here that was about to be fixed, was actually a fix to
the problem I was trying to fix.
So put the original comments from Dan, and will hope that someone
with more knowledge about this can figure why the delete key wont
delete messages and select the next unread message.
svn path=/trunk/; revision=5701
2000-10-02 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c, subscribe-dialog.h: add a
storage-set-view-listener, and add a little printf saying what
storage was selected.
svn path=/trunk/; revision=5688
2000-10-02 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c (subscribe_dialog_gui_init): get
Evolution::StorageSetView interface on our storage set view
control, and set "show_folders" to FALSE.
svn path=/trunk/; revision=5683
2000-10-02 Chris Toshok <toshok@helixcode.com>
* Makefile.am (INCLUDES): add -I$(top_srcdir)/widgets/misc
* subscribe-dialog.c (subscribe_dialog_gui_init): change the
window title to Manage Subscriptions, bold subscribed folders, and
add a title bar ala the evolution shell (but without the close
button).
svn path=/trunk/; revision=5682
2000-10-02 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.h: add fields for the storage set
Bonobo_Control and Evolution_StorageSetView interfaces.
* subscribe-dialog.c (subscribe_dialog_gui_init): create the uih
as early as possible, and add the storage set view to the left
side of the hpaned.
svn path=/trunk/; revision=5681
* mail-config-gui.c: Remove "Port" entry from source dialog. We'll
use "host:port" like Netscape and other programs do.
(service_page_get_url): If host ends in ":###", use that as port.
(service_page_set_url): If URL contains a port, append it to the
hostname, separated by a colon.
svn path=/trunk/; revision=5670
2000-10-02 Chris Toshok <toshok@helixcode.com>
* message-list.c (message_list_init_renderers): remove the 2 tree
pixbufs, so adjust the offsets to the score pixbufs. also, pass
NULL for the open/closed pixbufs to the tree cell renderer.
svn path=/trunk/; revision=5667
* mail-ops.c (mail_do_scan_subfolders, etc): Update for
CamelFolderInfo changes.
* message-list.c (message_list_destroy): Don't save_tree_state if
there's no folder associated with the MessageList.
* folder-browser.c (folder_browser_set_uri): Only call
mail_do_load_folder if the URI is not "".
svn path=/trunk/; revision=5664
2000-10-02 Iain Holmes <iain@helixcode.com>
* mail-display.[ch]: Add a cache for the pixbufs, hashed on CID,
so that we only have to make a thumbnail once.
2000-10-01 Iain Holmes <iain@helixcode.com>
* mail-display.c: Generate the thumbnails on an idle function so that
the user interface isn't locked. Checks in case the widget it will
use to display the image isn't destroyed.
svn path=/trunk/; revision=5653