Commit Graph

2171 Commits

Author SHA1 Message Date
cf18d0940f Simplify. Use transfer_messages_to instead of picking between copy and
* mail-ops.c (transfer_messages_transfer): Simplify. Use
	transfer_messages_to instead of picking between copy and move.
	Remove vtrash special-casing since it's all in
	camel-vtrash-folder.c now. Remove duplicate source == dest check.

	* mail-local.c (mail_local_folder_reconfigure): Use
	transfer_messages_to instead of copy_messages_to.

svn path=/trunk/; revision=16745
2002-05-10 16:46:04 +00:00
c670e9d15b Make sure that even if the new source url is NULL, that we preserve the
2002-05-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Make sure that even
	if the new source url is NULL, that we preserve the enabledness of
	the source.

svn path=/trunk/; revision=16737
2002-05-09 20:06:16 +00:00
d325e6d453 Pass %FALSE as @has_shared_folders to evolution_storage_new().
* e-local-storage.c (construct): Pass %FALSE as
@has_shared_folders to evolution_storage_new().

* evolution-storage.c: New member has_shared_folders in
EvolutionStoragePrivate.
(init): Initialize to FALSE.
(evolution_storage_new): New arg @has_shared_folders.
(evolution_storage_construct): Likewise.
(impl_Storage__get_folderList): Renamed from
impl_Storage__get_folder_list.
(impl_Storage__get_hasSharedFolders): New, implementation for
::hasSharedFolders.
(evolution_storage_get_epv): Install the CORBA method
implementation.

* Evolution-Storage.idl: Make Storage::name a readonly attribute.  New attribute Storage::

* component-factory.c (add_storage): Pass %FALSE as
@has_shared_folders to evolution_storage_new().

* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): Pass %FALSE as
@has_shared_folders to evolution_storage_new().

svn path=/trunk/; revision=16733
2002-05-09 16:10:50 +00:00
26e908d6d3 dist Spell.idl
2002-05-09  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: dist Spell.idl

svn path=/trunk/; revision=16731
2002-05-09 13:50:25 +00:00
06bd4d2a16 implemented (c'n'p-ed and updated) spell checking settings
2002-05-08  Radek Doulik  <rodo@ximian.com>

	* mail-composer-prefs.c: implemented (c'n'p-ed and updated) spell
	checking settings

svn path=/trunk/; revision=16728
2002-05-08 20:29:59 +00:00
50e6527820 Change so there's no race conditions between the folder info and the session stuff
svn path=/trunk/; revision=16723
2002-05-08 14:29:05 +00:00
d02b29d954 Changed for rule_context_rename_uri api changes. (mail_filter_delete_uri):
2002-05-08  Not Zed  <NotZed@Ximian.com>

        * mail-autofilter.c (mail_filter_rename_uri): Changed for
        rule_context_rename_uri api changes.
        (mail_filter_delete_uri): Same.  Also, popup a dialogue similar to
        vfolder deleted dialogue to notify the user something has
        changed.  Partial fix for #18826.

svn path=/trunk/; revision=16720
2002-05-08 06:54:22 +00:00
65431a3347 Flush the filter log to make Tuomas happy :-)
2002-05-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (filter_folder_free): Flush the filter log to make
	Tuomas happy :-)

	* mail-session.c (mail_session_flush_filter_log): New convenience
	function to flush the session's filter log file.

svn path=/trunk/; revision=16696
2002-05-06 21:39:10 +00:00
0425bffaf1 Set the Seen flag as well since it's safe to assume that if the user has
2002-05-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_reply): Set the Seen flag as well since
	it's safe to assume that if the user has replied to an email
	message that he has read it. Not always true, but usually ;-)

svn path=/trunk/; revision=16693
2002-05-06 21:17:05 +00:00
bf8e5274dd If we are in a Sent/Drafts/Outbox folder, don't show the "Add Sender to
2002-05-06  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_right_click): If we are in a
	Sent/Drafts/Outbox folder, don't show the "Add Sender to
	Addressbook" menu item.

