Commit Graph

696 Commits

Author SHA1 Message Date
cf9552aed5 Changed the password-getting dialog so that the text entry has focus.
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 20:56:51 +00:00
76d2762ac8 change cell type to "string" since we're not including it in the extras.
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 20:39:32 +00:00
82dd927886 Changed these to use the proper form for the column element.
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 12:11:11 +00:00
fb49a9def4 Updated these to the new ETable style of specifications.
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 11:06:51 +00:00
63ef9cbc9c convert to the new gal e-table stuff. (html_size_req): (html_new):
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 10:04:36 +00:00
5e48ebd91b remove the html description stuff for now.
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-11 08:30:20 +00:00
139f2405f0 umm.. duh :) only subscribe if it's not subscribed, and vice versa.
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-11 04:28:44 +00:00
73f3bc0bd4 add a ref to input->storage here so that the ref/unref pattern more
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-11 02:05:29 +00:00
6d26494925 make sure we dup the return value of get_reply_to or get_from when
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-11 00:14:21 +00:00
0f0c7ec34e HTML change
svn path=/trunk/; revision=5828
2000-10-11 00:08:28 +00:00
174021fa6f Added #include <errno.h> to mail/mail-threads.c so it will compile.
svn path=/trunk/; revision=5820
2000-10-10 18:43:34 +00:00
c0b38fcb52 Fixed for new rule_context_load
svn path=/trunk/; revision=5810
2000-10-10 01:13:33 +00:00
5de3bd00c7 use our own etable to display the stores, and get them from the
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-10 01:08:17 +00:00
d9d237a838 Updated to use new icon code.
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-10 00:11:09 +00:00
24926636e6 Oops, forgot these files last night.
svn path=/trunk/; revision=5804
2000-10-09 22:54:21 +00:00
5275ef9c15 Work around missing files in Zucchi's commit.
svn path=/trunk/; revision=5801
2000-10-09 14:47:48 +00:00
79154e4ac8 New widget, full search dialogue for mail.
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 12:57:36 +00:00
625a04713d re-write.
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-09 12:01:27 +00:00
13e8c4071d Tag string for translation (do_flag_messages): ditto.
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 06:43:26 +00:00
c627461cec Repeates writes on EINTRS. (pipe_read): Repeats reads on EINTRS.
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-08 06:39:20 +00:00
f3b80606d8 Move the functionality to incorporate messages into
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-08 05:30:59 +00:00
ee625ee5fc Fix the locking up of the mail by only calling camel functions from the
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-07 00:58:03 +00:00
621ccca29e set the @subscribed_only parameter to TRUE, since the subscribe UI is the
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-06 19:38:53 +00:00
745a10be4e Add missing parameter in call to `camel_store_get_folder_info()'.
(Duh, I hope `FALSE' is fine.)

svn path=/trunk/; revision=5763
2000-10-06 16:36:41 +00:00
a30dec16fd Decode the header before writing it to the header box.
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-06 01:01:26 +00:00
cf44c7e8b2 fetch mail before sending, this is a temp fix for POP-before-SMTP
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
2000-10-05 21:47:57 +00:00
d5a93f01c1 Disable summary stuff, it appears to be badly broken.
2000-10-05  Michael Meeks  <michael@helixcode.com>

	* component-factory.c (summary_fn, component_factory_init): Disable
	summary stuff, it appears to be badly broken.

	* Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch]

	* subscribe-dialog.c (update_pixmaps): upd.
	(set_pixmap): upd.
	(subscribe_dialog_gui_init): upd.
	remove redundant and annoying forward definitions.

	* folder-browser-factory.c (control_deactivate): upd.
	(control_activate_cb): upd.
	(control_activate): upd.
	(set_pixmap): upd.
	(update_pixmaps): upd.
	(register_ondemand): upd.
	(create_ondemand_hooks): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd.
	(folder_bar_mode_changed_cb): upd.
	(command_xml_dump): clobber.
	(e_shell_view_menu_setup): upd.

	* e-shell-view.c (shell_view_interface_set_message_cb): upd.
	(shell_view_interface_unset_message_cb): upd.
	(e_shell_view_construct): upd.
	(get_control_for_uri): upd.
	(e_shell_view_get_bonobo_ui_component): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* contact-editor/e-contact-editor.c (create_ui): upd.
	(e_contact_editor_init): upd.

	* gui/component/addressbook.c (control_activate_cb): upd.
	(control_deactivate): kill.
	(control_activate): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* gui/calendar-commands.c: upd.
	(calendar_control_activate): upd.
	(calendar_control_deactivate): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* component/e-summary-factory.c (control_activate): upd.
	(set_pixmap): upd. (update_pixmaps): upd.
	(control_activate_cb): upd.
	(control_deactivate): upd.

svn path=/trunk/; revision=5742
2000-10-05 07:10:04 +00:00
83b5ac87fc Use CamelInternetAddress instead of my quick hack (aka InternetAddress).
2000-10-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* message-list.c (address_compare): Use CamelInternetAddress
	instead of my quick hack (aka InternetAddress).

