Commit Graph

13830 Commits

Author SHA1 Message Date
c357c63804 Fix "evolution evolution:/path/to/folder" to use default view
prefs.

	* e-shell.c (impl_Shell_createNewView): Use
	e_shell_create_view_from_uri_and_settings to create the new view
	based on saved view 0 instead of always using the initial
	evolution defaults.
	(e_shell_create_view_from_uri_and_settings): Renamed and
	simplified; the template_view argument was useless and
	settings_found would always be set to TRUE in the context it was
	being used it.
	(e_shell_restore_from_settings): Simplify for
	e_shell_create_view_from_uri_and_settings changes.

	* e-shell-view.c (e_shell_view_load_settings): Only load the
	DisplayedURI if the view isn't already displaying a URI. Also,
	pass an &ev to the first bonobo_config_get_long so we can tell if
	it failed and bail out.

	* e-shell-view.h: Remove a prototype for a non-existent function
	(e_shell_view_remove_control_for_uri).

	* main.c (idle_cb): Add some comments here and remove some dead
	code.

svn path=/trunk/; revision=16389
2002-04-08 15:30:02 +00:00
851c96fac4 added some debug printf's
svn path=/trunk/; revision=16388
2002-04-08 06:42:03 +00:00
63e4d8f682 Updated French translation.
svn path=/trunk/; revision=16386
2002-04-07 22:32:35 +00:00
ea2d36dfec Remove notes files.
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: Remove notes files.

svn path=/trunk/; revision=16385
2002-04-06 23:11:28 +00:00
6d0b1ca32d Oops.
svn path=/trunk/; revision=16382
2002-04-06 20:06:28 +00:00
fc6f6d7e03 Remove dead files.
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* pcs/cal-backend-db.[hc]: Remove dead files.

svn path=/trunk/; revision=16381
2002-04-06 20:05:57 +00:00
f9af4fd645 add config_item:type
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* gui/GNOME_Evolution_Calendar.oaf.in: add config_item:type

svn path=/trunk/; revision=16380
2002-04-06 20:05:18 +00:00
9f091c603f add config_item:priority
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* GNOME_Evolution_Summary.oaf.in.in: add config_item:priority

svn path=/trunk/; revision=16379
2002-04-06 20:04:23 +00:00
c5627ed278 add config_item:type
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
	config_item:type

svn path=/trunk/; revision=16378
2002-04-06 20:03:39 +00:00
c5c38eb873 add config_item:type
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* GNOME_Evolution_Mail.oaf.in: add config_item:type

svn path=/trunk/; revision=16377
2002-04-06 20:02:47 +00:00
fc85f0ce45 set type (load_pages): get the oaf property for type and track the page
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* e-shell-settings-dialog.c (page_new): set type
	(load_pages): get the oaf property for type and track the page
	number of the highest priority for each type
	(destroy_type_entry): destroy hash func
	(impl_destroy): destroy the hash table
	(init): create private struct and hash table
	(e_shell_settings_dialog_show_type): show the page of the given
	type

	* e-shell-view-menu.c (command_settings): show the page for the
	current folder type by default

	* e-shell-settings-dialog.h: new proto

svn path=/trunk/; revision=16376
2002-04-06 20:00:51 +00:00
5be9af3b13 Construct the buttons earlier so that the option-menu-setup code that
* e-search-bar.c (e_search_bar_construct): Construct the buttons
	earlier so that the option-menu-setup code that tries to adjust
	the button sensitivity won't fail and g_warn.

svn path=/trunk/; revision=16375
2002-04-06 19:55:50 +00:00
f3a6f0a3a4 show a specific page number
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* e-multi-config-dialog.c (e_multi_config_dialog_show_page): show
	a specific page number

	* e-multi-config-dialog.h: new proto

svn path=/trunk/; revision=16374
2002-04-06 19:55:49 +00:00
c7b63d731c Oops.
svn path=/trunk/; revision=16373
2002-04-06 19:54:46 +00:00
9ffac35e80 Remove mail-summary.c
2002-04-06  JP Rosevear  <jpr@ximian.com>

	*  POTFILES.in: Remove mail-summary.c