svn path=/trunk/; revision=16692
2002-05-06 20:41:42 +00:00
aa8aebb693 Check all threads are idle as well, using new e_thread_busy call. Should
2002-05-06  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (idle_quit): Check all threads are idle as
        well, using new e_thread_busy call.  Should fix #22553?  Also
        sleep a little bit, to let the other threads run.

svn path=/trunk/; revision=16684
2002-05-06 11:53:39 +00:00
17c6af5d3e Update the code to actually work. (sig_new_html): Same.
2002-05-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (sig_new_text): Update the code to actually
	work.
	(sig_new_html): Same.

	* mail-composer-prefs.c (mail_composer_prefs_new_signature): Allow
	'prefs' to be NULL.

svn path=/trunk/; revision=16659
2002-05-02 00:16:56 +00:00
6be9006f3f Fix the filter_menu static array to use the E_POPUP_MENU_CC macros since
2002-05-01  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_right_click): Fix the filter_menu static
	array to use the E_POPUP_MENU_CC macros since we plan on using
	custom closures for this.
	(on_right_click): Fixed so that you can "Edit as New" for any Sent
	folder and not just the local Sent folder.

svn path=/trunk/; revision=16657
2002-05-01 22:10:44 +00:00
52e6689e5e Fix the filter_menu static array to use the E_POPUP_MENU_CC macros since
2002-05-01  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_right_click): Fix the filter_menu static
	array to use the E_POPUP_MENU_CC macros since we plan on using
	custom closures for this.

svn path=/trunk/; revision=16656
2002-05-01 22:03:53 +00:00
51cade7105 Also check folder!=NULL. Fixes race where folder isn't setup yet, and
2002-05-01  Not Zed  <NotZed@Ximian.com>

        * folder-browser.h (FOLDER_BROWSER_IS_DESTROYED): Also check
        folder!=NULL.  Fixes race where folder isn't setup yet, and
        neither is bonobo menu status (because its delayed), and we get a
        menu event before we're setup yet.  For bug #21939.

svn path=/trunk/; revision=16653
2002-05-01 08:52:13 +00:00
cc136a6353 If the folder's permanent_flags don't include CAMEL_MESSAGE_DELETED, don't
* mail-callbacks.c (delete_msg): If the folder's permanent_flags
	don't include CAMEL_MESSAGE_DELETED, don't do anything. (In
	particular, don't move the cursor.)

svn path=/trunk/; revision=16645
2002-04-30 17:16:30 +00:00
1ea21ba3e6 Convert UTF-8 to gtkstrings since we are using a clist and not an E-widget
2002-04-29  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (message_tag_followup_append_message):
	Convert UTF-8 to gtkstrings since we are using a clist and not an
	E-widget that takes UTF-8.

	* mail-display.c (mail_display_add_url): If the data-urls is NULL,
	add a data-urls hash to the datalist. This finishes up bug #90.

svn path=/trunk/; revision=16640
2002-04-29 22:33:50 +00:00
8f07a288b4 Strip leading/trailing whitespace from the username because users
2002-04-29  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (save_service): Strip leading/trailing
	whitespace from the username because users sometimes accidently
	add extra spaces here and there. Fixes bug #24009 (along with a
	number of other "bugs").
	(mail_account_gui_auto_detect_extra_conf): Use a CamelURL instead
	of a GHashTable *settings. Also parse out the port # from the
	hostname.

svn path=/trunk/; revision=16633
2002-04-29 20:19:32 +00:00
c38efb6c50 Strip leading/trailing whitespace from the username because users
2002-04-29  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (save_service): Strip leading/trailing
	whitespace from the username because users sometimes accidently
	add extra spaces here and there. Fixes bug #24009 (along with a
	number of other "bugs").

