Commit Graph

14231 Commits

Author SHA1 Message Date
fb3a807dc9 updated
svn path=/trunk/; revision=17034
2002-05-29 13:04:23 +00:00
1ef60a7411 updated
svn path=/trunk/; revision=17033
2002-05-29 12:59:05 +00:00
bb2af98184 Implement. Run a summary check to update for any newly arrived messages.
2002-05-28  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-maildir-folder.c (maildir_refresh_info):
        Implement.  Run a summary check to update for any newly arrived
        messages.

        * providers/local/camel-maildir-store.c (scan_dir): If we have a
        folder, execute a refresh_info on it, to suck in any new stuff.

svn path=/trunk/; revision=17029
2002-05-29 02:35:42 +00:00
0c4f806358 skip folders that aren't valid uri's. (e_folder_list_get_items): didn't
2002-05-28  Chris Toshok  <toshok@ximian.com>

	* e-folder-list.c (e_folder_list_set_items): skip folders that
	aren't valid uri's.
	(e_folder_list_get_items): didn't update this to track the change
	in model columns.  bad toshok.

svn path=/trunk/; revision=17028
2002-05-28 21:56:11 +00:00
ab3174aaef Revert a failed idea.
2002-05-28  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-window.c (folder_browser_window_new): Revert a
	failed idea.

svn path=/trunk/; revision=17026
2002-05-28 21:16:16 +00:00
9c0ec5e627 Use the CamelMessageInfo rather than the CamelMimeMessage because the
2002-05-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (camel_filter_driver_log): Use the
	CamelMessageInfo rather than the CamelMimeMessage because the
	message may not have been loaded (thus NULL).

svn path=/trunk/; revision=17025
2002-05-28 19:00:23 +00:00
7e8e3858b6 On connection failure, unref the tcp stream.
2002-05-27  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/smtp/camel-smtp-transport.c (connect_to_server): On
	connection failure, unref the tcp stream.

	* providers/pop3/camel-pop3-store.c (connect_to_server): On
	connection failure, unref the tcp stream.

	* providers/imap/camel-imap-store.c (connect_to_server): On
	connection failure, unref the tcp stream.

	* providers/nntp/camel-nntp-store.c (nntp_store_query_auth_types):
	Our parent class is no longer CamelRemoteStore.
	(nntp_store_init): Same.
	(camel_nntp_store_get_type): Here too.
	(nntp_connect): Rewritten to try to connect via SSL. Also remove
	code using CamelRemoteStore.
	(camel_nntp_command): Don't call camel_remote_store_connected().

svn path=/trunk/; revision=17022
2002-05-28 03:00:31 +00:00
c07d953f5d Apply patch to fix a typo
svn path=/trunk/; revision=17021
2002-05-27 14:50:45 +00:00
08f9758626 update proto
2002-05-26  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/comp-editor.h: update proto

	* gui/dialogs/comp-editor.c (comp_editor_get_comp): new function
	to get base comp

	* gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get
	the base comp, not the current comp, don't unref it
	(foreach_close_cb): block the signal, unblock it if the editor
	could not be closed
	(e_comp_editor_registry_close_all): fix preconditions
	(editor_destroy_cb): get the base comp, not the current comp,
	don't unref it

svn path=/trunk/; revision=17020
2002-05-26 17:10:48 +00:00
a1d69a1b83 if there are remaining items, return false (foreach_close_cb): don't
2002-05-26  JP Rosevear  <jpr@ximian.com>

	* gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all):
	if there are remaining items, return false
	(foreach_close_cb): don't remove the item if it couldn't be closed

	* gui/e-comp-editor-registry.h: update proto

	* gui/component-factory.c (request_quit): return a boolean
	indicating if everything was closed

	* gui/dialogs/comp-editor.h: update proto

	* gui/dialogs/comp-editor.c (comp_editor_close): return true if
	the editor was closed, false otherwise

