aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement. Run a summary check to update for any newly arrived messages.Not Zed2002-05-293-1/+31
| | | | | | | | | | | | | 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
* skip folders that aren't valid uri's. (e_folder_list_get_items): didn'tChris Toshok2002-05-292-4/+13
| | | | | | | | | | | 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
* Revert a failed idea.Jeffrey Stedfast2002-05-292-29/+5
| | | | | | | | | 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
* Use the CamelMessageInfo rather than the CamelMimeMessage because theJeffrey Stedfast2002-05-292-8/+11
| | | | | | | | | | 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
* On connection failure, unref the tcp stream.Jeffrey Stedfast2002-05-286-77/+226
| | | | | | | | | | | | | | | | | | | | | | | 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
* Apply patch to fix a typoIain Holmes2002-05-272-1/+5
| | | | svn path=/trunk/; revision=17021
* update protoJP Rosevear2002-05-274-11/+39
| | | | | | | | | | | | | | | | | | | 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
* if there are remaining items, return false (foreach_close_cb): don'tJP Rosevear2002-05-277-15/+37
| | | | | | | | | | | | | | | | | | | | 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
* a registry of comp editors so we can close them all centrallyJP Rosevear2002-05-2713-205/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added would_be_expanded refactoring code out of is_expanded.Christopher James Lahey2002-05-251-16/+22
| | | | | | | | | | | | 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
* updatedRadek Doulik2002-05-251-1454/+2123
| | | | svn path=/trunk/; revision=17015
* Helps if we allocate enough space here. Also, start smoking the sameJeffrey Stedfast2002-05-253-4/+20
| | | | | | | | | | | | 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
* Use the new readline function.Jeffrey Stedfast2002-05-256-59/+96
| | | | | | | | | | | | | | | | | 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
* ops, revert array sizeRadek Doulik2002-05-252-1/+6
| | | | | | | | | 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
* put this back in, accidentally got snipped with the hacking going on inChris Toshok2002-05-252-0/+7
| | | | | | | | | | 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
* fixed a spelling mistakeJeffrey Stedfast2002-05-251-1/+1
| | | | svn path=/trunk/; revision=17009
* check the value returned by gnome_vfs_uri_to_string before using it.Rodrigo Moya2002-05-252-1/+10
| | | | | | | | | | 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
* *** empty log message ***Ettore Perazzoli2002-05-251-1/+1
| | | | svn path=/trunk/; revision=17007
* Add libfilter-i18n.h.Ettore Perazzoli2002-05-251-0/+1
| | | | svn path=/trunk/; revision=17006
* Fix English grammar.Ettore Perazzoli2002-05-252-1/+5
| | | | | | * filter-rule.c (get_widget): Fix English grammar. svn path=/trunk/; revision=17005
* Updated German translation.Manuel Borchers2002-05-241-0/+4
| | | | | | | | 2002-05-24 Manuel Borchers <webmaster@matronix.de> * de.po: Updated German translation. svn path=/trunk/; revision=17004
* Updated de.po file... Stil much to do, but main UI strings translated again.Manuel Borchers2002-05-241-3297/+3758
| | | | svn path=/trunk/; revision=17003
* added shell/e-shell-config-autocompletion.c andChris Toshok2002-05-242-0/+7
| | | | | | | | | 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
* [ part of #25047 ] remove the autocompletion config control from here, asChris Toshok2002-05-243-105/+8
| | | | | | | | | | | | 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
* [ fixes 90% of #25047 ] shamelessly lifted fromChris Toshok2002-05-2415-308/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [ #24189 ] ifdef out the body of this because it only works with a singleChris Toshok2002-05-249-72/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* If we can't find the mailing list address in the recipients list, justJeffrey Stedfast2002-05-242-2/+24
| | | | | | | | | | 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
* Added some NULL protection fixes.Jeffrey Stedfast2002-05-242-8/+26
| | | | | | | | | 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
* fix parameter/local variable overloading.Chris Toshok2002-05-242-3/+8
| | | | | | | | | 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
* Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534.Ettore Perazzoli2002-05-242-0/+6
| | | | | | | * main.c (quit_box_new): Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534. svn path=/trunk/; revision=16995
* Set the ui to be the evolution-mail-global.xml file thingy. Still brokenJeffrey Stedfast2002-05-243-5/+18
| | | | | | | | | | | | 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
* Pass FALSE for @allow_shrink. Fixes #15688.Ettore Perazzoli2002-05-242-1/+7
| | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Pass FALSE for @allow_shrink. Fixes #15688. svn path=/trunk/; revision=16993
* Make a little bit prettier. Default to "Delete", not "Cancel".Ettore Perazzoli2002-05-242-22/+19
| | | | | | | * e-shell-folder-commands.c (delete_dialog): Make a little bit prettier. Default to "Delete", not "Cancel". svn path=/trunk/; revision=16992
* Set the view type from the original group, thus preserving theEttore Perazzoli2002-05-242-1/+15
| | | | | | | | * 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
* (mail_composer_prefs_construct): add auto smiley check buttonRadek Doulik2002-05-243-1/+8
| | | | svn path=/trunk/; revision=16990
* If the folder-browser has a parent, reparent it.Jeffrey Stedfast2002-05-246-38/+316
| | | | | | | | | | | | | 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
* added smileys checkbuttonRadek Doulik2002-05-241-0/+14
| | | | svn path=/trunk/; revision=16988
* be more careful about language_str{_orig}Radek Doulik2002-05-242-4/+16
| | | | | | | | 2002-05-23 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: be more careful about language_str{_orig} svn path=/trunk/; revision=16987
* Add a toggle to avoid displaying the dialog again. Don't display theEttore Perazzoli2002-05-242-5/+43
| | | | | | | | | | | | * 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
* correct typoJP Rosevear2002-05-233-2/+6
| | | | | | | | 2002-05-23 JP Rosevear <jpr@ximian.com> * GNOME_Evolution_Summary.oaf.in.in: correct typo svn path=/trunk/; revision=16985
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-232-299/+336
| | | | | | | | 2002-05-23 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16984
* No more @default_type arg to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-05-239-40/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Removed references to camel-remote-store.cJeffrey Stedfast2002-05-232-1/+4
| | | | | | | | 2002-05-22 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed references to camel-remote-store.c svn path=/trunk/; revision=16982
* remove a #include "camel-remote-store.h"Jeffrey Stedfast2002-05-231-1/+0
| | | | svn path=/trunk/; revision=16981
* Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search.Ettore Perazzoli2002-05-231-3/+11
| | | | | | | * e-search-bar.c (update_bonobo_menus): Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search. svn path=/trunk/; revision=16980
* Put the search menu in a SearchPlaceholder.Ettore Perazzoli2002-05-233-3/+9
| | | | | | * evolution.xml: Put the search menu in a SearchPlaceholder. svn path=/trunk/; revision=16979
* New, overrides GtkWidget::draw. (impl_expose_event): New, overridesEttore Perazzoli2002-05-232-2/+108
| | | | | | | * e-combo-button.c (impl_draw): New, overrides GtkWidget::draw. (impl_expose_event): New, overrides GtkWidget::expose_event. svn path=/trunk/; revision=16978
* New callback for when the first created view in the shell gets mapped.Ettore Perazzoli2002-05-234-0/+121
| | | | | | | | | | | | | | | | | | * 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
* New member default_menu_item in EShellUserCreatableItemsHandlerPrivate.Ettore Perazzoli2002-05-232-5/+45
| | | | | | | | | | * e-shell-user-creatable-items-handler.c: New member default_menu_item in EShellUserCreatableItemsHandlerPrivate. (ensure_menu_items): Set ->default_menu_item. (get_default_action_for_view): When no default item is specified, just return ->default_menu_item. svn path=/trunk/; revision=16976
* Removed from the build. Glory glory hallelujah.Jeffrey Stedfast2002-05-2310-892/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-22 Jeffrey Stedfast <fejj@ximian.com> * camel-remote-store.c: Removed from the build. Glory glory hallelujah. * camel-disco-store.c: Updated to inherit from CamelStore rather than CamelRemoteStore. * providers/imap/camel-imap-command.c (imap_command_start): Don't use the camel-remote-store shit to send a string. Just use camel_stream_printf for chrissakes. * providers/imap/camel-imap-store.c: Updated to not depend on CamelRemoteStore and to handle STARTTLS. (imap_disconnect_online): Unref the streams. (imap_keepalive): Removed. (camel_imap_store_connected): New function to replace camel_remote_store_connected(). (camel_imap_store_finalize): Unref the streams. (camel_imap_store_recv_line): New function to replace camel_remote_store_recv_line(). (imap_get_capability): Renamed from connect_to_server (connect_to_server): New function to try and connect to the server. (connect_to_server_wrapper): New wrapper function around connect_to_server that takes the ssl modes into consideration. (query_auth_types): Don't bother calling our parent's implementation of query_auth_types() since CamelDiscoStore doesn't have any anyway. (imap_get_name): New method to implement CamelService::get_name svn path=/trunk/; revision=16975
* Only refuse quitting if the result is CANCEL. This way we allow quittingEttore Perazzoli2002-05-233-1/+14
| | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Only refuse quitting if the result is CANCEL. This way we allow quitting if one of the components has crashed or something else otherwise goes wrong. Fixes #25093. * evolution-shell-component-client.c (result_from_async_corba_result): Handle GNOME_Evolution_ShellComponentListener_CANCEL. svn path=/trunk/; revision=16974
* Only clear the text/html signature menus if they are non-NULL.Jeffrey Stedfast2002-05-221-0/+4
| | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_fill_options): Only clear the text/html signature menus if they are non-NULL. svn path=/trunk/; revision=16973
* Only clear the text/html signature menus if they are non-NULL.Jeffrey Stedfast2002-05-222-2/+9
| | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_fill_options): Only clear the text/html signature menus if they are non-NULL. svn path=/trunk/; revision=16972
* Use a new macro, STR_EQUAL, to tell if the 2 values are equal or notJeffrey Stedfast2002-05-222-1/+9
| | | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_save_values): Use a new macro, STR_EQUAL, to tell if the 2 values are equal or not rather than using strcmp since one or both strings could be NULL. svn path=/trunk/; revision=16971
* Don't call some retarded function to simply set an exception.Jeffrey Stedfast2002-05-224-4/+11
| | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (get_folder_offline): Don't call some retarded function to simply set an exception. svn path=/trunk/; revision=16970
* Fix typo in the ChangeLog.Ettore Perazzoli2002-05-221-1/+1
| | | | svn path=/trunk/; revision=16969
* Don't try to invoke e_book_get_uri() on NULL. Fixes #20069.Ettore Perazzoli2002-05-222-3/+8
| | | | | | | * gui/component/addressbook.c (load_uri_cb): Don't try to invoke e_book_get_uri() on NULL. Fixes #20069. svn path=/trunk/; revision=16968
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-223-21/+39
| | | | | | | | 2002-05-21 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16967
* Updated Hungarian translation.Andras Timar2002-05-212-1603/+1939
| | | | | | | | 2002-05-21 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=16966
* Do async_open_folder in an idle callback.Christopher James Lahey2002-05-214-46/+103
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-corba-storage.c (async_open_folder_idle): Do async_open_folder in an idle callback. * e-shell-shared-folder-picker-dialog.c (user_clicked), glade/e-shell-shared-folder-picker-dialog.glade: Added a select names button here. svn path=/trunk/; revision=16964
* Check for path being NULL.Christopher James Lahey2002-05-212-2/+17
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Check for path being NULL. * e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state): Rebuild the tree after loading the state. svn path=/trunk/; revision=16963
* Forgot the changelog entry.Not Zed2002-05-211-0/+6
| | | | | | | | | | 2002-05-21 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): Split the search word up for a body search and add it to the tokeniser to highlight. svn path=/trunk/; revision=16962
* New functions to add additional search strings one at a time. Maybe itNot Zed2002-05-214-661/+896
| | | | | | | | | | | | | | | | 2002-05-18 Not Zed <NotZed@Ximian.com> * e-searching-tokenizer.c (e_searching_tokenizer_add_primary_search_string): (e_searching_tokenizer_add_secondary_search_string): New functions to add additional search strings one at a time. Maybe it should just split the word itself? (all): Basically, entirely rewritten. Now implements the Aho-Corasick multiple pattern search algorithm and handles multiple search strings and only ever has to decode any utf8 character once, etc etc. svn path=/trunk/; revision=16961
* If we get an invalid start char, just ignore it and goto the nextNot Zed2002-05-212-2/+9
| | | | | | | | | 2002-05-18 Not Zed <NotZed@Ximian.com> * camel-search-private.c (camel_utf8_getc): If we get an invalid start char, just ignore it and goto the next character. svn path=/trunk/; revision=16960
* set the parent window insensitive before popping up the dialog andChris Toshok2002-05-213-2/+45
| | | | | | | | | | | | | | | | | | | | 2002-05-20 Chris Toshok <toshok@ximian.com> * evolution-folder-selector-button.c (clicked): set the parent window insensitive before popping up the dialog and sensitive after it's popped down, to give us semi-modal behavior. Also, emit a "popped_up" signal when popping up the dialog, and emit "canceled" when the return folder is NULL (when the user canceled the dialog). (class_init): fix typo (?) - parent type isn't bonobo_object_get_type(), it's PARENT_TYPE. Also, initialize the POPPED_UP and CANCELED signals. * evolution-folder-selector-button.h (struct _EvolutionFolderSelectorButtonClass): add popped_up and canceled signals. svn path=/trunk/; revision=16959
* make sure we map status -> string correctly (add missing strings).Chris Toshok2002-05-214-2/+20
| | | | | | | | | | | | | | | | 2002-05-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): make sure we map status -> string correctly (add missing strings). * backend/ebook/e-book-types.h (EBookStatus): add the missing AUTHENTICATION_REQUIRED status code, to map to the idl response. * backend/ebook/e-book-listener.c (e_book_listener_convert_status): make sure we map all idl status codes to EBookStatus statuses. svn path=/trunk/; revision=16958
* Only get the contents of a mime part if it is marked as "inline". FixesJeffrey Stedfast2002-05-213-2/+9
| | | | | | | | | 2002-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_body): Only get the contents of a mime part if it is marked as "inline". Fixes bug #7527. svn path=/trunk/; revision=16957
* Add a toolbar item for ActionScheduleMeeting.Ettore Perazzoli2002-05-213-1/+20
| | | | | | | * evolution-event-editor.xml: Add a toolbar item for ActionScheduleMeeting. svn path=/trunk/; revision=16956
* Pass the @component_pixmaps in so we give the new "Meeting" button anEttore Perazzoli2002-05-215-4/+25
| | | | | | | | | | * gui/dialogs/event-editor.c (event_editor_init): Pass the @component_pixmaps in so we give the new "Meeting" button an icon. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg @component_pixmaps to pass in custom pixmaps. svn path=/trunk/; revision=16955
* New.Ettore Perazzoli2002-05-213-0/+5
| | | | | | * schedule-meeting-24.png: New. svn path=/trunk/; revision=16954
* Prepend the advanced menu with a separator.Ettore Perazzoli2002-05-213-6/+15
| | | | | | | | | | * e-filter-bar.c (build_items): Prepend the advanced menu with a separator. * e-filter-bar.h: Add E_FILTERBAR_SEPARATOR. Rename the "Advanced Search..." menu item into "Advanced...". svn path=/trunk/; revision=16953
* Strip underscores from the menu item labels.Ettore Perazzoli2002-05-213-6/+43
| | | | | | | * e-search-bar.c (activate_by_subitems): Strip underscores from the menu item labels. svn path=/trunk/; revision=16952
* Updated this. Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-213-21/+116
| | | | | | | | | 2002-05-21 Kjartan Maraas <kmaraas@gnome.org> * POTFILES.in: Updated this. * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16951
* Fixed the "Overdue:" string to not contain any HTML tags.Jeffrey Stedfast2002-05-213-9/+16
| | | | | | | | | 2002-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Fixed the "Overdue:" string to not contain any HTML tags. svn path=/trunk/; revision=16950
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-213-1670/+1801
| | | | | | | | 2002-05-21 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16949
* Skip the folder if it doesn't have the can_sync_offline property set.Ettore Perazzoli2002-05-212-0/+10
| | | | | | | * e-shell-offline-sync.c (sync_folder): Skip the folder if it doesn't have the can_sync_offline property set. svn path=/trunk/; revision=16948
* Set the can_sync_offline property on the EFolder based on theEttore Perazzoli2002-05-2112-421/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947
* Remove exception. (cancelSyncFolder): Remove exception.Ettore Perazzoli2002-05-216-36/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Offline.idl (syncFolder): Remove exception. (cancelSyncFolder): Remove exception. * e-shell-config-offline.c (storage_set_view_has_checkbox_func): New. (e_shell_config_offline_create_control): Pass it as the @has_checkbox_func. * e-folder.c: New member can_sync_offline in EFolderPrivate. (init): Init to FALSE. (e_folder_get_can_sync_offline): New. (e_folder_to_corba): Set canSyncOffline in the returned CORBA folder. (e_folder_set_physical_uri): Protect from when @physical_uri and ->physical_uri are the same thing. (e_folder_set_description): Same here with description. (e_folder_set_type_string): And type. * Evolution-common.idl: New member canSyncOffline in struct Folder. svn path=/trunk/; revision=16946
* Pass NULL for @has_checkbox_func and @has_checkbox_func_data.Ettore Perazzoli2002-05-216-15/+76
| | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config-offline.c (e_shell_config_offline_create_control): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * evolution-storage-set-view.c (impl_StorageSetView__set_showCheckboxes): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * e-storage-set-view.c: New member has_checkbox_func and has_checkbox_func_data in EStorageSetViewPrivate. (init): Init to NULL. (e_storage_set_view_set_show_checkboxes): New args @has_checkbox_func and @func_data. (has_checkbox): Always return FALSE for the toplevels. For the other ones return TRUE unless ->has_checkbox_func is not-NULL; in which case, we use that function to determine whether the folder is actually checkable. * Evolution-ShellComponent.idl (requestQuit): Remove exception. svn path=/trunk/; revision=16945
* ported changes from evolution-1-0 to make it work with reminders on remoteRodrigo Moya2002-05-213-9/+66
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: ported changes from evolution-1-0 to make it work with reminders on remote backends. svn path=/trunk/; revision=16944
* Make the new button work again, add some spacing.Iain Holmes2002-05-213-6/+60
| | | | svn path=/trunk/; revision=16943
* Don't show the headers in the folder table.Ettore Perazzoli2002-05-203-1/+9
| | | | | | | | * e-summary-table.c: Don't show the headers in the folder table. * e-summary-shown.c (e_summary_shown_init): Set the spacing to 3. svn path=/trunk/; revision=16942
* Always unref the composer [even when we are destroying it], otherwise weEttore Perazzoli2002-05-202-1/+7
| | | | | | | | * mail-callbacks.c (composer_sent_cb): Always unref the composer [even when we are destroying it], otherwise we leak it and we get the nasty bug where you can't quit. svn path=/trunk/; revision=16941
* check the string returned by gnome_vfs_uri_to_string, which can be empty.Rodrigo Moya2002-05-202-0/+10
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_open): check the string returned by gnome_vfs_uri_to_string, which can be empty. If so, return an error. svn path=/trunk/; revision=16940
* set the view to the current viewJP Rosevear2002-05-172-0/+7
| | | | | | | | | 2002-05-17 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view to the current view svn path=/trunk/; revision=16939
* Check for a label tag when doing a lookup on the COLOR column.Jeffrey Stedfast2002-05-176-45/+137
| | | | | | | | | | | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Check for a label tag when doing a lookup on the COLOR column. * mail-config.c (mail_config_get_label_color_string): Return the colour in string format. * folder-browser.c (set_msg_label): Replaces colourise_msg and sets the "label" tag rather than the "colour" tag. * mail-preferences.c (mail_preferences_apply): Call mail_config_write() so that the settings get synced to disk. svn path=/trunk/; revision=16938
* New e-sexp callback function to get a user_tag label value.Jeffrey Stedfast2002-05-172-0/+18
| | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (get_label): New e-sexp callback function to get a user_tag label value. svn path=/trunk/; revision=16937
* Added a label definition.Jeffrey Stedfast2002-05-1712-7/+445
| | | | | | | | | | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Added a label definition. * filtertypes.xml: Added a label definition. * filter-label.c: New filter widget for labels. * filter-element.c (filter_element_new_type_name): Add support for the new label widget. * filter-int.c (format_sexp): Fixed a memory leak. svn path=/trunk/; revision=16936
* added folder-info.h to the buildJeffrey Stedfast2002-05-171-0/+1
| | | | svn path=/trunk/; revision=16935
* New, quit handler for the EvolutionShellComponent. (add_creatable_item):Ettore Perazzoli2002-05-177-20/+133
| | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (request_quit): New, quit handler for the EvolutionShellComponent. (add_creatable_item): Set it up. * gui/contact-editor/e-contact-list-editor.c (e_contact_list_editor_request_close_all): New. (e_contact_list_editor_new): Put the contact editor in a static list and gtk_object_weakref() it. (contact_list_editor_destroy_notify): New, GtkDestroyNotify function for the contact editors. * gui/contact-editor/e-contact-editor.c (e_contact_editor_request_close_all): New. (e_contact_editor_new): Put the contact editor in a static list and gtk_object_weakref() it. (contact_editor_destroy_notify): New, GtkDestroyNotify function for the contact editors. svn path=/trunk/; revision=16934
* added support for CAL_CLIENT_OPEN_PERMISSION_DENIED error code.Rodrigo Moya2002-05-177-1/+72
| | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (client_cal_opened_cb): added support for CAL_CLIENT_OPEN_PERMISSION_DENIED error code. (permission_error): new function to display 'Permission Denied' error message when opening the calendar. * gui/e-tasks.c: likewise. * idl/evolution-calendar.idl: added PERMISSION_DENIED to Listener's OpenStatus enumeration. * cal-client/cal-client.c (cal_opened_cb): added code for retrieving 'Permission Denied' errors, and convert it to CalClientOpenStatus values. * pcs/cal-factory.c (open_backend): added code for informing of 'Permission Denied' errors. svn path=/trunk/; revision=16933
* added PermissionDenied exception and make it be raised in open,Rodrigo Moya2002-05-1717-116/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
* Ask e_shell_prepare_for_quit() before destroying the view if it's the lastEttore Perazzoli2002-05-163-3/+27
| | | | | | | | | | * e-shell.c (view_delete_event_cb): Ask e_shell_prepare_for_quit() before destroying the view if it's the last one. * e-shell-view-menu.c (command_close): Synthesize a delete_event on the view instead of directly destroying it. svn path=/trunk/; revision=16931
* New. (create_component): Pass it as the @request_quit_fn toEttore Perazzoli2002-05-167-45/+108
| | | | | | | | | | | | | | | | | | | | | * component-factory.c (request_quit): New. (create_component): Pass it as the @request_quit_fn to evolution_shell_component_new(). * e-msg-composer.c: New local `all_composers'; keeps a list of all the composer windows created. Changed type of `parent_class' to BonoboWindowClass *. (do_exit): Cleaned up a bit. Raise the composer window before showing the message box dialog. (exit_dialog_cb): Removed. (e_msg_composer_request_close_all): New. (create_composer): Add the composer to the all_composers list and weakref it. (msg_composer_destroy_notify): GtkDestroyNotify function for the composer's weakref; remove the composer from the all_composers list. svn path=/trunk/; revision=16930
* New function to parse a NAMESPACE response properly.Jeffrey Stedfast2002-05-165-32/+291
| | | | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_parse_namespace_response): New function to parse a NAMESPACE response properly. (imap_namespaces_destroy): New function to destroy the returned structure from the above function. svn path=/trunk/; revision=16927
* Just use g_basename.Jeffrey Stedfast2002-05-162-5/+6
| | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Just use g_basename. svn path=/trunk/; revision=16926
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-1619-25/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* Only reconnect if we are already connected, if we are in a disconnectedJeffrey Stedfast2002-05-162-1/+6
| | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * camel-service.c (service_setv): Only reconnect if we are already connected, if we are in a disconnected state then no need to reconnect. svn path=/trunk/; revision=16924
* If the part_spec is an empty string for a leaft part, use "1" since weJeffrey Stedfast2002-05-162-3/+7
| | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): If the part_spec is an empty string for a leaft part, use "1" since we don't actually want to get the raw message headers too. svn path=/trunk/; revision=16923
* Add some comments to document the interface.Ettore Perazzoli2002-05-161-13/+45
| | | | svn path=/trunk/; revision=16922
* Fix quoting for AC_MSG_*JP Rosevear2002-05-162-8/+12
| | | | | | | | 2002-05-15 JP Rosevear <jpr@ximian.com> * gnome-pilot.m4: Fix quoting for AC_MSG_* svn path=/trunk/; revision=16802
* Remove debugging spewIain Holmes2002-05-152-1/+5
| | | | svn path=/trunk/; revision=16801
* Committing Peter Williams patch so listeners are notified about new storages.Iain Holmes2002-05-152-1/+18
| | | | svn path=/trunk/; revision=16800
* Implement prep_offline for an individual folder. (set_offline_do): OnlyNot Zed2002-05-154-55/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-15 Not Zed <NotZed@Ximian.com> * mail-ops.c (prep_offline_do): (prep_offline_done): (prep_offline_free): (mail_prep_offline): Implement prep_offline for an individual folder. (set_offline_do): Only call disco_store_set_status or disconnect for the store, dont do any offline prep stuff. * mail-offline-handler.c: Applied patch from Ettore to hook in extra offline interfaces. (impl_destroy): Dont free listener here anymore, its removed, but free sync table. (mail_offline_handler_init): Same for setup. (impl_syncFolder): Implement. (sync_done): handles finalising synchronisation of 1 folder. (sync_status): progress reporting, camel side. (sync_timeout): progress reporting, gmainloop side. (impl_cancelSyncFolder): Implement. (impl_goOffline, storage_go_offline, went_offline): Dont copy the listener to our struct - its an argument, not a member, so give each thread its own copy. svn path=/trunk/; revision=16799
* updated Vietnamese filePablo Saratxaga2002-05-151-317/+333
| | | | svn path=/trunk/; revision=16798
* removed. (imap_store_refresh_folders): Copy the folders first, thenNot Zed2002-05-153-10/+47
| | | | | | | | | | | | | | | | | | | 2002-05-15 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (refresh_folder_info): removed. (imap_store_refresh_folders): Copy the folders first, then refresh them, outside of the cache_lock, which could cause deadlocks because of a workaround for crappo exchange. (imap_disconnect_online): Dont pass an exception to LOGOUT command. The required response 'BYE' always sets an exception when we call LOGOUT. This also interfered with a lot of other processing causing partial failures and messed up offline/online state. * camel-disco-folder.c (disco_prepare_for_offline): Do progress reporting. svn path=/trunk/; revision=16797
* Instead of g_assert()ing that the msg_info is not NULL, if it is NULL justJeffrey Stedfast2002-05-152-1/+9
| | | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Instead of g_assert()ing that the msg_info is not NULL, if it is NULL just return NULL. This fixes a crash when ETree requests the value at a root node (I don't understand why it needs to do that??). svn path=/trunk/; revision=16796
* fixed a simple logic mistakeJeffrey Stedfast2002-05-151-1/+4
| | | | svn path=/trunk/; revision=16795
* added a missing header fileJeffrey Stedfast2002-05-152-0/+46
| | | | svn path=/trunk/; revision=16794
* Fixes bug #24136.Jeffrey Stedfast2002-05-155-37/+137
| | | | | | | | | | | | | | | | | | | | 2002-05-14 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #24136. * providers/imap/camel-imap-folder.c (content_info_get_part_spec): New function to take a CamelMessageContentInfo and generate a part-specification string. (get_content): Stop passing around part_spec strings and use content_info_get_part_spec instead. * camel-folder-summary.c (camel_content_info_dump): Made this into a public debugging function. * providers/imap/camel-imap-utils.c (imap_parse_body): Make sure to set the parent of any message/rfc822 subparts. svn path=/trunk/; revision=16793
* Call e_shell_offline_sync_all_folders() if no connection is reported here.Ettore Perazzoli2002-05-156-14/+527
| | | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Call e_shell_offline_sync_all_folders() if no connection is reported here. (dialog_handle_ok): Sync all the folders here through e_shell_offline_sync_all_folders(). * e-shell-offline-sync.c: New. * e-shell-offline-sync.h: New. * Evolution-Offline.idl (syncFolder): Make oneway. (cancelSyncFolder): Likewise. (SyncFolderProgressListener::reportSuccess): New method. svn path=/trunk/; revision=16792
* Added check-empty.xpm, check-filled.xpm, and check-missing.xpm.Christopher James Lahey2002-05-157-31/+133
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added check-empty.xpm, check-filled.xpm, and check-missing.xpm. * check-empty.xpm, check-filled.xpm, check-missing.xpm: New xpms. Copied from gal. check-missing.xpm is simply a transparent xpm of the correct size. * e-storage-set-view.c (etree_value_at): When getting, check if the path doesn't have a check box and return 2 in that case. (etree_set_value_at): Check if the path doesn't have a check box and don't change it in that case. Also, just invert the value here instead of paying attention to the set value passed in. (class_init): Initialize the checks GdkPixbufs. (e_storage_set_view_construct): Create the "optional_checkbox" cell. * e-storage-set-view.etspec: Changed the cell for the checkbox column to "optional_checkbox". svn path=/trunk/; revision=16791
* Previous fix reverted.Jeffrey Stedfast2002-05-152-8/+1
| | | | | | | | | 2002-05-13 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Previous fix reverted. svn path=/trunk/; revision=16790
* Previous fix reverted. (get_content): Handle the case where a multipart'sJeffrey Stedfast2002-05-153-6/+17
| | | | | | | | | | | 2002-05-13 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Previous fix reverted. (get_content): Handle the case where a multipart's parent is a message/rfc822 part. Fixes bug #24136. svn path=/trunk/; revision=16789
* Added #include "folder-info.h".Christopher James Lahey2002-05-1511-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * component-factory.c: Added #include "folder-info.h". * folder-browser-window.c (folder_browser_window_new), mail-account-editor.c (apply_changes), mail-account-gui.c (mail_account_gui_save), message-tag-editor.c: Removed some unused variables. * folder-info.c: Added #include "folder-info.h". Removed static declaration of evolution_folder_info_get_type. * folder-info.c (destroy), mail-callbacks.c (confirm_goto_next_folder, find_current_folder, find_next_folder_r, find_next_folder, do_evil_kludgy_goto_next_folder_hack), mail-composer-prefs.c (sig_name_changed): Commented out these unused functions. * mail-config.c (add_new_storage): Removed this unused function. * mail-local.c (mlf_init): Fix the declaration of this function to match the required signature. svn path=/trunk/; revision=16788
* Use the uri stored in the ESummaryMailFolder object here.Christopher James Lahey2002-05-152-34/+21
| | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * e-summary-mail.c (folder_gen_html): Use the uri stored in the ESummaryMailFolder object here. (e_summary_mail_generate_html): Only show email folders if they have > 0 unread messages. (new_folder_cb): Save the evolutionUri here. svn path=/trunk/; revision=16787
* set the working hours for the meeting time selectorJP Rosevear2002-05-152-0/+11
| | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_construct): set the working hours for the meeting time selector svn path=/trunk/; revision=16786
* make the range datetime member a struct not a pointerJP Rosevear2002-05-155-9/+22
| | | | | | | | | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.h: make the range datetime member a struct not a pointer * cal-util/cal-component.c (cal_component_get_recurid): take a pointer to a range (cal_component_set_recurid): ditto * gui/itip-utils.c (comp_minimal): get/set the recurrence id properly svn path=/trunk/; revision=16785
* Document "evolution default:mail"Dan Winship2002-05-152-2/+10
| | | | | | * data/evolution.1: Document "evolution default:mail" svn path=/trunk/; revision=16784
* Compute the evolutionUri here and pass it in.Christopher James Lahey2002-05-152-1/+38
| | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * evolution-storage.c (evolution_storage_new_folder): Compute the evolutionUri here and pass it in. svn path=/trunk/; revision=16782
* Made it so that if the current_id doesn't match any of the given ids, itChristopher James Lahey2002-05-142-4/+20
| | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Made it so that if the current_id doesn't match any of the given ids, it treats it the same as a NULL id. (gal_view_menus_apply): Added a check for gvm->priv == NULL here. (gal_view_menus_apply, collection_changed, instance_changed): Removed calls to set_radio after build_stuff, since the last thing build_stuff does is calls set_radio. svn path=/trunk/; revision=16781
* Add a missing CORBA_free in the case in which the typecode of theEttore Perazzoli2002-05-142-0/+9
| | | | | | | | | | * e-shell-config-offline.c (init_storage_set_view_status_from_config): Add a missing CORBA_free in the case in which the typecode of the /OfflineFolders/Paths key in the ConfigDatabase doesn't match the expected type. svn path=/trunk/; revision=16780
* Pass self to e_shell_offline_handler_new() instead of the componentEttore Perazzoli2002-05-144-32/+41
| | | | | | | | | | | | | | * e-shell.c (e_shell_go_offline): Pass self to e_shell_offline_handler_new() instead of the component registry. * e-shell-offline-handler.c: Replace member `component_registry' in EShellOfflineHandlerPrivate with a `shell' member. Updated all the code to retrieve the component registry from the shell instead of directly. (e_shell_offline_handler_construct): Get a @shell instead of a @component_registry. svn path=/trunk/; revision=16779
* Changed this to just walk the hash table to get the list of checkedChristopher James Lahey2002-05-142-20/+18
| | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list): Changed this to just walk the hash table to get the list of checked checkboxes instead of walking the tree. (Makes it so that checked paths will remain checked, even if they're not shown in the tree when the list is gotten.) svn path=/trunk/; revision=16778
* Handle the e-shell-config-offline and e-shell-config-default-foldersEttore Perazzoli2002-05-149-193/+533
| | | | | | | | | | | | | | | | | * e-shell-config.c: Handle the e-shell-config-offline and e-shell-config-default-folders pages. * e-shell-config-offline.h: New. * e-shell-config-offline.c: New. * e-shell-config-default-folders.h: New. * e-shell-config-default-folders.c: New. Moved default folder page configuration in from e-shell-config.c. * GNOME_Evolution_Shell.oaf.in: Add GNOME_Evolution_Shell_Config_OfflineFolders_Control. svn path=/trunk/; revision=16777
* Added a signal when the value of the checkboxes changes.Christopher James Lahey2002-05-143-0/+17
| | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_set_value_at): Added a signal when the value of the checkboxes changes. svn path=/trunk/; revision=16776
* Removed an incorrect comment here.Christopher James Lahey2002-05-142-2/+5
| | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * backend/idl/addressbook.idl: Removed an incorrect comment here. svn path=/trunk/; revision=16775
* Added search="string" where appropriate.Christopher James Lahey2002-05-142-3/+7
| | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * message-list.etspec: Added search="string" where appropriate. svn path=/trunk/; revision=16773
* Replaced q binding with ` for hiding/showing the message view pane.Christopher James Lahey2002-05-143-11/+34
| | | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * evolution-mail-global.xml: Replaced q binding with ` for hiding/showing the message view pane. * evolution-mail-message.xml: Replace n/p with ,/. for doing previous/next unread messages. Removed a few other bindings that interfere with alphanumeric characters. svn path=/trunk/; revision=16772
* Overload the setv/getv CamelObject virtual methods. (imap_setv):Jeffrey Stedfast2002-05-143-2/+133
| | | | | | | | | | | 2002-05-13 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (camel_imap_store_class_init): Overload the setv/getv CamelObject virtual methods. (imap_setv): Implemented. (imap_getv): Implemented. svn path=/trunk/; revision=16771
* Updated French translation.Christophe Merlet2002-05-142-1682/+1900
| | | | svn path=/trunk/; revision=16770
* Changed a lot of direct uses in this file of node->is_expanded to call theChristopher James Lahey2002-05-141-70/+76
| | | | | | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c: Changed a lot of direct uses in this file of node->is_expanded to call the function e_tree_table_adapter_node_is_expanded instead. (e_tree_table_adapter_node_is_expanded): Improved this function to know if the root node is visible and always return it as being expanded if it's not. It also doesn't bother creating nodes if they don't exist yet, and instead figures out whether they would be expanded if they were to be created and returns that value instead. svn path=/trunk/; revision=16768
* Enable the dropdown widgets even if the contact is not editable so thatChristopher James Lahey2002-05-142-1/+8
| | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * gui/contact-editor/e-contact-editor.c (enable_writable_fields): Enable the dropdown widgets even if the contact is not editable so that you can view any email address, phone number, or postal address on read only contacts. svn path=/trunk/; revision=16767
* Update for camel_folder_append_message / camel_folder_transfer_messages_toDan Winship2002-05-149-35/+58
| | | | | | | | | | | | | | | | * (various places): Update for camel_folder_append_message / camel_folder_transfer_messages_to API change. * mail-ops.c (mail_append_mail): Pass the appended_uid to the callback. * mail-callbacks.c (composer_save_draft_cb, save_draft_done, do_edit_messages): Take advantage of the append_message change to keep track of the UID of the saved draft so that we can delete the old copy of the draft each time we save a new one. Remove the FIXME suggesting we should do that, since we're doing it now. :) svn path=/trunk/; revision=16766
* Add a "char **appended_uid" argument, for the caller to optionally pass inDan Winship2002-05-1415-95/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-folder.c (camel_folder_append_message): Add a "char **appended_uid" argument, for the caller to optionally pass in a variable to receive the UID of the appended message (if the provider knows it). (camel_folder_transfer_messages_to): Likewise, add "GPtrArray **transferred_uids" (transfer_messages_to): Update default implementation to handle transferred_uids. * camel-disco-folder.c (disco_append_message, disco_transfer_messages_to): Update for API changes. * camel-disco-diary.c (camel_disco_diary_replay): Update the diary's temporary uid->real uid map when replaying appends and transfers. * providers/imap/camel-imap-folder.c (imap_append_offline, imap_append_online, imap_transfer_offline): Pass back the new UIDs, when requested and available. (imap_append_resyncing): Pass back the new UIDs when requested and available. Remove the diary uidmap managing code since CamelDiscoDiary can handle that itself now. (imap_transfer_online, imap_transfer_resyncing): Update for new APIs, but don't actually pass back the new UIDs yet. (It's tricky since the COPYUID response may not be in the same order as the input uids.) * providers/local/camel-maildir-folder.c (maildir_append_message): Pass back the new UID if requested. * providers/local/camel-mbox-folder.c (mbox_append_message): Likewise. * providers/local/camel-mh-folder.c (mh_append_message): Likewise. * providers/local/camel-spool-folder.c (spool_append_message): Likewise. * camel-digest-folder.c (digest_append_message, digest_transfer_messages_to): Update for API changes. * camel-filter-driver.c (camel_filter_driver_filter_message, do_copy, do_move): Update for API changes. * camel-vee-folder.c (vee_append_message, vee_transfer_messages_to): Likewise. * camel-vtrash-folder.c (vtrash_append_message, vtrash_transfer_messages_to): Likewise. svn path=/trunk/; revision=16765
* Since the fix for #3357 uses 'order=0' to indicate tree structure nodes,Not Zed2002-05-132-2/+11
| | | | | | | | | | | | | 2002-05-13 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (camel_folder_thread_messages_new_summary): (camel_folder_thread_messages_new): Since the fix for #3357 uses 'order=0' to indicate tree structure nodes, make sure we dont actually set order=0 for valid messages, otherwise we silently lose duplicates of the first message (i==0). Fixes #19920. svn path=/trunk/; revision=16764
* Fetch the BODYSTRUCTURE rather than BODY since BODY seems to be lackingJeffrey Stedfast2002-05-112-1/+5
| | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Fetch the BODYSTRUCTURE rather than BODY since BODY seems to be lacking some of the data we need. This fixes bug #24131. svn path=/trunk/; revision=16762
* Might help if we called camel_transport_class_init.Jeffrey Stedfast2002-05-112-1/+6
| | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * camel-transport.c (camel_transport_get_type): Might help if we called camel_transport_class_init. svn path=/trunk/; revision=16761
* If grabbed_item is NULL, cancel the timeout.Christopher James Lahey2002-05-111-0/+8
| | | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (grab_cancelled_check): If grabbed_item is NULL, cancel the timeout. svn path=/trunk/; revision=16760
* Update for the new message-browser api.Jeffrey Stedfast2002-05-114-278/+45
| | | | | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Update for the new message-browser api. * message-browser.c (message_browser_new): A brand new implementation that just shows the message, none of that next/prev crap that always caused problems anyway. svn path=/trunk/; revision=16759
* updated Vietnamese filePablo Saratxaga2002-05-112-13223/+11453
| | | | svn path=/trunk/; revision=16758
* Added SimpleCard interface.Christopher James Lahey2002-05-116-12/+455
| | | | | | | | | | | | | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: Added SimpleCard interface. * gui/component/select-names/Makefile.am: Added e-simple-card-bonobo.c and e-simple-card-bonobo.h. * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Added SIMPLE_CARD_LIST arg. * gui/component/select-names/e-simple-card-bonobo.c, gui/component/select-names/e-simple-card-bonobo.h: New class to represent an ECardSimple across Bonobo. svn path=/trunk/; revision=16757
* Don't add any shortcuts here. (mail_config_remove_account): And don'tJeffrey Stedfast2002-05-114-194/+26
| | | | | | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_add_account): Don't add any shortcuts here. (mail_config_remove_account): And don't remove them here. This code has never worked properly. * mail-ops.c (save_part_save): Use the exception enum names rather than '1' since it makes the code clearer. svn path=/trunk/; revision=16756
* Add members `parent' and `shell' in DiscoveryData.Ettore Perazzoli2002-05-112-16/+89
| | | | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c: Add members `parent' and `shell' in DiscoveryData. (shell_view_destroy_callback): Callback for destruction of ->parent; set ->parent to NULL. (shell_destroy_callback): Callback for the desctruction of the shell; clean up everything. (discover_folder): Initialize ->parent and shell, and add the corresponding destruction handlers. (shared_folder_discovery_listener_callback): Open the discovered folder. (setup_progress_dialog): Renamed from `show_progress_dialog'. Set up a timeout for displaying the dialog instead of displaying it right away. (progress_dialog_show_timeout_callback): Callback for showing the dialog after the callback. svn path=/trunk/; revision=16754
* Add the Addressbook-SelectNames interface stuff.Ettore Perazzoli2002-05-111-0/+4
| | | | svn path=/trunk/; revision=16752
* Updated for FolderResult instead of DiscoverSharedFolderResult.Ettore Perazzoli2002-05-114-17/+15
| | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Updated for FolderResult instead of DiscoverSharedFolderResult. * Evolution-Storage.idl: Remove struct DiscoverSharedFolderResult; we want to just use FolderResult for asyncDiscoverSharedFolder. svn path=/trunk/; revision=16751
* Include string.h here.Christopher James Lahey2002-05-111-0/+2
| | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * e-table-search.c: Include string.h here. svn path=/trunk/; revision=16749
* New. New.Ettore Perazzoli2002-05-112-0/+505
| | | | | | | * e-shell-shared-folder-picker-dialog.c: New. * e-shell-shared-folder-picker-dialog.h: New. svn path=/trunk/; revision=16748
* Add FileOpenOtherUsersFolder.Ettore Perazzoli2002-05-112-0/+9
| | | | | | * evolution.xml: Add FileOpenOtherUsersFolder. svn path=/trunk/; revision=16747
* Added some tests for the custom storage.Ettore Perazzoli2002-05-1110-49/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
* Simplify. Use transfer_messages_to instead of picking between copy andDan Winship2002-05-113-35/+12
| | | | | | | | | | | | * 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
* Replace copy_messages_to and move_messages_to with a single function thatDan Winship2002-05-1112-273/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-folder.c (camel_folder_transfer_messages_to): Replace copy_messages_to and move_messages_to with a single function that just takes a "delete_originals" flag. Also, use the vtrash implementation if *either* folder is a vtrash. (transfer_messages_to): Make this use camel_operation_progress (previously move_messages_to did but copy_messages_to didn't), and freeze/thaw the folder(s) if doing multiple messages. * camel-vtrash-folder.c (vtrash_transfer_messages_to): Update for move/copy merge. Move the "move messages into vtrash" code here from mail-ops.c. Now all of the vtrash move/copy special casing is in camel instead of half of it being here and half in mail/. (This should also make it so that "Move to Trash" will work in filter rules.) * camel-vee-folder.c (vee_transfer_messages_to): Make this just return an exception, since it will only be called when trying to move/copy messages from one vfolder to another. (vee_append_message): Add this too so we get a nicer error message than the default "unimplemented" one in camel-folder.c. * camel-digest-folder.c: Replace copy_messages_to and move_messages_to with transfer_messages_to. * camel-disco-folder.c: Likewise * camel-disco-diary.c (camel_disco_diary_log, camel_disco_diary_replay): replace MOVE/COPY with TRANSFER. * providers/imap/camel-imap-folder.c (imap_transfer_offline, imap_transfer_online, imap_transfer_resyncing): Update for changes. (This ends up being a bit more complicated than it was before for now, but later disconnected operation changes should resimplify it.) * camel-filter-driver.c (camel_filter_driver_filter_message, do_copy, do_move): Use transfer_messages_to instead of copy. svn path=/trunk/; revision=16744
* New filter function to pipe a message to another program. (run_command):Jeffrey Stedfast2002-05-102-13/+7
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (shell_exec): New filter function to pipe a message to another program. (run_command): Fixed some bugs to make this work. svn path=/trunk/; revision=16742
* Set the path in the entry widget.Jeffrey Stedfast2002-05-102-0/+4
| | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (get_widget): Set the path in the entry widget. svn path=/trunk/; revision=16741
* New filter function to pipe a message to another program.Jeffrey Stedfast2002-05-102-0/+135
| | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (shell_exec): New filter function to pipe a message to another program. svn path=/trunk/; revision=16740
* Add filter-file.[c,h] to the build.Jeffrey Stedfast2002-05-106-20/+66
| | | | | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Add filter-file.[c,h] to the build. * filtertypes.xml: Add a "Command" filter rule. * filter-element.c (filter_element_new_type_name): Add support for type "command" which uses the new FilterFile widget. svn path=/trunk/; revision=16739
* Switch from gnome_canvas_item_grab to e_canvas_item_grab.Christopher James Lahey2002-05-105-31/+149
| | | | | | | | | | | | | | | | | | | 2002-05-09 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to e_canvas_item_grab. * gal/widgets/e-canvas.c, gal/widgets/e-canvas.h (e_canvas_item_grab, e_canvas_item_ungrab): Added these functions. From gal/e-table/ChangeLog: 2002-05-09 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Switched from gnome_canvas_item_grab to e_canvas_item_grab. svn path=/trunk/; revision=16738
* Make sure that even if the new source url is NULL, that we preserve theJeffrey Stedfast2002-05-102-3/+10
| | | | | | | | | | 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
* Bump file version to 2. (This will make older versions of gal ignore theDan Winship2002-05-101-4/+12
| | | | | | | | | | | | | | * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): Bump file version to 2. (This will make older versions of gal ignore the file, fixing the problem where going from evo HEAD to evo 1.0.x makes the folder tree disappear.) Store the default expanded state in the file now to prevent this from happening again in the future. (e_tree_table_adapter_load_expanded_state): Deal with version 2. If the model's default expansion state doesn't match the saved state, ignore the save file. svn path=/trunk/; revision=16736
* New filter widgets for choosing files and/or command-line's (?). Not yetJeffrey Stedfast2002-05-103-0/+375
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.[c,h]: New filter widgets for choosing files and/or command-line's (?). Not yet hooked up or anything, just for future use. svn path=/trunk/; revision=16735
* Added "first_email" property.Christopher James Lahey2002-05-102-0/+26
| | | | | | | | | 2002-05-09 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Added "first_email" property. svn path=/trunk/; revision=16734
* Pass %FALSE as @has_shared_folders to evolution_storage_new().Ettore Perazzoli2002-05-109-22/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Rename NotPrepared to notPrepared and NotSyncing to notSyncing.Ettore Perazzoli2002-05-096-11/+29
| | | | | | | | | | | | | | | | | | * Evolution-Offline.idl: Rename NotPrepared to notPrepared and NotSyncing to notSyncing. * evolution-storage.c (impl_Storage__get_folder_list): Renamed from impl_Storage_get_folder_list(). * Evolution-Storage.idl: Don't typedef FolderList here. Replace `getFolderList' method with a readonly attribute. * gui/e-itip-control.c (get_servers): use GNOME_Evolution_Storage__get_folderList instead of GNOME_Evolution_Storage_getFolderList since I have now changed that to be an attribute instead of a method. svn path=/trunk/; revision=16732
* dist Spell.idlJP Rosevear2002-05-092-0/+5
| | | | | | | | 2002-05-09 JP Rosevear <jpr@ximian.com> * Makefile.am: dist Spell.idl svn path=/trunk/; revision=16731
* Instead of testing for SERVICE_CONNECTED, we need to also handleNot Zed2002-05-093-2/+12
| | | | | | | | | | | | | 2002-05-09 Not Zed <NotZed@Ximian.com> * camel-service.c (camel_service_disconnect): Instead of testing for SERVICE_CONNECTED, we need to also handle SERVICE_CONNECTING too, as it will often have setup some details before it failed. Make it !DISCONNECTED (and !DISCONNECTING for recursive calls, which happen). Fixes #23782, and maybe also #21604 and many other random crashes. svn path=/trunk/; revision=16730
* Implemented. (digest_getv): Implemented.Jeffrey Stedfast2002-05-0912-23/+364
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-08 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-store.c (digest_setv): Implemented. (digest_getv): Implemented. * camel-disco-store.c (disco_setv): Implemented. (disco_getv): Implemented. * camel-remote-store.c (remote_store_setv): Implemented. (remote_store_getv): Implemented. * camel-transport.c (camel_transport_class_init): Implemented. (transport_setv): Implemented. (transport_getv): Implemented. * camel-store.c (store_setv): Implemented. (store_getv): Implemented. * camel-service.c (service_setv): Implemented. (service_getv): Implemented. svn path=/trunk/; revision=16729
* implemented (c'n'p-ed and updated) spell checking settingsRadek Doulik2002-05-098-38/+378
| | | | | | | | | 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
* Revert zh_CN and zh_TW changes because gettext sucksJP Rosevear2002-05-093-27321/+9244
| | | | | | | | 2002-05-08 JP Rosevear <jpr@ximian.com> * Revert zh_CN and zh_TW changes because gettext sucks svn path=/trunk/; revision=16727
* Add an explanation/warning about why we want Berkeley DB 3.1.17 andEttore Perazzoli2002-05-092-0/+44
| | | | | | | * README: Add an explanation/warning about why we want Berkeley DB 3.1.17 and nothing else. svn path=/trunk/; revision=16726
* Pretty pixmap buttonsIain Holmes2002-05-092-2/+31
| | | | svn path=/trunk/; revision=16725
* Make the mail folders work okay.Iain Holmes2002-05-082-13/+95
| | | | svn path=/trunk/; revision=16724
* Change so there's no race conditions between the folder info and the session ↵Iain Holmes2002-05-083-44/+119
| | | | | | stuff svn path=/trunk/; revision=16723
* link against the libtool version of libversitJP Rosevear2002-05-082-1/+6
| | | | | | | | | 2002-05-08 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: link against the libtool version of libversit svn path=/trunk/; revision=16722
* Update the po files to cut down on dist timeJP Rosevear2002-05-0839-152937/+376347
| | | | | | | | 02-05-08 JP Rosevear <jpr@ximian.com> * Update the po files to cut down on dist time svn path=/trunk/; revision=16721
* Changed for rule_context_rename_uri api changes. (mail_filter_delete_uri):Not Zed2002-05-082-2/+39
| | | | | | | | | | | | 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
* camel_pop3_engine_iterate doesn't return the state, it returns -1 on fail,Jeffrey Stedfast2002-05-082-7/+15
| | | | | | | | | | | | 2002-05-08 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): camel_pop3_engine_iterate doesn't return the state, it returns -1 on fail, 0 when finished processing request or >0 if more ops are in the queue, so don't check status against CAMEL_POP3_STATE_OK, instead check pcp->state against that. svn path=/trunk/; revision=16719
* Changed to return a GList *, a list of the names of the rules affected byNot Zed2002-05-085-42/+126
| | | | | | | | | | | | | | | | | 2002-05-08 Not Zed <NotZed@Ximian.com> * rule-context.c (rule_context_delete_uri): Changed to return a GList *, a list of the names of the rules affected by the delete, fixed all implementors. (rule_context_rename_uri): Similarly for delete_uri, for api consistency. (rule_context_free_uri_list): Util function to free the return from above. * filter-context.c (filter_delete_uri): Actually implement it, fix for #18826, and some related bugs. svn path=/trunk/; revision=16718
* font.png: Add for the font config prefs.Larry Ewing2002-05-081-0/+1
| | | | | | | | | 2002-04-25 Larry Ewing <lewing@ximian.com> * Makefile.am (images_DATA): font.png: Add for the font config prefs. svn path=/trunk/; revision=16716
* propose spell checking settings UIRadek Doulik2002-05-081-101/+98
| | | | svn path=/trunk/; revision=16715
* oops, add the NULL back at the end of possible_types.Chris Toshok2002-05-082-1/+7
| | | | | | | | | | 2002-05-07 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_config_control_new): oops, add the NULL back at the end of possible_types. svn path=/trunk/; revision=16714
* New interface SyncFolderProgressListener. (Offline::cancelSyncFolder):Ettore Perazzoli2002-05-082-2/+32
| | | | | | | | * Evolution-Offline.idl: New interface SyncFolderProgressListener. (Offline::cancelSyncFolder): New. (Offline::syncFolder): New. svn path=/trunk/; revision=16713
* s/class/klass for arguments so that c++ developers don't complain later.Jeffrey Stedfast2002-05-082-16/+22
| | | | | | | | | 2002-05-07 Jeffrey Stedfast <fejj@ximian.com> * camel-object.h: s/class/klass for arguments so that c++ developers don't complain later. svn path=/trunk/; revision=16712
* bleah, need to pass the GtkWindow here so we can pop up the a modalChris Toshok2002-05-082-22/+48
| | | | | | | | | | | | | | | 2002-05-07 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_ldap_init): bleah, need to pass the GtkWindow here so we can pop up the a modal parented dialog (gtk modal dialogs suck?). (addressbook_ldap_auth): same. (addressbook_root_dse_query): same. (do_ldap_root_dse_query): same. (addressbook_config_control_new): add "ldap-contacts" to the list of possible types. svn path=/trunk/; revision=16711
* fixed the glade file so that the management page would show up in the ↵Jeffrey Stedfast2002-05-082-4/+4
| | | | | | account druid. svn path=/trunk/; revision=16710
* start a server a uri (start_default_server): start a default serverJP Rosevear2002-05-087-42/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (start_calendar_server): start a server a uri (start_default_server): start a default server (get_servers): get all clients for all folders of the given type(s) (find_server): locate a server for a particular uid (init): get_servers, listen for object_requested signal (destroy): destroy all clients (write_html): put options is there own cell (get_publish_options): place selector in if param is true (get_request_options): ditto (get_real_item): only try and look up the item if we know its in the server (show_current_event): find the server (if any) for the current comp (show_current_todo): ditto (update_attendee_status): if there is no server for the comp, it doesn't exist (remove_item): ditto (button_selected_cb): get a client for the selected folder (object_requested_cb): draw the folder button in * gui/calendar-config.h: new protos * gui/calendar-config.c (calendar_config_default_tasks_folder): get default tasks uri (calendar_config_default_calendar_folder): get default calendar uri * cal-client/cal-client.c (get_default_uri): use cal_util_expand_uri * cal-util/cal-util.h: new proto * cal-util/cal-util.c (cal_util_expand_uri): tack on the file name if its a file uri svn path=/trunk/; revision=16709
* add every folder to the sequence except the root folderJP Rosevear2002-05-087-2/+165
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * evolution-storage.c (get_folder_list_foreach): add every folder to the sequence except the root folder (impl_Storage_get_folder_list): implement corba method (evolution_storage_get_epv): set new method implementation * evolution-folder-selector-button.h: fix signal prototype * e-folder-tree.h: new proto * e-folder-tree.c (e_folder_tree_get_count): count nodes (count_nodes): bump count foreach path * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): implement idl method (corba_class_init): set epv method * Evolution-Storage.idl: add getStorageList and getFolderList methods svn path=/trunk/; revision=16708
* Use the new evolution_shell_client_create_storage_set_view() call.Ettore Perazzoli2002-05-084-24/+76
| | | | | | | | | | * evolution-test-component.c (create_new_folder_selector): Use the new evolution_shell_client_create_storage_set_view() call. * evolution-shell-client.c (evolution_shell_client_create_storage_set_view): New. svn path=/trunk/; revision=16707
* Minor fix on spanish translationHector Garcia2002-05-081-1/+1
| | | | svn path=/trunk/; revision=16706
* Fix a crash in a g_warning.Dan Winship2002-05-082-4/+8
| | | | | | | * camel-object.c (camel_object_class_cast): Fix a crash in a g_warning. svn path=/trunk/; revision=16705
* Put the EStorageSetView in an EScrollFrame.Ettore Perazzoli2002-05-0811-59/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Put the EStorageSetView in an EScrollFrame. * e-shell.c (impl_Shell_createStorageSetView): CORBA_Object_duplicate the object before returning. * evolution-test-component.c (create_new_folder_selector): New function to create a simple test environment for the new checkbox-enabled StorageSetView. (register_component): Add user-creatable type FolderSelector. (user_create_new_item_callback): Handle FolderSelector. (dialog_clicked_callback): Print out the checked items in the folder selector. (main): Print out a message before going into bonobo_main(). * evolution-storage-set-view.c (impl_StorageSetView__get_showFolders): Renamed from impl_StorageSetView__get_show_folders. (impl_StorageSetView__set_showFolders): Renamed from impl_StorageSetView__set_show_folders. (impl_StorageSetView__set_showCheckboxes): New, write the showCheckboxes CORBA attribute. (impl_StorageSetView__get_showCheckboxes): New, read the showCheckboxes CORBA attribute. (impl_StorageSetView__get_checkedFolders): New, read the checkedFolders CORBA attribute. (corba_class_init): Install the new CORBA methods methods. * e-storage-set-view.c (essv_add_to_list): strdup() the path. (e_storage_set_view_get_storage_set): New. * e-folder.c (e_folder_to_corba): New. * Evolution-StorageSetView.idl: Add showCheckboxes and checkedFolders attributes. * Evolution-common.idl: Add typedef for FolderList. svn path=/trunk/; revision=16704
* s/ldap_config/addressbook_config/ so this compiles again.Dan Winship2002-05-072-1/+6
| | | | | | | * gui/component/addressbook-storage.c (create_ldap_folder): s/ldap_config/addressbook_config/ so this compiles again. svn path=/trunk/; revision=16703
* New.Ettore Perazzoli2002-05-073-1/+12
| | | | | | * e-corba-utils.c (e_safe_corba_string_dup): New. svn path=/trunk/; revision=16702
* Check for LOGIN xxxx as well if debug is on, so we dont print passwords toNot Zed2002-05-0749-850/+1119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 Not Zed <NotZed@Ximian.com> * camel-remote-store.c (remote_send_string): Check for LOGIN xxxx as well if debug is on, so we dont print passwords to evolution logs. * providers/imap/camel-imap-utils.c (imap_is_atom_char): This was really broken. 1. isprint() is locale dependent, and 2. it looked up an 8 bit value in a 7 bit table without truncating it. I've removed the isprint() stuff and just put it directly into the special table, which i've expanded to the right size too. * providers/imap/*: Applied patch from Preston Elder <prez@magick.tm> to make camel only use literals if it needs to for simple strings. Changed slightly to use imap_is_atom() and more consistent formatting. providers/imap/camel-imap-utils.c (imap_is_atom): Chagned from imap_needs_quoting(). ** Merged in camel-object2 branch. Simpler camelobject implementation + object args interface. * camel.c (camel_init): Call camel_object_get_type() to make sure camel_object_type is initialised. * camel-object.h (CAMEL_OBJECT_TYPE): Changed to return global camel_object_type pointer, not call camel_object_get_type. svn path=/trunk/; revision=16701
* If the pop3 command status is -1, then we probably have a TCP error (?) soJeffrey Stedfast2002-05-073-15/+29
| | | | | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): If the pop3 command status is -1, then we probably have a TCP error (?) so set a SYSTEM exception so our caller can distinguish between a "bad password" and a "tcp error". (pop3_connect): Only uncache the password on "bad password" errors. svn path=/trunk/; revision=16700
* Use CamelMimeFilterBestenc to get a more appropriate encoding rather thanJeffrey Stedfast2002-05-072-7/+33
| | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-mime.c (pgp_mime_part_sign_prepare_part): Use CamelMimeFilterBestenc to get a more appropriate encoding rather than just blindling assigning QP. svn path=/trunk/; revision=16699
* Call camel_mime_message_encode_8bit_parts() which fixes bug #10885.Jeffrey Stedfast2002-05-072-3/+4
| | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (do_append): Call camel_mime_message_encode_8bit_parts() which fixes bug #10885. svn path=/trunk/; revision=16698
* Change this directory to include the $(VERSION).Christopher James Lahey2002-05-071-6/+2
| | | | | | | | | | | | | | | | | | | 2002-05-06 Christopher James Lahey <clahey@ximian.com> * gal/widgets/Makefile.am (imagesdir): Change this directory to include the $(VERSION). * gal/widgets/e-reflow.c (set_empty): Don't switch from utf8 to widget encoding, since EText takes utf8. From art/ChangeLog: 2002-05-06 Christopher James Lahey <clahey@ximian.com> * Makefile.am (imagesdir): Change this directory to include the $(VERSION). svn path=/trunk/; revision=16697
* Flush the filter log to make Tuomas happy :-)Jeffrey Stedfast2002-05-075-8/+29
| | | | | | | | | | | | 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
* Set the Seen flag as well since it's safe to assume that if the user hasJeffrey Stedfast2002-05-072-2/+6
| | | | | | | | | | 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
* If we are in a Sent/Drafts/Outbox folder, don't show the "Add Sender toJeffrey Stedfast2002-05-072-4/+23
| | | | | | | | | | 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
* Don't bother with counting down the timeout.Jeffrey Stedfast2002-05-072-7/+7
| | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-raw.c (socket_connect): Don't bother with counting down the timeout. svn path=/trunk/; revision=16690
* minor feature change in Evolution w/r/t Exchange calendars.Aaron Weber2002-05-074-8/+64
| | | | | | | | | | | | | | 2002-05-06 Aaron Weber <aaron@ximian.com> * C/usage-mainwindow.sgml: minor feature change in Evolution w/r/t Exchange calendars. * C/usage-exchange.sgml: minor feature change in Evolution w/r/t Exchange calendars. * C/usage-calendar.sgml: minor feature change in Evolution w/r/t Exchange calendars. * C/usage-mainwindow.sgml: validation issue. svn path=/trunk/; revision=16687
* Replaced ldap-config.c with addressbook-config.c.Christopher James Lahey2002-05-072-1/+5
| | | | | | | | 2002-05-06 Christopher James Lahey <clahey@ximian.com> * POTFILES.in: Replaced ldap-config.c with addressbook-config.c. svn path=/trunk/; revision=16686
* Check all threads are idle as well, using new e_thread_busy call. ShouldNot Zed2002-05-062-2/+8
| | | | | | | | | | 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
* Destroy our mutex too. (e_thread_new): Add thread to a new list of allNot Zed2002-05-063-0/+55
| | | | | | | | | | | | 2002-05-06 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Destroy our mutex too. (e_thread_new): Add thread to a new list of all threads. (e_thread_destroy): Remove thread from list of all threads. (e_thread_busy): New function, returh true if we're busy somewhere processing work. svn path=/trunk/; revision=16683
* doh, remove >>>>>'sChris Toshok2002-05-041-1/+0
| | | | svn path=/trunk/; revision=16682
* finally remove the #if 0's and use the oaf query stuff to get backendsChris Toshok2002-05-042-2/+7
| | | | | | | | | | 2002-05-03 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book.c (activate_factories_for_uri): finally remove the #if 0's and use the oaf query stuff to get backends that handle specific protocols. svn path=/trunk/; revision=16681
* Call evolution_config_control_changed when the EFolderList changes.Christopher James Lahey2002-05-042-0/+16
| | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook-config.c (addressbook_folder_list_changed_callback): Call evolution_config_control_changed when the EFolderList changes. svn path=/trunk/; revision=16680
* Updated this to have the ConfigControlFactory have an addressbookwideChristopher James Lahey2002-05-048-36/+167
| | | | | | | | | | | | | | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * gui/component/GNOME_Evolution_Addressbook.oaf.in: Updated this to have the ConfigControlFactory have an addressbookwide generic name and added OAFIID:GNOME_Evolution_Addressbook_ConfigControl. * gui/component/Makefile.am (evolution_addressbook_SOURCES), gui/component/addressbook-component.c, gui/component/addressbook-storage.c, gui/component/addressbook.c: Replaced ldap-config.c and ldap-config.h with addressbook-config.c andaddressbook-config.h. * gui/component/addressbook-config.c, gui/component/addressbook-config.h: Based on ldap-config.c and ldap-config.h. Added a folder list control. Made this a multi factory. * gui/component/ldap-config.c, gui/component/ldap-config.h: Replaced these with addressbook-config.c and addressbook-config.h. svn path=/trunk/; revision=16679
* Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref.Christopher James Lahey2002-05-044-2/+148
| | | | | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * e-folder-list.c: Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref. (add_clicked): Don't pass NULL to evolution_shell_client_user_select_folder. * glade/Makefile.am: Added e-folder-list.glade * glade/e-folder-list.glade: The glade file for e-folder-list. svn path=/trunk/; revision=16678
* Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c.Christopher James Lahey2002-05-044-2/+728
| | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * Makefile.am (eshellinclude_HEADERS): Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c. * e-folder-list.c, e-folder-list.h: New widget for editing a list of folder uris. svn path=/trunk/; revision=16677
* show progress messages on the status bar.Rodrigo Moya2002-05-032-0/+11
| | | | | | | | | | 2002-05-03 Rodrigo Moya <rodrigo@ximian.com> * gui/e-tasks.c (e_tasks_delete_selected): (e_tasks_complete_selected): show progress messages on the status bar. svn path=/trunk/; revision=16675
* Same fix as the tcp stream. (stream_write): Again here. Just like tcpJeffrey Stedfast2002-05-033-66/+111
| | | | | | | | | | | | | | | | 2002-05-02 Jeffrey Stedfast <fejj@ximian.com> * camel-stream-fs.c (stream_read): Same fix as the tcp stream. (stream_write): Again here. Just like tcp stream's stream_write(), also make sure to save errno before calling fcntl to restore the fd flags. * camel-tcp-stream-raw.c (stream_read): Handle EINTR errors for select(). (stream_write): Same and also preserve errno when setting the fd flags back. If w == -1, return -1. svn path=/trunk/; revision=16673
* Fixed the fix for stupidly-broken-mailer bug #5 to work when multipleJeffrey Stedfast2002-05-032-3/+10
| | | | | | | | | | 2002-05-02 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_decode_mailbox): Fixed the fix for stupidly-broken-mailer bug #5 to work when multiple unescaped characters were in a row. Fixes bug #24140. svn path=/trunk/; revision=16672
* Desensitize the to, cc, and bcc buttons if there's no selection here.Christopher James Lahey2002-05-032-0/+34
| | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (selection_change): Desensitize the to, cc, and bcc buttons if there's no selection here. Fixes Ximian bug #21482. svn path=/trunk/; revision=16671
* Make the style here match the proper widget style to emulate a label or anChristopher James Lahey2002-05-031-1/+1
| | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_draw): Make the style here match the proper widget style to emulate a label or an entry. svn path=/trunk/; revision=16670
* #include <gtk/gtkmain.h> to avoid warnings.Rodrigo Moya2002-05-032-0/+5
| | | | | | | | 2002-05-02 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: #include <gtk/gtkmain.h> to avoid warnings. svn path=/trunk/; revision=16669
* Added this function that lets you specify the translation domain.Christopher James Lahey2002-05-0310-84/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_create_with_domain): Added this function that lets you specify the translation domain. From gal/e-table/ChangeLog: 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (finish_editing): Add horizontal dividers here too. * e-table-config.c (create_global_store): Translate column headers here. * e-table-header-item.c (ethi_header_context_menu): Use e_popup_menu_create_with_domain here. * e-table-header-utils.c (e_table_header_draw_button): Translate from utf8 here before drawing. * e-table-memory-store.c, e-table-memory-store.h (e_table_memory_store_insert_adopt_array): Changed the name of this function from e_table_memory_store_insert_adopt. (e_table_memory_store_insert_adopt): Added this function which takes a ... list. * e-table-utils.c (et_col_spec_to_col): Translate column titles to utf8 here. svn path=/trunk/; revision=16668
* Added horizontal dividers to this item when in table mode.Christopher James Lahey2002-05-034-26/+28
| | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c: Added horizontal dividers to this item when in table mode. * e-table.c, e-tree.c: Made the background be an e-canvas-background instead of a * e-tree.c, e-tree.h: Added a white_space_event for feature parity with ETable. svn path=/trunk/; revision=16667
* Change the order of some code so that we check if the select() failedJeffrey Stedfast2002-05-033-20/+42
| | | | | | | | | | | | | | 2002-05-02 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (crypto_exec_with_passwd): Change the order of some code so that we check if the select() failed before we check for user-cancellation. * camel-service.c (camel_gethostbyname): Check for EINTR when select()ing. (camel_gethostbyaddr): Same. svn path=/trunk/; revision=16666
* Changed some of these to bind to the ContactListEditor verbs since they'reChristopher James Lahey2002-05-032-3/+9
| | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (verbs): Changed some of these to bind to the ContactListEditor verbs since they're marked as that in the ui file. Fixes Ximian bug #13034. svn path=/trunk/; revision=16665
* Ooops missed this earlier.Larry Ewing2002-05-032-1/+5
| | | | | | | | 2002-04-28 Larry Ewing <lewing@ximian.com> * configure.in: require gtkhtml-1.1.1. svn path=/trunk/; revision=16664
* only discard the popup if we created oneJP Rosevear2002-05-022-0/+9
| | | | | | | | | 2002-05-02 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (free_view_popup): only discard the popup if we created one svn path=/trunk/; revision=16663
* refactored a bit, to not do things in idle loops.Rodrigo Moya2002-05-022-83/+80
| | | | | | | | 2002-05-02 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: refactored a bit, to not do things in idle loops. svn path=/trunk/; revision=16662
* Now takes a CamelURL argument rather than a GHashTable *settings argument.Jeffrey Stedfast2002-05-022-4/+5
| | | | | | | | | 2002-04-29 Jeffrey Stedfast <fejj@ximian.com> * camel-provider.c (camel_provider_auto_detect): Now takes a CamelURL argument rather than a GHashTable *settings argument. svn path=/trunk/; revision=16661
* Documented this function as not necessarily stripping shellChristopher James Lahey2002-05-022-0/+2
| | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_filename_make_safe): Documented this function as not necessarily stripping shell metacharacters. Fixes Ximian bug #21223. svn path=/trunk/; revision=16660
* Update the code to actually work. (sig_new_html): Same.Jeffrey Stedfast2002-05-023-14/+21
| | | | | | | | | | | | | 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
* Set the gettext-domain here.Christopher James Lahey2002-05-0212-36/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-completion-view.c (simple_spec), gal/widgets/e-categories-master-list-dialog.c (SPEC), gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain here. * gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the different cases. From gal/e-table/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * e-table-config.c, e-table-config.h, e-table-specification.c, e-table-specification.h, e-table-utils.c, e-table-utils.h, e-table.c, e-table.h: Made these pay attention to the gettext-domain in the etspec. * e-table-config.c: Set the gettext-domain in the etspec here. From gal/menus/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658
* Fix the filter_menu static array to use the E_POPUP_MENU_CC macros sinceJeffrey Stedfast2002-05-022-1/+3
| | | | | | | | | | | | 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
* Fix the filter_menu static array to use the E_POPUP_MENU_CC macros sinceJeffrey Stedfast2002-05-022-9/+16
| | | | | | | | | | 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
* modify the start and end hours to accomodate all the events in the dayJP Rosevear2002-05-023-0/+35
| | | | | | | | | | | | 2002-05-01 JP Rosevear <jpr@ximian.com> * gui/print.c (print_day_details): modify the start and end hours to accomodate all the events in the day * gui/e-day-view.c (free_view_popup): only discard the popup if we created one svn path=/trunk/; revision=16655
* Also check folder!=NULL. Fixes race where folder isn't setup yet, andNot Zed2002-05-013-2/+8
| | | | | | | | | | | 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
* fixJP Rosevear2002-05-012-4/+7
| | | | | | | | 2002-04-30 JP Rosevear <jpr@ximian.com> * gui/component/Makefile.am (EXTRA_DIST): fix svn path=/trunk/; revision=16652
* Added Vietnamese po filePablo Saratxaga2002-05-012-2/+25249
| | | | svn path=/trunk/; revision=16651
* remove setup_widgets from here (gnome_calendar_init): move setup_widgetsJP Rosevear2002-05-012-2/+7
| | | | | | | | | | 2002-04-30 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_construct): remove setup_widgets from here (gnome_calendar_init): move setup_widgets back here svn path=/trunk/; revision=16650
* Added this function so that there would be less duplication of cardsChristopher James Lahey2002-05-014-61/+119
| | | | | | | | | | | | | | | | | | | 2002-04-30 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-model.c, gui/widgets/e-addressbook-model.h (e_addressbook_model_peek_card): Added this function so that there would be less duplication of cards during run time when duplication is unnecessary. * gui/widgets/e-addressbook-view.c: Cleaned up get_card_list and a number of associated functions to be much more uniform and simpler. (get_has_email_address): Don't show the "Send Message to Contact" menu item if there are no email addresses in the listed contacts. Fixes bug #1298. svn path=/trunk/; revision=16649
* Changed this to set a subject when sending a contact. This makes theChristopher James Lahey2002-05-012-1/+64
| | | | | | | | | | 2002-04-30 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card.c (e_card_list_send): Changed this to set a subject when sending a contact. This makes the signature be set properly also. svn path=/trunk/; revision=16648
* Updated Spanish translation.Hector Garcia2002-05-012-264/+262
| | | | svn path=/trunk/; revision=16647
* Updated Bulgarian translation by Borislav AleksandrovYanko Kaneti2002-05-012-6254/+18859
| | | | | | | | | 2002-04-30 Yanko Kaneti <yaneti@declera.com> * Updated Bulgarian translation by Borislav Aleksandrov <B.Aleksandrov@cnsys.bg> svn path=/trunk/; revision=16646
* If the folder's permanent_flags don't include CAMEL_MESSAGE_DELETED, don'tDan Winship2002-05-012-0/+8
| | | | | | | | * 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
* From gal/e-table/ChangeLog:Christopher James Lahey2002-04-301-8/+8
| | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cursor_change): Redraw a row that is no longer the cursor even if this item isn't getting the new cursor. svn path=/trunk/; revision=16642
* Added a sed job on po/Makefile.in.in here.Christopher James Lahey2002-04-301-1/+5
| | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * configure.in: Added a sed job on po/Makefile.in.in here. * gal/util/e-i18n.h: Made this use GNOME_EXPLICIT_TRANSLATION_DOMAIN if it's set. svn path=/trunk/; revision=16641
* Convert UTF-8 to gtkstrings since we are using a clist and not an E-widgetJeffrey Stedfast2002-04-303-12/+43
| | | | | | | | | | | | | 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
* Changed this to handle large numbers. (e_create_directory): Changed thisChristopher James Lahey2002-04-301-65/+111
| | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c (e_format_number_float): Changed this to handle large numbers. (e_create_directory): Changed this to be a wrapper around e_mkdir_hier. svn path=/trunk/; revision=16639
* Added these functions. Implemented checkboxes in the ETreeModel here.Christopher James Lahey2002-04-303-7/+144
| | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_set_checkboxes_list, e_storage_set_view_get_checkboxes_list): Added these functions. Implemented checkboxes in the ETreeModel here. svn path=/trunk/; revision=16637
* Bumped the required version number of gal to 0.19.99.15.Christopher James Lahey2002-04-302-1/+6
| | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * configure.in (EVO_CHECK_LIB): Bumped the required version number of gal to 0.19.99.15. svn path=/trunk/; revision=16636
* Changed LDFLAGS to LIBS for tests here. Bumped the version number toChristopher James Lahey2002-04-302-0/+39
| | | | | | | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed LDFLAGS to LIBS for tests here. Bumped the version number to 0.19.99.15. From gal/e-table/ChangeLog: 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-tree.c, e-tree.h (e_tree_path_foreach): Added this function which recurses over all nodes, regardless of selection. svn path=/trunk/; revision=16635
* Strip leading/trailing whitespace from the username because usersJeffrey Stedfast2002-04-302-12/+29
| | | | | | | | | | | | | | 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
* Strip leading/trailing whitespace from the username because usersJeffrey Stedfast2002-04-302-1/+8
| | | | | | | | | | | 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
* Add patch to import netscape mail filters. WheeeIain Holmes2002-04-303-36/+1220
| | | | svn path=/trunk/; revision=16631