svn path=/trunk/; revision=16632
2002-04-29 19:45:06 +00:00
6c028bb433 clean up propmanager initialization code.
2002-04-29  Larry Ewing  <lewing@ximian.com>

	* mail-composer-prefs.c (mail_composer_prefs_construct): clean up
	propmanager initialization code.

	* mail-preferences.c (mail_preferences_construct): small clean
	ups to propmanager code.

svn path=/trunk/; revision=16628
2002-04-29 07:23:11 +00:00
c9dcabffdb handle requests for the font manager control.
2002-04-29  Larry Ewing  <lewing@ximian.com>

	* mail-config-factory.c (config_control_factory_cb): handle
	requests for the font manager control.

	* mail-config.glade: add fonts tabs and reorder composer options
	to match the new dialogs from anna.

	* GNOME_Evolution_Mail.oaf.in: add font manager control definition.

	* mail-composer-prefs.c (mail_composer_prefs_construct): hook to
	the gtkhtml propmanager.
	(mail_composer_prefs_apply): apply propmanager changes.
	(mail_composer_prefs_finalise): unref the propmanager.

	* mail-composer-prefs.h: add propmanager member.

	* mail-font-prefs.c: initialize gui properly.

	* mail-preferences.c (mail_preferences_construct): hook to
	gtkhtml's propmanager.
	(mail_preferences_apply): apply propmanager changes.
	(mail_preferences_finalise): unref the propmanager.

	* mail-preferences.h: add propmanager member.

	* Makefile.am (evolution_mail_SOURCES): add mail-font-prefs.[ch]
	to the build.

svn path=/trunk/; revision=16627
2002-04-29 07:05:51 +00:00
fa6c55ae45 use the html reply logic even for plain parts so that we can test out the
2002-04-29  Larry Ewing  <lewing@ximian.com>

	* mail-tools.c (mail_tool_quote_message): use the html reply logic
	even for plain parts so that we can test out the new gtkhtml cite logic.

svn path=/trunk/; revision=16626
2002-04-29 06:49:46 +00:00
3b7f38cfce add const to silence warning.
2002-04-29  Larry Ewing  <lewing@ximian.com>

	* importers/evolution-mbox-importer.c (process_item_fn): add const
	to silence warning.

	* mail-display.c: add gtkhtml.h include so to pick up the
	object_relative prototype.

svn path=/trunk/; revision=16625
2002-04-29 06:37:25 +00:00
5495434827 Don't link with libibex anymore, it's been deprecated.
2002-04-26  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Don't link with libibex anymore, it's been
	deprecated.

svn path=/trunk/; revision=16618
2002-04-27 00:21:33 +00:00
6d3e92a2af Do away with the goto-next-folder stuff, it's very annoying.
2002-04-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (next_unread_msg): Do away with the
	goto-next-folder stuff, it's very annoying.

svn path=/trunk/; revision=16607
2002-04-26 21:57:04 +00:00
8ee6239978 After building the extra config options into a Gtk form, auto-detect any
2002-04-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (extra_prepare): After building the extra
	config options into a Gtk form, auto-detect any values that we can
	and populate them by calling
	mail_account_gui_auto_detect_extra_conf.

	* mail-account-gui.c (mail_account_gui_auto_detect_extra_conf):
	New function to auto-detect the extra config options for a source.

svn path=/trunk/; revision=16598
2002-04-26 19:38:07 +00:00
06a99cfaa3 Allow providers to override text entry boxes too. (source_type_changed):
2002-04-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_build_extra_conf): Allow
	providers to override text entry boxes too.
	(source_type_changed): Remove the logic to decide upon default
	paths, these paths can now be set by the provider.

svn path=/trunk/; revision=16581
2002-04-25 00:26:02 +00:00
41aeca4236 Update to use E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback gets
2002-04-24  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (label_menu): Update to use
	E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback gets
	called without per-item closure rather than being called with NULL
	and causing a segfault.