svn path=/trunk/; revision=17019
2002-05-26 16:46:49 +00:00
fb1d17d150 a registry of comp editors so we can close them all centrally
2002-05-26  JP Rosevear  <jpr@ximian.com>

	* gui/e-comp-editor-registry.[hc]: a registry of comp editors so
	we can close them all centrally

	* gui/gnome-cal.c (gnome_calendar_init): there is no editor hash
	now
	(gnome_calendar_destroy): ditto
	(gnome_calendar_edit_object): look for the event editor in the
	registry, if it isn't there, create it and add it to the registry

	* gui/e-calendar-table.c (open_task): look for the task editor in
	the registry, if it isn't there, create it and add it to the
	registry

	* gui/component-factory.c (request_quit): close all open editors
	(create_object): add a request_quit function to the shell
	component

	* gui/comp-editor-factory.c (free_client): there is no
	uid_comp_hash to free any more
	(editor_destroy_cb): we get an OpenClient as callback data now,
	reduce the editor count and destroy it if it is 0
	(edit_existing): don't create the Component, add the new editor to
	the registry, increase the editor count
	(edit_new): ditto
	(open_client): set the editor count to 0
	(impl_editExisting): look in the registry for the editor

	* gui/Makefile.am: Build new sources

	* gui/main.c (main): create the registry

	* gui/dialogs/comp-editor.c (comp_editor_close): prompt to save
	and then close dialog

	* gui/dialogs/comp-editor.h: new proto

	* gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff

svn path=/trunk/; revision=17018
2002-05-26 16:21:28 +00:00
e6298a6cd5 Added would_be_expanded refactoring code out of is_expanded.
2002-05-24  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-table-adapter.c
	(e_tree_table_adapter_node_would_be_expanded,
	e_tree_table_adapter_node_is_expanded): Added would_be_expanded
	refactoring code out of is_expanded.
	(find_first_child_node_maybe_deleted): Use the new function.

