Commit Graph

308 Commits

Author SHA1 Message Date
Dan Winship 1e54340d72 Oops. My gnome-vfs was out-of-date. Update for changed function name.
* mail-identify.c (mail_identify_mime_part): Oops. My gnome-vfs
	was out-of-date. Update for changed function name.

svn path=/trunk/; revision=3898
2000-07-05 21:04:20 +00:00
Dan Winship 53faeaabcc Use the gnomevfs sniff buffer interface to try to identify the MIME type
* mail-identify.c (mail_identify_mime_part): Use the gnomevfs
	sniff buffer interface to try to identify the MIME type when
	everything else fails.

	* mail-display.c (on_object_requested):
	* mail-format.c (lookup_handler, handle_undisplayable,
	handle_audio): s/gnome_mime/gnome_vfs_mime/

	* Makefile.am: Add gnomevfs stuff

svn path=/trunk/; revision=3893
2000-07-05 19:47:35 +00:00
Ettore Perazzoli e21b797d83 Get rid of a compiler warning.
svn path=/trunk/; revision=3881
2000-07-04 02:33:15 +00:00
Dan Winship 7ad9e59992 call mail_display_set_message with NULL if the message we tried to select
* message-list.c (select_msg): call mail_display_set_message with
	NULL if the message we tried to select doesn't exist (probably
	meaning we tried to selecte the first message and the folder is
	empty.)

	* mail-display.c (mail_display_set_message): deal with NULL as an
	input (meaning "undisplay previous message and display nothing").

svn path=/trunk/; revision=3879
2000-07-04 00:56:45 +00:00
Dan Winship 2b06fe7a4d Remove hack to redisplay the inbox, since folder_changed signals will now
* mail-ops.c (real_fetch_mail): Remove hack to redisplay the
	inbox, since folder_changed signals will now be emitted
	appropriately.

svn path=/trunk/; revision=3866
2000-07-03 01:22:27 +00:00
Dan Winship 033a1cd5a7 Fix filter_driver_new invocation.
* component-factory.c (create_vfolder_storage): Fix
	filter_driver_new invocation.

svn path=/trunk/; revision=3862
2000-07-03 00:39:35 +00:00
Dan Winship f0e2807dbe test-mail and test-thread should be noinst.
* Makefile.am (bin_PROGRAMS): test-mail and test-thread should be
	noinst.

svn path=/trunk/; revision=3861
2000-07-03 00:33:50 +00:00
Dan Winship 480cd7ee76 Pass mail_uri_to_folder and rules to filter_driver_new.
* mail-ops.c (real_fetch_mail):
	(vfolder_editor_clicked):
	* component-factory.c (create_vfolder_storage):
	Pass mail_uri_to_folder and rules to filter_driver_new.

svn path=/trunk/; revision=3860
2000-07-02 23:18:17 +00:00
Ettore Perazzoli e497e9ad28 Fix double freeing of the camel exception; this prevents a crash when a
folder cannot be opened.

svn path=/trunk/; revision=3858
2000-07-02 21:25:15 +00:00
Ettore Perazzoli fbc6a557a6 Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.