svn path=/trunk/; revision=5741
2000-10-05 01:49:13 +00:00
4642513eac Don't listen for message-changed hook, because it causes a lock up (?)
svn path=/trunk/; revision=5740
2000-10-05 01:37:19 +00:00
2deab9c417 Add the stuff to make evolution-mail a summary providing component. :)
svn path=/trunk/; revision=5738
2000-10-05 00:38:06 +00:00
8fee89d2fb Add back the "sync folder on leave" hack that got lost in the UIHandler
* 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 23:26:39 +00:00
9ec39960ad Instead of UnSelectAll, we want InvertSelection.
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 22:41:05 +00:00
801c54738f remove news specific check. (mail_tool_uri_to_folder): news: -> nntp:
2000-10-04  Chris Toshok  <toshok@helixcode.com>

	* mail-tools.c (mail_tool_get_root_of_store): remove news specific
	check.
	(mail_tool_uri_to_folder): news: -> nntp:

svn path=/trunk/; revision=5718
2000-10-04 21:38:59 +00:00
032dceebc5 Don't expunge the source mailbox on completion.
2000-10-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (do_filter_ondemand): Don't expunge the source
	mailbox on completion.

svn path=/trunk/; revision=5715
2000-10-04 20:31:13 +00:00
6ede7826d8 Don't try to add_folders if get_folder_info returned NULL.
* mail-ops.c (do_scan_subfolders): Don't try to add_folders if
	get_folder_info returned NULL.

svn path=/trunk/; revision=5712
2000-10-04 17:50:47 +00:00
91951b638c Fix the attachment icon width. (content_is_attachment): Perform some
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 15:59:18 +00:00
1b07e47ee6 Added a comment to a piece of code that I was trying to "fix" just to find
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-04 05:00:51 +00:00
d697b27b4d destroy our tree_model and remove the root node. also, release_unref our
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (subscribe_dialog_destroy): destroy our
	tree_model and remove the root node.  also, release_unref our
	control and view, and unref the listener.

	* mail-tools.c (mail_tool_uri_to_folder): news url's contain host
	names too, now.

svn path=/trunk/; revision=5690
2000-10-03 05:06:11 +00:00
6ca5ab655e add a storage-set-view-listener, and add a little printf saying what
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-03 03:28:11 +00:00
11aa32cb03 get Evolution::StorageSetView interface on our storage set view control,
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-03 01:24:22 +00:00
156faeeb31 add -I$(top_srcdir)/widgets/misc
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-03 00:25:23 +00:00
5d8858ccfa add fields for the storage set Bonobo_Control and Evolution_StorageSetView
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
2000-10-03 00:01:24 +00:00
f5394d001e remove spurious conflict indicator.
svn path=/trunk/; revision=5679
2000-10-02 23:31:29 +00:00
afc1271931 kill.
2000-10-03  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (setup_bonobo_ui_handler): kill.

	* e-shell-view-menu.c (e_shell_view_menu_setup): strip
	out the XML UI merge; move it to

	* e-shell-view.c (e_shell_view_construct): here, +
	freeze / thaw pair.

	* e-shell-view.c (setup_progress_bar): impl.
	(setup_widgets): hook in.
	(progress_bar_timeout_cb): fix.
	(start_progress_bar): fix.
	(stop_progress_bar): fix.
	(e_shell_view_construct): setup ui handler first.

2000-09-22  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c (e_shell_view_menu_setup): upd.

+ upd ChangeLogs

svn path=/trunk/; revision=5678
2000-10-02 23:30:03 +00:00
3694d8a135 Remove "Port" entry from source dialog. We'll use "host:port" like
* 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 20:16:53 +00:00
bfe2227dd0 subscribe-control.[ch] -> subscribe_dialog.[ch]
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* Makefile.am (evolution_mail_SOURCES): subscribe-control.[ch] -> subscribe_dialog.[ch]

	* mail-callbacks.c (manage_subscriptions): subscribe_control ->
	subscribe_dialog.  Also, pass the shell to subscribe_dialog_new.

	* mail-types.h: SubscribeControl -> SubscribeDialog.

	* subscribe-dialog.c, subscribe-dialog.h: rename from subscribe-control.[ch].

	* subscribe-dialog.c (subscribe_dialog_construct): pass
	Evolution_Shell in.
	(subscribe_dialog_new): takes Evolution_Shell argument now.

svn path=/trunk/; revision=5668
2000-10-02 20:06:11 +00:00
26973c935a remove the 2 tree pixbufs, so adjust the offsets to the score pixbufs.
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
2000-10-02 19:57:13 +00:00
e459a0465f Update for CamelFolderInfo changes.
* 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 19:08:44 +00:00
bf7c104d03 Add a cache for the pixbufs, hashed on CID, so that we only have to make a
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
2000-10-02 00:47:13 +00:00
f8b0f806ed Eye-candy, eye-candy.
Added attachment image thumbnailing to mail-display.c

svn path=/trunk/; revision=5649
2000-10-01 03:48:33 +00:00