svn path=/trunk/; revision=17016
2002-05-24 23:47:33 +00:00
69c1a820e1 updated
svn path=/trunk/; revision=17015
2002-05-24 23:05:29 +00:00
34d05a6f6f Helps if we allocate enough space here. Also, start smoking the same
2002-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-folder.c (content_info_get_part_spec):
	Helps if we allocate enough space here. Also, start smoking the
	same purple flavoured IMAP crack when counting parts (parts don't
	count if their parent part is a message/* part with a parent
	part). Fixes bug #25260.

svn path=/trunk/; revision=17014
2002-05-24 22:43:31 +00:00
f1e6e913a6 Use the new readline function.
2002-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-command.c (imap_read_untagged): Use
	the new readline function.

	* providers/imap/camel-imap-store.c (connect_to_server): Use the
	new camel_imap_store_readline() function which doesn't suck quite
	as bad as the original camel_remote_store_recv_line() function.
	(camel_imap_store_readline): New function to replace
	camel_remote_store_recv_line(). This function is at least safe
	with embedded nul chars. Not that any of our callers use it
	*sigh*.

svn path=/trunk/; revision=17012
2002-05-24 20:14:59 +00:00
be5f3c160c ops, revert array size
2002-05-24  Radek Doulik  <rodo@ximian.com>

	* mail-composer-prefs.c (mail_composer_prefs_construct): ops,
	revert array size

svn path=/trunk/; revision=17011
2002-05-24 19:55:16 +00:00
af07499495 put this back in, accidentally got snipped with the hacking going on in
2002-05-24  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-config.c (CONFIG_CONTROL_FACTORY_ID):
	put this back in, accidentally got snipped with the hacking going
	on in here.

svn path=/trunk/; revision=17010
2002-05-24 19:45:11 +00:00
b6373dfed8 fixed a spelling mistake
svn path=/trunk/; revision=17009
2002-05-24 18:40:49 +00:00
179927c70b check the value returned by gnome_vfs_uri_to_string before using it.
2002-05-24  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend-file.c (save): check the value returned by
	gnome_vfs_uri_to_string before using it.
	(cal_backend_file_open): ditto.

svn path=/trunk/; revision=17008
2002-05-24 18:36:12 +00:00
2da4da2fa8 *** empty log message ***
svn path=/trunk/; revision=17007
2002-05-24 17:41:18 +00:00
7b109c7c3f Add libfilter-i18n.h.
svn path=/trunk/; revision=17006
2002-05-24 17:39:28 +00:00
657bf012aa Fix English grammar.
* filter-rule.c (get_widget): Fix English grammar.

svn path=/trunk/; revision=17005
2002-05-24 17:38:44 +00:00
d2acf348eb Updated German translation.
2002-05-24  Manuel Borchers  <webmaster@matronix.de>

        * de.po: Updated German translation.

svn path=/trunk/; revision=17004
2002-05-24 13:19:39 +00:00
0ebf2d3d36 Updated de.po file... Stil much to do, but main UI strings translated again.
svn path=/trunk/; revision=17003
2002-05-24 12:47:17 +00:00
70112c22d7 added shell/e-shell-config-autocompletion.c and
2002-05-24  Chris Toshok  <toshok@ximian.com>

	* POTFILES.in: added shell/e-shell-config-autocompletion.c and
	shell/e-shell-config-folder-settings.c.

svn path=/trunk/; revision=17002
2002-05-24 12:42:09 +00:00
1cfa64bf80 [ part of #25047 ] remove the autocompletion config control from here, as
2002-05-24  Chris Toshok  <toshok@ximian.com>

	[ part of #25047 ]
	* gui/component/addressbook-config.c: remove the autocompletion
	config control from here, as it lives in the shell now.

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: same.

svn path=/trunk/; revision=17001
2002-05-24 12:39:49 +00:00
9529bae97d [ fixes 90% of #25047 ] shamelessly lifted from
2002-05-24  Chris Toshok  <toshok@ximian.com>

	[ fixes 90% of #25047 ]
	* e-folder-list.c (get_folder_for_uri): shamelessly lifted from
	evolution-folder-selector-button.c.
	(create_display_string): modeled again after
	evolution-folder-selector-button.c, so we can give a little more
	context (and make the table look like the folder selector
	buttons.)
	(SPEC): add a pixbuf column, also remove the sorting behavior.
	(columns): add a pixbuf column and another string column (for the
	display string).
	(add_clicked): create the display string and get the proper
	pixbuf, and insert both.
	(edit_clicked): removed.
	(update_buttons): remove edit button handling from here.
	(e_folder_list_init): remove the hooking up of button-edit's
	"clicked" signal.
	(e_folder_list_construct): get a reference to the storage registry
	so we can look up folders.
	(e_folder_list_set_items): analogous change to add_clicked - get
	the display string and pixbuf and insert them.

	* glade/e-folder-list.glade: remove the edit button.

	* glade/e-shell-config-default-folders.glade: remove the
	frame/vbox,  since we embed it in a notebook and the tab has the
	title already.

	* e-shell-config.c (config_control_factory_cb): the only config
	control we deal with here now is the folder settings control.

	* e-shell-config-default-folders.c
	(e_shell_config_default_folders_create_widget): rename
	e_shell_config_default_folders_create_control to this, return the
	widget, and take the config control to use as an arg.

	* e-shell-config-offline.c (e_shell_config_offline_create_widget):
	make an analogous change here as with
	default_folders_create_widget.

	* e-shell-config-default-folders.h
	(e_shell_config_default_folders_create_widget): track change to
	prototype.

	* e-shell-config-offline.h (e_shell_config_offline_create_widget): same.

	* GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and
	OfflineFolders controls and add a FolderSettings_Control.

	* Makefile.am (evolution_SOURCES): add
	e-shell-config-folder-settings.[ch] and
	e-shell-config-autocompletion.[ch].

	* e-shell-config-folder-settings.[ch]: new files, embed (after a
	fashion) the default folder, offline, and autocompletion UI's in a
	notebook.

	* e-shell-config-autocompletion.[ch]: Basically copy over and
	shell-ize the addressbook autocompletion config control so it can
	be embedded more easily with the other folder settings.

svn path=/trunk/; revision=17000
2002-05-24 12:36:56 +00:00
5009d8d479 [ #24189 ] ifdef out the body of this because it only works with a single
2002-05-24  Chris Toshok  <toshok@ximian.com>

	[ #24189 ]
	* gui/component/select-names/e-select-names-manager.c
	(focus_out_cb): ifdef out the body of this because it only works
	with a single completion book.  not sure what to do here, but it
	doesn't impact most usage scenarios.
	(completion_popup_cb): same.
	(e_select_names_manager_entry_new): add the books that have been
	loaded successfully by the time this entry is created.
	(open_book_cb): add the opened book to the entries that have
	already been created, and store it in our list so that entries
	that are created in the future can catch up.
	(read_completion_books_from_db): slurp in the folder list from the
	config db and load all the uris.
	(uris_listener): listener function - when there's a change it
	calls _clear_books on all the created entries, and clears our
	list.  It then re-reads the books from the db.
	(e_select_names_manager_new): create our bonobo listener and call
	read_completion_books_from_db.
	(e_select_names_manager_init): init completion_books.
	(e_select_names_manager_destroy): free our list of
	completion_books.

	* gui/component/select-names/e-select-names-manager.h: switch from
	a single EBook to a GList of completion_books here.

	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_add_book): deal with the case where
	there's an active query (by effectively restarting it.)  This is
	quite a contrived edge case.
	(e_select_names_completion_clear_books): stop the current query
	and clear our list of books.
	(e_select_names_completion_new): track change to prototype, and
	axe the majority of this method since an EBook* isn't passed
	anymore.
	(e_select_names_completion_clear_book_data): split this code out
	from the destroy method so it can be called from _clear_books.

	* gui/component/select-names/e-select-names-completion.h: the
	constructor no longer takes an EBook -- pass in as many as you
	want using _add_book.  Also, add prototype for _clear_books.

	* gui/component/addressbook.c (load_uri_cb): when
	storing/retrieving passwords, use the cleaned (without params)
	version of the uri, so changing things like download limit don't
	cause the user to be prompted for a password again.

	* gui/component/addressbook-component.c
	(ensure_completion_uris_exist): new function - probably doesn't
	belong in this file.  Make sure the basic local Contacts folder
	exists in the completion uris.
	(addressbook_component_factory_init): call
	ensure_completion_uris_exist.

	* backend/ebook/e-book-util.h: add prototype for
	e_book_get_default_book_uri.

	* backend/ebook/e-book-util.c (e_book_get_default_book_uri): new
	function, just return the default contacts uri.
	(e_book_load_default_book): change
	to use e_book_get_default_book_uri.

svn path=/trunk/; revision=16999
2002-05-24 10:32:16 +00:00
f836bed249 If we can't find the mailing list address in the recipients list, just
2002-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): If we can't find the
	mailing list address in the recipients list, just Reply-to-All
	instead.

svn path=/trunk/; revision=16998
2002-05-24 06:37:30 +00:00
e7d495a63b Added some NULL protection fixes.
2002-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-store.c (connect_to_server): Added
	some NULL protection fixes.

svn path=/trunk/; revision=16997
2002-05-24 05:15:31 +00:00
b8924866d1 fix parameter/local variable overloading.
2002-05-23  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-config.c (addressbook_root_dse_query):
	fix parameter/local variable overloading.

svn path=/trunk/; revision=16996
2002-05-24 04:16:14 +00:00
5a4fa3a053 Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534.
* main.c (quit_box_new): Set @allow_shrink and @allow_grow to
FALSE for the window.  Fixes #17534.

svn path=/trunk/; revision=16995
2002-05-23 22:04:31 +00:00
a70ed5cf83 Set the ui to be the evolution-mail-global.xml file thingy. Still broken
2002-05-23  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-window.c (folder_browser_window_new): Set the ui
	to be the evolution-mail-global.xml file thingy. Still broken but
	oh well. I give up. bonobo-ui sucks.

	* message-browser.c (set_bonobo_ui): Fixed to not crash.

svn path=/trunk/; revision=16994
2002-05-23 21:34:23 +00:00
8de7c80602 Pass FALSE for @allow_shrink. Fixes #15688.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Pass FALSE for
@allow_shrink.  Fixes #15688.

svn path=/trunk/; revision=16993
2002-05-23 21:32:14 +00:00
0886e86bdf Make a little bit prettier. Default to "Delete", not "Cancel".
* e-shell-folder-commands.c (delete_dialog): Make a little bit
prettier.  Default to "Delete", not "Cancel".

svn path=/trunk/; revision=16992
2002-05-23 20:59:05 +00:00
5e3c6d9dcf Set the view type from the original group, thus preserving the
* e-shortcuts-view.c (rename_group_cb): Set the view type from the
original group, thus preserving the small-icon/large-icon state.
Fixes #6732.

svn path=/trunk/; revision=16991
2002-05-23 20:51:27 +00:00
52d4565416 (mail_composer_prefs_construct): add auto smiley check button
svn path=/trunk/; revision=16990
2002-05-23 20:31:59 +00:00
18b4f29daa If the folder-browser has a parent, reparent it.
2002-05-23  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-window.c (folder_browser_window_new): If the
	folder-browser has a parent, reparent it.

	* message-browser.[c,h]: Revert back to the old broken
	implementation since that's what users want. They're not happy
	unless it's broken.

svn path=/trunk/; revision=16989
2002-05-23 20:22:42 +00:00
2aef04318c added smileys checkbutton
svn path=/trunk/; revision=16988
2002-05-23 19:37:48 +00:00
3f4937a50c be more careful about language_str{_orig}
2002-05-23  Radek Doulik  <rodo@ximian.com>

	* mail-composer-prefs.c: be more careful about language_str{_orig}

svn path=/trunk/; revision=16987
2002-05-23 19:28:06 +00:00
b3029f0665 Add a toggle to avoid displaying the dialog again. Don't display the
* main.c (show_development_warning): Add a toggle to avoid
displaying the dialog again.  Don't display the dialog at all if
the /Shell/skip_warning_dialog_1_1 bonobo-conf key is set to
FALSE.
(warning_dialog_clicked_callback): Set
/Shell/skip_warning_dialog_1_1 according to the state of the check
button.

svn path=/trunk/; revision=16986
2002-05-23 16:23:34 +00:00
0529ab498f correct typo
2002-05-23  JP Rosevear  <jpr@ximian.com>

	* GNOME_Evolution_Summary.oaf.in.in: correct typo

svn path=/trunk/; revision=16985
2002-05-23 14:50:45 +00:00
34bad0e3c1 Updated Norwegian (bokmål) translation.
2002-05-23  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.

svn path=/trunk/; revision=16984
2002-05-23 13:20:10 +00:00
1fb21d1f78 No more @default_type arg to e_shell_folder_selection_dialog_new().
* e-shell.c (impl_Shell_selectUserFolder): No more @default_type
arg to e_shell_folder_selection_dialog_new().

* e-shell-view-menu.c (command_goto_folder): No more @default_type
arg to e_shell_folder_selection_dialog_new().
(command_new_shortcut): Likewise.

* e-shell-importer.c (import_druid_finish): No more @default_type
arg to e_shell_folder_selection_dialog_new().

* e-shell-folder-commands.c (e_shell_command_move_folder): No more
@default_type arg to e_shell_folder_selection_dialog_new().
(e_shell_command_copy_folder): Likewise.

* e-shell-folder-selection-dialog.c: Removed default_type member
in EShellFolderSelectionDialogPrivate.
(e_shell_folder_selection_dialog_new): Removed @default_type arg.
(e_shell_folder_selection_dialog_construct): Likewise.
(impl_clicked): Just pass the first of the allowed types to
e_shell_show_folder_creation_dialog() for the default type.

* evolution-shell-client.c (user_select_folder): No more
@default_type arg to the ::userSelectFolder CORBA method.

* Evolution-Shell.idl (selectUserFolder): Remove arg
@default_type.

svn path=/trunk/; revision=16983
2002-05-22 23:51:38 +00:00
16d764ed7c Removed references to camel-remote-store.c
2002-05-22  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed references to camel-remote-store.c

svn path=/trunk/; revision=16982
2002-05-22 23:23:55 +00:00
3077181e8f remove a #include "camel-remote-store.h"
svn path=/trunk/; revision=16981
2002-05-22 23:23:05 +00:00
e0d114045a Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search.
* e-search-bar.c (update_bonobo_menus): Put the stuff in
/menu/Searchplaceholder/Search instead of /menu/Search.

svn path=/trunk/; revision=16980
2002-05-22 22:57:05 +00:00
2ab4653659 Put the search menu in a SearchPlaceholder.
* evolution.xml: Put the search menu in a SearchPlaceholder.

svn path=/trunk/; revision=16979
2002-05-22 22:56:57 +00:00
5b60538512 New, overrides GtkWidget::draw. (impl_expose_event): New, overrides
* e-combo-button.c (impl_draw): New, overrides GtkWidget::draw.
(impl_expose_event): New, overrides GtkWidget::expose_event.

svn path=/trunk/; revision=16978
2002-05-22 22:15:33 +00:00
2b9f864daf New callback for when the first created view in the shell gets mapped.
* main.c (view_map_callback): New callback for when the first
created view in the shell gets mapped.
(new_view_created_callback): New callback for when the first view
of the shell gets created.
(show_development_warning): New function to display a warning
about the fact that Evolution is unstable.
(idle_cb): Call show_development_warning() here unless the
EVOLVE_ME_HARDER environment variable is set.

* e-shell.c (class_init): Add the "new_view_created" signal here.
(create_view): Emit the signal here.

* e-shell.h: New signal "new_view_created".

svn path=/trunk/; revision=16977
2002-05-22 20:49:13 +00:00