svn path=/trunk/; revision=3854
2000-07-02 04:46:36 +00:00
Dan Winship 25e3c025f6 Removed. These aren't being used any more. (The real pixmaps are in
* pixmaps.h, pixmaps/*.xpm: Removed. These aren't being used any
	more. (The real pixmaps are in ../art.)

svn path=/trunk/; revision=3848
2000-07-01 21:34:43 +00:00
Jeffrey Stedfast ee429c5ada Updated to reflect camel-folder changes.
2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* message-list.c (get_message_info):
	(select_msg): Updated to reflect camel-folder changes.

	* mail-ops.c (real_fetch_mail): Modified to reflect camel-folder
	changes.

svn path=/trunk/; revision=3844
2000-07-01 04:55:46 +00:00
Dan Winship 8a2058e527 Use gnome-print to do a print preview.
* mail-ops.c (print_msg): Use gnome-print to do a print preview.

	* folder-browser-factory.c: Hook up "Print" button.

svn path=/trunk/; revision=3835
2000-06-30 21:33:54 +00:00
Dan Winship a640827879 s/mbox/file/ to make this work again
svn path=/trunk/; revision=3834
2000-06-30 20:54:51 +00:00
Dan Winship 6f95a96083 New function, a wrapper around e_table_selected_row_foreach, which calls
* message-list.c (message_list_foreach): New function, a wrapper
	around e_table_selected_row_foreach, which calls the callback
	function with UIDs rather than row numbers.

	* folder-browser-factory.c: Remove never-used "Find" button from
	the toolbar and replace it with "Refile". (We need a better icon
	for this...). Hook up "Refile" to "refile_msg".

	* mail-ops.c (refile_msg): Call the shell's user_select_folder
	routine, and then use message_list_foreach and real_refile_msg to
	do the work.
	(delete_msg): Update to use message_list_foreach.

	* folder-browser.c (mail_uri_to_folder): new function, extracted
	from folder_browser_load_folder, to turn a URI into a folder.
	(folder_browser_load_folder): Use it.

svn path=/trunk/; revision=3833
2000-06-30 20:05:47 +00:00
Peter Williams effe256583 Fix to work with new EvolutionShellClient
svn path=/trunk/; revision=3830
2000-06-30 18:07:46 +00:00
Dan Winship 263cc3a01f use the ETable row_selection signal to track how many rows are selected.
* message-list.c (on_row_selection): use the ETable row_selection
	signal to track how many rows are selected. Eventually we will use
	this info to disable toolbar buttons when you have too few/too
	many messages selected, but the current toolbar widget doesn't
	allow that.

	* message-list.h, message-list.c, mail-ops.c: Change selected_row
	and selected_uid fields of MessageList to cursor_row and
	cursor_uid to be more correct according to the new ETable
	interfaces.

svn path=/trunk/; revision=3829
2000-06-30 17:46:48 +00:00
Ettore Perazzoli 4e359621b1 Fix stupid typos and add a missing prototype.
svn path=/trunk/; revision=3823
2000-06-30 08:28:44 +00:00
Ettore Perazzoli 55499e0ce4 EvolutionShellClient.
svn path=/trunk/; revision=3820
2000-06-30 05:36:32 +00:00
Jeffrey Stedfast f39e17a1c7 oops, corrected the gtk/gnome casts
svn path=/trunk/; revision=3813
2000-06-29 22:05:59 +00:00
Jeffrey Stedfast fa91d3e6a7 Clean up compile warnings (real_fetch_mail): Fetching from IMAP should do
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (delete_msg): Clean up compile warnings
	(real_fetch_mail): Fetching from IMAP should do nothing

svn path=/trunk/; revision=3811
2000-06-29 22:02:10 +00:00
Christopher James Lahey 5ca5da26b5 Handle multiple deletes (change by Peter Williams.)
2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

	* mail-ops.c: Handle multiple deletes (change by Peter Williams.)

svn path=/trunk/; revision=3809
2000-06-29 21:31:44 +00:00
Jeffrey Stedfast f8498f1b3a Changed "Send" to "Compose" to avoid user confusion. Compose is a little
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Changed "Send" to "Compose" to
	avoid user confusion. Compose is a little more intuitive.
	Also changed the pixmap to MAIL_NEW instead of MAIL_SND

svn path=/trunk/; revision=3807
2000-06-29 21:14:45 +00:00
Jeffrey Stedfast d2bd0132f7 Changed "Send" to "Compose" to avoid user confusion. Compose is a little
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Changed "Send" to "Compose" to
	avoid user confusion. Compose is a little more intuitive.

	* mail-ops.c (compose_msg): Renamed to avoid confusion

svn path=/trunk/; revision=3805
2000-06-29 21:06:28 +00:00
Dan Winship 01166c4fa2 remove some code incorrectly copied and pasted from create_vfolder_storage
* component-factory.c (create_imap_storage, create_news_storage):
	remove some code incorrectly copied and pasted from
	create_vfolder_storage which caused vfolder creation to stop
	working.

svn path=/trunk/; revision=3804
2000-06-29 20:31:40 +00:00
Christopher James Lahey 3649d5dc6d From mail:
2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c, mail-ops.c: Changed the name of
	e_table_select_row to e_table_set_cursor_row.

From widgets/e-table:

2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-click-to-add.c: Made this appear a bit better.

	* e-table-defines.h: Cleaned this up a bit, added
	ETableForeachFunc.

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h,
	e-table.c, e-table.h: Changed e_table_select_row to
	e_table_set_cursor_row.  Changed e_table_get_selected_view_row to
	e_table_get_cursor_row.  Added e_table_selected_row_foreach.

	* e-table-header-item.c: Fixed some warnings.

	* e-table-sorted-variable.c: Removed some unneeded debugging print
	statments.

	* e-tree-example-1.c: Changed e_table_get_selected_view_row to
	e_table_get_cursor_row.

svn path=/trunk/; revision=3799
2000-06-29 19:22:24 +00:00
Matthew Loper d2875d9e05 Fixes brought to us by Purify
svn path=/trunk/; revision=3792
2000-06-29 15:31:01 +00:00
Dan Winship 70646faa9f add default subjects
* mail-format.c (mail_generate_forward): add default subjects

svn path=/trunk/; revision=3784
2000-06-29 03:18:39 +00:00
Dan Winship 7fe829bb52 Refuse to create folders not of type "mail", and correctly create an empty
* component-factory.c (create_folder): Refuse to create folders
	not of type "mail", and correctly create an empty "mbox" folder
	for new folders in /local.

svn path=/trunk/; revision=3781
2000-06-28 23:12:50 +00:00
Dan Winship 66c6a7abb4 make this compile.
svn path=/trunk/; revision=3780
2000-06-28 21:31:04 +00:00
Dan Winship 4d1f7683d0 Add debugging messages
svn path=/trunk/; revision=3779
2000-06-28 20:40:31 +00:00
Dan Winship b3fd58b848 Call od_assert_using_oaf() or od_assert_using_goad() as appropriate to
* main.c (init_corba): Call od_assert_using_oaf() or
	od_assert_using_goad() as appropriate to make sure people didn't
	someone trick the build system.

svn path=/trunk/; revision=3776
2000-06-28 18:30:06 +00:00
Jeffrey Stedfast 09f78111f5 message-list.c: added prototype for filter_date()
svn path=/trunk/; revision=3772
2000-06-28 15:02:30 +00:00
Christopher James Lahey b06797413e Made dates display grouping information properly.
2000-06-27  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Made dates display grouping information
	properly.

svn path=/trunk/; revision=3765
2000-06-27 20:52:33 +00:00
Peter Williams 37a9065a63 Little teeny fixes
svn path=/trunk/; revision=3764
2000-06-27 19:07:06 +00:00
Peter Williams 1193028abd Hey, nothreads might work now\!
svn path=/trunk/; revision=3762
2000-06-27 17:47:06 +00:00
Peter Williams 3dc77052b5 Fix the test-threads when no threading
svn path=/trunk/; revision=3756
2000-06-27 15:49:17 +00:00
Peter Williams 802f9e634a Fix booboo
svn path=/trunk/; revision=3755
2000-06-27 15:23:07 +00:00
Peter Williams 9135a5d0e4 Solaris compatibility config check + implementation (ctime_r arguments)
svn path=/trunk/; revision=3754
2000-06-27 15:04:15 +00:00
Christopher James Lahey db8314acf5 Work around mismatched ctime_r functions. This will be fixed.
2000-06-27  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Work around mismatched ctime_r functions.  This
	will be fixed.

svn path=/trunk/; revision=3753
2000-06-27 14:51:40 +00:00
Peter Williams d3c6e3664d Let us compile sans threads on non-pthread systems.
svn path=/trunk/; revision=3752
2000-06-27 14:37:17 +00:00
Michael Zucchi 54f748a343 Put in a gross hack to export the shell reference elsewhere.
2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

	* component-factory.c (owner_set_cb): Put in a gross hack to
	export the shell reference elsewhere.

svn path=/trunk/; revision=3748
2000-06-27 03:45:36 +00:00
Christopher James Lahey e4de45da5f Calculate height including if clip_height is set to -1.
2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Calculate height including if
	clip_height is set to -1.

From addressbook/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-categories.c,
	addressbook/gui/component/e-cardlist-model.c: Added
	value_to_string handlers.

	* demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and
	"y" arguments.

	* addressbook/gui/component/addressbook.c: Activated Click To Add
	and set the click to add message.

	* addressbook/gui/component/e-addressbook-model.c: Added
	value_to_string and append_row handlers.

	* addressbook/gui/component/e-select-names.c: Added a column.

From calendar/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* gui/calendar-model.c: Added an #ifdefed value_to_string handler
	assignment.

From camel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* providers/mbox/camel-mbox-summary.c: Added debugging
	information.

From composer/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-msg-composer-select-file.h for make
	distcheck.

From e-util/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h.

	* e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like
	a vbox using the reflow system.

From mail/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Added a value_to_string handler.

From shell/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* glade/Makefile.am: Added EXTRA_DIST for make distcheck.

From widgets/e-table/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-click-to-add.c,
	e-table-click-to-add.h, e-table-one.c, and e-table-one.h.

	* e-table-click-to-add.c, e-table-click-to-add.h: A new canvas
	item that represents a single row that sometimes exists.  It's for
	adding new rows to your table.

	* e-table-example-1.c, e-table-example-2.c, e-table-size-test.c,
	test-check.c, test-cols.c, test-table.c: Added value_to_string handlers.

	* e-table-group-container.c: Use value_to_string to make grouping
	not crash for non string columns.  Made some changes to work
	properly in an ECanvasVbox.

	* e-table-group-leaf.c, e-table-item.c: Made some changes to work
	properly in an ECanvasVbox.

	* e-table-model.c, e-table-model.h: Added append_row and
	value_to_string methods.

	* e-table-one.c, e-table-one.h: Given a source ETableModel, this
	provides a single row model that uses the initialize_value,
	duplicate_value, free_value, and value_is_empty methods of the
	original source to implement set_value and value_at (and proxies
	most of the other methods.)  This is used for ETableClickToAdd.

	* e-table-simple.c, e-table-simple.h: Added append_row and
	value_to_string handlers.  append_row uses a GtkArg instead of a
	parameter to e_table_simple_new.

	* e-table-subset.c: Added append_row and value_to_string handlers.

	* e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd
	and an ETableItem instead of an ETableItem directly.  Only show
	the ETableClickToAdd if the top level of the xml SPEC has the
	attribute click-to-add set to some non-zero integer.
	(click-to-add="1").  Add a "click_to_add_message" argument.

	* e-tree-model.c: Add a commented out value_to_string handler.

From widgets/meeting-time-sel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added the include path to top_srcdir.

svn path=/trunk/; revision=3744
2000-06-27 00:51:06 +00:00
Peter Williams e923d2eea9 Make the broken threads optional
svn path=/trunk/; revision=3740
2000-06-26 18:21:45 +00:00
Jeffrey Stedfast 187f4c8b0c commenting out of some GDK_THREADS_*() junk that was causing a lock
also fixed an assignment problem (var = void) in mail-config.c

svn path=/trunk/; revision=3738
2000-06-26 16:02:06 +00:00
Ettore Perazzoli 9c515ee30b Add some debugging messages to track down thread issues better and
call GDK_THREAD_{LEAVE,ENTER} around the main loop as the GTK+
FAQ says we should do.

svn path=/trunk/; revision=3737
2000-06-26 05:29:04 +00:00
Peter Williams 78075bd090 Force thread usage and clean up the configure aspect thereof.
svn path=/trunk/; revision=3734
2000-06-25 23:00:29 +00:00
Jeffrey Stedfast c3d1ab1fc9 folder-browser.c: Improved the code to separate the imap namespace from the folder path
svn path=/trunk/; revision=3713
2000-06-23 19:55:09 +00:00
Peter Williams aa68bd85f1 Land most of the stuff to move fetch_mail, send_mail, expunge_folder, init_imap, and init_news to async operation.
svn path=/trunk/; revision=3711
2000-06-23 19:07:01 +00:00
Peter Williams 45cca0f241 Little prototype fixes
svn path=/trunk/; revision=3708
2000-06-23 15:58:22 +00:00