svn path=/trunk/; revision=16372
2002-04-06 19:53:43 +00:00
2f2337bc47 Remove executive summary files.
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: Remove executive summary files.

svn path=/trunk/; revision=16371
2002-04-06 16:05:25 +00:00
d235696811 Set the title of the dialog.
* e-shell-settings-dialog.c (init): Set the title of the dialog.

svn path=/trunk/; revision=16370
2002-04-06 12:05:08 +00:00
6a46aea720 Don't get the statuscode here anymore. (http_method_invoke): Use a
2002-04-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-http-stream.c (http_get_headers): Don't get the statuscode
	here anymore.
	(http_method_invoke): Use a User-Agent header and do basic proxy
	authentication.
	(stream_read): Handle redirects.
	(camel_http_stream_set_user_agent): New function to allow client
	to set the User-Agent string.
	(camel_http_stream_set_proxy): New function for setting the proxy
	server.
	(camel_http_stream_set_proxy_authrealm): New function for setting
	the proxy auth realm.
	(camel_http_stream_set_proxy_authpass): New function for setting
	the proxy auth password.

svn path=/trunk/; revision=16367
2002-04-06 01:15:53 +00:00
c2c91ffed7 Fixes bug #3980.
2002-04-05  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #3980.

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_cc): If a Cc list
	is set to something non-empty, make sure to show the Cc widgets.
	(e_msg_composer_hdrs_set_bcc): Same but for Bcc.
	(e_msg_composer_hdrs_set_reply_to): And here.

svn path=/trunk/; revision=16366
2002-04-05 23:50:14 +00:00
0c6bbddb63 comment out more unused camel files
2002-04-05  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: comment out more unused camel files

svn path=/trunk/; revision=16365
2002-04-05 21:23:30 +00:00
6e84e1af02 remove file that is not compiled (and hence not disted)
2002-04-05  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: remove file that is not compiled (and hence not
	disted)

svn path=/trunk/; revision=16364
2002-04-05 18:17:51 +00:00
fb7876a44b dist the relevant xpms
2002-04-05  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: dist the relevant xpms

svn path=/trunk/; revision=16363
2002-04-05 14:24:59 +00:00
ee5332f908 If (body-contains) is not passed any arguments, return empty/false. Fixes
2002-04-04  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-search.c (imap_body_contains): If
        (body-contains) is not passed any arguments, return empty/false.
        Fixes a crash exposed by #15001.

svn path=/trunk/; revision=16362
2002-04-05 08:06:47 +00:00
49e82f8b9f Simplified since we can now decode in-reply-to without getting extra
2002-04-04  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-summary.c (message_info_new): Simplified since we
	can now decode in-reply-to without getting extra cruft. Get rid of
	the FIXME about having to check scan->id because of the
	possibility of it being NULL, this can no longer happen.

	* camel-mime-utils.c (header_references_inreplyto_decode): New
	function to decode in-reply-to headers. Only grabs the first thing
	that looks like a message-id and then returns.
	(header_references_decode): Loop calling
	header_references_decode_single (a new internal function).

svn path=/trunk/; revision=16361
2002-04-05 00:08:23 +00:00
bee1faf0a3 Re-Add $(WOMBAT_LIBS) so wombat actually links.
2002-04-04  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Re-Add $(WOMBAT_LIBS) so wombat actually links.