svn path=/trunk/; revision=16578
2002-04-24 23:14:45 +00:00
0448dc0fcc Set the default Username label and handle the new
2002-04-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_build_extra_conf): Set the
	default Username label and handle the new
	CAMEL_PROVIDER_CONF_LABEL enum allowing the provider to setup a
	label.

svn path=/trunk/; revision=16576
2002-04-24 21:35:54 +00:00
6dc8c1aabd Added back the checkmark icon for enabled accounts.
2002-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c: Added back the checkmark icon for enabled
	accounts.
	(account_able_clicked): Don't reload the accounts list, that was
	just lame.

svn path=/trunk/; revision=16571
2002-04-23 23:15:14 +00:00
345f0c8c5d Plug-in Anna's html for the flag-for-followup stuff. Finishes up bug #90.
2002-04-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_display_render): Plug-in Anna's html for
	the flag-for-followup stuff. Finishes up bug #90.

svn path=/trunk/; revision=16563
2002-04-22 23:35:36 +00:00
fadb6a35b6 Free the loading/pending/new/loaded_uid string buffers.
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_finalise): Free the
	loading/pending/new/loaded_uid string buffers.

svn path=/trunk/; revision=16546
2002-04-20 01:32:17 +00:00
36ea0df4e0 Free some temporary path buffers.
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read_signature): Free some temporary path
	buffers.

svn path=/trunk/; revision=16545
2002-04-20 01:18:56 +00:00
5d8a4ea16f Ref the html object here, this is an async handler so it's possible for
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (stream_write_or_redisplay_when_loaded): Ref the
	html object here, this is an async handler so it's possible for
	our caller (or someone else) to unref the html object before we
	finish.
	(load_content_free): Unref the async handler's ref of the html
	object here.
	(mail_display_new): Ref the html widget here so that we can be
	sure that so long as the mail-display is "alive", so is the html
	object. See bug #22328 for details. Basically, the message-browser
	is being closed before the message gets loaded and so the html
	object was being destroyed but the mail-display was still alive.
	(mail_display_destroy): Unref the html object when the
	mail-display is destroyed.

svn path=/trunk/; revision=16544
2002-04-20 00:41:25 +00:00
4cd8394cf6 Added yet more accelerators for the new config dialog--this time for the
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* mail-config.glade: Added yet more accelerators for the new config
	dialog--this time for the composer pages

svn path=/trunk/; revision=16543
2002-04-19 22:51:21 +00:00
4d1d5c599c Added a bunch of accelerators for the new config dialog
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* mail-config.glade: Added a bunch of accelerators for the new config
	dialog

svn path=/trunk/; revision=16538
2002-04-19 21:16:21 +00:00
f133091e60 Removed all Delivered-To headers before redirecting. Fixes bug #23635.
2002-04-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (redirect_get_composer): Removed all
	Delivered-To headers before redirecting. Fixes bug #23635.

svn path=/trunk/; revision=16525
2002-04-18 21:39:59 +00:00
6ac6466501 use default paper name in case of wrong translation
2002-04-18  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c (do_mail_print): use default paper name in case
	of wrong translation

svn path=/trunk/; revision=16516
2002-04-18 20:38:06 +00:00
2243175b0c Turn off the code which downloads the part if we can't identify it. See
2002-04-15  Not Zed  <NotZed@Ximian.com>

        * mail-identify.c (mail_identify_mime_part): Turn off the code
        which downloads the part if we can't identify it.  See discussion
        in #11778.

svn path=/trunk/; revision=16504
2002-04-18 02:21:08 +00:00
c2ee47d180 Bumped required gal version number to 0.19.99.11.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped required gal version number to 0.19.99.11.

From addressbook/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_create_categories): Changed this to use
	ECategoriesMasterListOptionMenu.

	* gui/component/select-names/e-select-names.c
	(section_right_click_cb),
	gui/widgets/e-addressbook-reflow-adapter.c,
	gui/widgets/e-addressbook-view.c: Updated these to match the new
	EPopupMenu.