svn path=/trunk/; revision=16360
2002-04-04 22:33:29 +00:00
02dee9478c Fix a memory mixup.
* evolution-shell-client.c
	(evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup.

svn path=/trunk/; revision=16359
2002-04-04 22:32:12 +00:00
9bd7740327 link to the static libversit
2002-04-04  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: link to the static libversit

svn path=/trunk/; revision=16358
2002-04-04 22:10:46 +00:00
713d97bbb8 add evolution-folder-selector-button.c
svn path=/trunk/; revision=16357
2002-04-04 20:04:37 +00:00
6fd2d74bc0 Remove refs to drafts_folder_name and sent_folder_name in the corba
* netscape-importer.c (netscape_import_accounts): Remove refs to
	drafts_folder_name and sent_folder_name in the corba account
	structure.

svn path=/trunk/; revision=16356
2002-04-04 20:03:41 +00:00
f7e72c2814 Update for evolution_shell_client_user_select_folder API change.
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
	Update for evolution_shell_client_user_select_folder API change.

svn path=/trunk/; revision=16355
2002-04-04 20:03:29 +00:00
f99f9d9488 Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton.
* filter-folder.c: Remove the #ifndef SHELL part. Use an
	EvolutionFolderSelectorButton. Remove FilterFolder->name since
	it's no longer needed.

	* filter-context.c (filter_rename_uri): Update for removal of
	FilterFolder->name.

	* filter-element.c (filter_element_copy_value): Likewise.

	* vfolder-rule.c (source_add): Update for
	evolution_shell_client_user_select_folder API change.

svn path=/trunk/; revision=16354
2002-04-04 20:03:02 +00:00
b064051f5f Make the drafts and sent folder buttons be EvolutionFolderSelectorButtons.
* mail-account-gui.c (mail_account_gui_new): Make the drafts and
	sent folder buttons be EvolutionFolderSelectorButtons. Remove the
	code to deal with drafts_folder_name and sent_folder_name, since
	they were only used to construct the button and aren't needed now.
	(mail_account_gui_save): Remove drafts/sent name references.
	(mail_account_gui_destroy): Likewise
	(folder_selected): Handle the "selected" signal on the folder
	selector button by updating the URI in the MailAccountGui.
	(mail_account_gui_folder_selector_button_new): Glade custom widget
	constructor.

	* mail-callbacks.c (transfer_msg): Update for
	evolution_shell_client_user_select_folder change.

	* message-browser.c (transfer_msg): Likewise. (Sigh. Why is this
	cut+pasted?)

	* mail-config.glade: Make the drafts/sent folder buttons custom
	widgets.

	* mail-config.c (account_copy): Remove drafts/sent folder name
	handling.
	(account_destroy): Likewise.
	(config_read): Likewise.
	(mail_config_write): Likewise.

	* Mail.idl (MailConfig:Account): remove drafts_folder_name and
	sent_folder_name.

svn path=/trunk/; revision=16353
2002-04-04 20:02:48 +00:00
54ddaa6e48 New widget for a button that displays a folder selection in a standard
* evolution-folder-selector-button.c: New widget for a button that
	displays a folder selection in a standard form, and when clicked
	lets the user select a new folder.

	* Evolution-Shell.idl (FolderSelectionListener:notifySelected):
	Make this take an Evolution:Folder instead of a pair of uris.
	(Shell:getIconByType): New method to get the icon for a type from
	the folder type registry.

	* Evolution-common.idl (Folder): add "evolutionUri" to the folder
	structure.

	* Evolution-Storage.idl (StorageRegistry:getFolderByUri): get an
	Evolution:Folder for a given uri.

	* evolution-shell-client.c
	(evolution_shell_client_user_select_folder): Update this to
	reflect the IDL change: return a GNOME_Evolution_Folder instead of
	a pair of URIs. Make sure it always sets *@folder_return to %NULL
	if it fails (even if it's a g_return_if_fail).
	(evolution_shell_client_get_storage_registry_interface): New.
	(evolution_shell_client_get_pixbuf_for_type): New. Uses
	Shell_getIconByType, but caches results.

	* e-shell.c (folder_selection_dialog_folder_selected_cb): Update
	for API change. (Return a GNOME_Evolution_Folder.)
	(impl_Shell_getIconByType): Implement.

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getFolderByUri): Implement.

	* evolution-storage.c (evolution_storage_new_folder): Add a
	(dummy) evolutionUri to the folder.

	* Makefile.am (libeshell_la_SOURCES): add
	evolution-folder-selector-button.c
	(eshellinclude_HEADERS): and .h

svn path=/trunk/; revision=16352
2002-04-04 20:01:31 +00:00
97e99e459e fix substitution typo
2002-04-04  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: fix substitution typo

svn path=/trunk/; revision=16351
2002-04-04 19:57:10 +00:00
2aca6e1151 Fix static linking on solaris which doesn't have a static libresolv.
2002-04-04  JP Rosevear  <jpr@ximian.com>

	* configure.in: Fix static linking on solaris which doesn't have a
	static libresolv.

svn path=/trunk/; revision=16347
2002-04-04 16:15:22 +00:00
78492a5deb Don't show the popup if the entry->item doesn't have focus.
* gal/e-text/e-entry.c (e_entry_show_popup): Don't show the popup
if the entry->item doesn't have focus.

svn path=/trunk/; revision=16345
2002-04-04 15:34:09 +00:00
9cdf2d8df2 Added missing </submenu> tag. Remove bogus "Dump" menu item.
* evolution-addressbook.xml: Added missing </submenu> tag.  Remove
bogus "Dump" menu item.

svn path=/trunk/; revision=16344
2002-04-04 13:37:00 +00:00
8dc13ce627 Put DB3_LDADD and LDAP_LIBS on the top so the PAS backend uses the right
* Makefile.am (wombat_LDADD): Put DB3_LDADD and LDAP_LIBS on the
top so the PAS backend uses the right version of DB3 and always
links to LDAP.

svn path=/trunk/; revision=16343
2002-04-04 13:36:16 +00:00
f9b9c12b3b Change type of parent_class to BonoboXObjectClass.
* evolution-shell-component.c: Change type of parent_class to
BonoboXObjectClass.

* e-shell.c (pop_up_activation_error_dialog): New helper function
to pop up a dialog if one of the components couldn't be activated,
getting the description for the error from
e_get_activation_failure_msg().
(setup_components): Use this function in case of activation error.
(set_owner_on_components): Likewise, when the component gets
restarted.  Also get a @splash arg so we can set the parent for
this dialog correctly.

* e-component-registry.c (register_component): New arg @ev.
(e_component_registry_register_component): Likewise.
(e_component_registry_restart_component): Likewise.  Also, remove
some bogus code that was #if'ed out.

* evolution-shell-component-client.c
(evolution_shell_component_client_new): New arg @ev.

* evolution-shell-component-utils.c
(e_get_activation_failure_msg): New.

svn path=/trunk/; revision=16342
2002-04-04 13:35:26 +00:00
18a5655114 Add GNOME_Evolution_Summary.oaf.in, as this file is now generated.
svn path=/trunk/; revision=16341
2002-04-04 13:34:05 +00:00
041d60ae99 Remove bogus EXTRA_DIST with sgmldocs.make. Problem pointed out by Richard
* C/Makefile.am: Remove bogus EXTRA_DIST with sgmldocs.make.
Problem pointed out by Richard Boulton <richard@tartarus.org>.

svn path=/trunk/; revision=16340
2002-04-04 13:33:01 +00:00
840746783d Remove AddressbookConfig, ContactNew, ContactNewList EPixmap entries.
* gui/component/addressbook.c: Remove AddressbookConfig,
ContactNew, ContactNewList EPixmap entries.

* gui/component/addressbook-factory.c (main): Print out a
debugging message just before the main loop starts, for debugging
purposes.

svn path=/trunk/; revision=16339
2002-04-04 13:32:35 +00:00
91b1b55714 Make the preferences seperate from the views
svn path=/trunk/; revision=16338
2002-04-04 12:10:37 +00:00
c763b8c630 Updated Brazilian Portuguese translation done by Gustavo Maciel Dias
2002-04-04  Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>

* pt_BR.po: Updated Brazilian Portuguese translation done by
Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>.

svn path=/trunk/; revision=16337
2002-04-04 11:55:13 +00:00
91139a7bb2 Reset the keepalive timeout to 10 minutes rather than the 30 seconds I was
2002-04-04  Not Zed  <NotZed@Ximian.com>

        * camel-remote-store.c (remote_connect): Reset the keepalive
        timeout to 10 minutes rather than the 30 seconds I was using for
        testing.

svn path=/trunk/; revision=16336
2002-04-04 02:43:47 +00:00
b599862306 Deal with folders with no physical_uri.
* e-storage.c (get_path_for_physical_uri_foreach): Deal with
	folders with no physical_uri.

svn path=/trunk/; revision=16335
2002-04-03 23:00:29 +00:00
2e55f851fb Set the window title/icon here instead.
2002-04-03  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (construct): Set the window title/icon
	here instead.

	* message-tag-editor.c (message_tag_editor_init): Don't set the
	title or window icon here, this is a generic class.

	* mail-format.c (handle_multipart_signed): Replace
	get_url_for_icon with the new mail_display_get_url_for_icon
	function.
	(handle_multipart_digest): Here too.
	(get_cid): Use mail_display_add_url instead.
	(get_location): Same.
	(handle_text_enriched): Here too.
	(handle_multipart_signed): And here.

	* message-tag-followup.c (message_tag_followup_i18n_name): Use the
	U_() macro, not the _() macro as it is what we really want.

	* mail-ops.c (mail_send_message): Don't cast the message into a
	CamelMedium before sending anymore.

	* mail-callbacks.c (expunge_folder): Set the followup argument to
	NULL here.
	(done_message_selected): Get the followup value here and pass it
	to the mail-display here.
	(do_mail_fetch_and_print): Again with the NULL followup here.

	* folder-browser.c (folder_browser_set_message_preview): Update to
	pass in NULL as the followup since we are setting the message to
	NULL here.
	(done_message_selected): Get and set the appropriate followup
	value here.
	(do_message_selected): Update to pass in NULL as the followup
	since we are setting the message to NULL here.

	* mail-display.c (mail_display_set_message): Now takes a followup
	tag value.
	(mail_display_init): Set md->followup to NULL.
	(mail_display_destroy): Free md->followup.
	(mail_display_add_url): New: replaces the static add_url function
	originally in mail-format.c
	(mail_display_get_url_for_icon): New: replaces get_url_for_icon
	which was originally in mail-format.c

svn path=/trunk/; revision=16334
2002-04-03 22:55:34 +00:00
6447ad0758 Dutch translation updated by Tino Meinen.
2002-04-03 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Tino Meinen.

svn path=/trunk/; revision=16332
2002-04-03 21:22:22 +00:00
2ecd3ce0ee Changes to allow combined store/transport providers (like exchange and
* mail-account-gui.c: Changes to allow combined store/transport
	providers (like exchange and nntp). You can only select the
	transport if the account is also using that provider for the
	source.
	(source_type_changed): If changing away from a combined
	store/transport type, disable that provider on the transport page.
	If change to a combined store/transport type, enable and select
	that provider on the transport page.
	(mail_account_gui_setup): Do some additional bookkeeping here to
	make the above stuff work.
	(transport_type_changed): If the provider is a combined
	store/transport type, pretend it doesn't need any additional URL
	configuration.
	(mail_account_gui_transport_complete): if the transport provider
	is also a store provider, then as long as it matches the source
	for the account, it's considered complete.
	(mail_account_gui_save): If the selected transport is a combined
	store/transport provider, use the source page's information to
	fill in the transport url.

	* mail-local.c (mail_local_provider_init): Don't set up
	service_cache.

svn path=/trunk/; revision=16331
2002-04-03 18:19:27 +00:00
df281e2719 make service_cache be an array of CAMEL_NUM_PROVIDER_TYPES elements so you
* camel-provider.h (CamelProvider): make service_cache be an array
	of CAMEL_NUM_PROVIDER_TYPES elements so you can have a single
	provider offer both stores and transports. (Eg, Exchange, NNTP)

	* providers/imap/camel-imap-provider.c: Don't initialize
	service_cache here. (The session code can do it itself since the
	url_hash and url_equal functions are stored as part of the
	provider.)

	* providers/nntp/camel-nntp-provider.c: Likewise.

	* providers/local/camel-local-provider.c: Likewise.

	* providers/pop3/camel-pop3-provider.c: Likewise.

	* providers/sendmail/camel-sendmail-provider.c: Likewise.

	* providers/smtp/camel-smtp-provider.c: Likewise.

	* camel-session.c (register_provider): Initialize the provider's
	service cache(s) here.
	(camel_session_class_init): Don't initialize.
	vee_provider.service_cache here.
	(camel_session_destroy_provider): Update to destroy multiple
	service_caches.
	(service_cache_remove, get_service): Tweak these a bit to deal
	with multiple service_caches.

svn path=/trunk/; revision=16330
2002-04-03 18:18:31 +00:00