From calendar/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
	gui/dialogs/meeting-page.c: Updated these to match the new
	EPopupMenu.

From mail/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* folder-browser.c, mail-display.c: Updated these to match the new
	EPopupMenu.

From shell/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* e-activity-handler.c: Updated this to match the new EPopupMenu.

svn path=/trunk/; revision=16498
2002-04-17 22:29:56 +00:00
240b0dfa22 Handle broken multipart/signed parts such as where the signature part is
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Handle broken
	multipart/signed parts such as where the signature part is not the
	last part (as it should be). Fixes bug #23583.

	* folder-browser.c (message_list_drag_data_get): Free the temp
	GByteArrays.

svn path=/trunk/; revision=16495
2002-04-17 21:55:00 +00:00
fee3cf83f6 Handle broken multipart/signed parts such as where the signature part is
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Handle broken
	multipart/signed parts such as where the signature part is not the
	last part (as it should be). Fixes bug #23583.

	* folder-browser.c (message_list_drag_data_get): Free the temp
	GByteArrays.
	(setup_popup_icons): Connect to the destroy signal on the pixmap
	objects using gtk_object_unref as the callback - this way when the
	popup menu gets destroyed, the pixmaps clean themselves up.
	(on_right_click): Same idea for the label_menu.

svn path=/trunk/; revision=16494
2002-04-17 21:20:19 +00:00
d89c3d0a9c Just use g_basename. (mlf_finalize): Free the real_path.
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (mail_local_folder_construct): Just use g_basename.
	(mlf_finalize): Free the real_path.

	* folder-browser.c (on_right_click): Unref the GdkGC so we don't
	leak it.

svn path=/trunk/; revision=16493
2002-04-17 20:00:39 +00:00
4f12e85340 Free the format string.
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_destroy_xevolution): Free the format
	string.

	* mail-config.c (config_write_signature): Don't leak the path
	strings here.

	* mail-signature-editor.c (menu_file_save_cb): Free the dirname
	string.

svn path=/trunk/; revision=16486
2002-04-17 02:36:39 +00:00
710bf52288 Ref the prefs widget here since we unref in the destroy callback. Caught
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-factory.c (config_control_factory_cb): Ref the prefs
	widget here since we unref in the destroy callback. Caught this
	thanks to purify.

svn path=/trunk/; revision=16481
2002-04-16 23:36:57 +00:00
f3f1cba62e Build fixes for --enable-nntp.
2002-04-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c: Build fixes for --enable-nntp.

svn path=/trunk/; revision=16459
2002-04-13 21:12:16 +00:00
a9a42c8c70 Updated French translation.
svn path=/trunk/; revision=16458
2002-04-13 10:49:20 +00:00
a3c38a5f19 Make it so that unchecking the "Enable Advanced Options" in the signature
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (mail_composer_prefs_construct): Make it
	so that unchecking the "Enable Advanced Options" in the signature
	tab disables the advanced settings and vise versa.

svn path=/trunk/; revision=16452
2002-04-12 20:13:28 +00:00
d550435b70 Setup News preferences too if it is enabled.
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_tab_construct): Setup News
	preferences too if it is enabled.

svn path=/trunk/; revision=16451
2002-04-12 19:52:41 +00:00
6b48c8e16e Set the text of the reply-to. (mail_account_gui_save): Get the reply-to
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): Set the text of the
	reply-to.
	(mail_account_gui_save): Get the reply-to text here.
	(mail_account_gui_identity_complete): If there is text in the
	reply-to widget make sure it's valid.

	* mail-config.c (identity_copy): Copy the reply-to.
	(config_read): Read in the reply-to for all the accounts.
	(mail_config_write): Save the reply-to.
	(impl_GNOME_Evolution_MailConfig_addAccount): Get the reply-to.
	(identity_destroy): Free the reply-to.

svn path=/trunk/; revision=16446
2002-04-12 05:54:58 +00:00