aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated NEWSRodrigo Moya2002-09-061-1/+17
| | | | svn path=/trunk/; revision=18000
* updated NEWSMichael Zucci2002-09-061-2/+49
| | | | svn path=/trunk/; revision=17999
* updatedJeffrey Stedfast2002-09-061-6/+7
| | | | svn path=/trunk/; revision=17998
* All this snot is to fix bug #29930. What I think was happening was thatJeffrey Stedfast2002-09-062-81/+98
| | | | | | | | | | | | | | | | | | | | | | 2002-09-05 Jeffrey Stedfast <fejj@ximian.com> All this snot is to fix bug #29930. What I think was happening was that the composer's destroy callback got fired off before the async callback did. * mail-callbacks.c (ccd_new): New convenience function to malloc a new ccd. (ccd_ref): ccd is now ref_counted (it needs to be) so we now have this. (ccd_unref): And we need this now too of course. (composer_destroy_cb): composer's new destroy callback function - unref's the ccd. (composer_send_queued_cb): unref the ccd. (composer_send_cb): ref the ccd here. (save_draft_done): unref the ccd. (composer_save_draft_cb): ref the ccd. svn path=/trunk/; revision=17997
* Updated with the new 1.2 features (unfinished).Ettore Perazzoli2002-09-064-2371/+3028
| | | | | | | | * NEWS: Updated with the new 1.2 features (unfinished). * NEWS-1.0: New, contains the changes up to version 1.0.8. svn path=/trunk/; revision=17996
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-09-062-835/+898
| | | | | | | | 2002-09-05 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17995
* Hex decode the folder names when searching for them in the memory buffer,Jeffrey Stedfast2002-09-063-86/+200
| | | | | | | | | | | | 2002-09-05 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (imap_url_upgrade): Hex decode the folder names when searching for them in the memory buffer, and re-hex encode them when combining them with the rst of the URL. (mailer_upgrade): Instead of reading in the storeinfo file as raw binary data, use the camel-file-utils to correctly parse it. svn path=/trunk/; revision=17994
* Changed the description of the summary page of the settings dialog to beAnna Dirks2002-09-062-1/+6
| | | | | | | | | 2002-09-05 Anna Dirks <anna@ximian.com> * GNOME_Evolution_Summary.oaf.in.in : Changed the description of the summary page of the settings dialog to be less wordy. svn path=/trunk/; revision=17993
* don't try to send via the server if we are publishing; don't bail out on aJP Rosevear2002-09-062-5/+18
| | | | | | | | | | 2002-09-05 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): don't try to send via the server if we are publishing; don't bail out on a 0 length to list if we are publishing svn path=/trunk/; revision=17992
* Changed the description of the folders page in the settings dialog to beAnna Marie Dirks2002-09-062-1/+6
| | | | | | | | | 2002-09-05 Anna Marie Dirks <anna@ximian.com> * GNOME_Evolution_Shell.oaf.in : Changed the description of the folders page in the settings dialog to be more specific. svn path=/trunk/; revision=17991
* Changed the description of the Directory Servers page of the settingsAnna Dirks2002-09-062-1/+8
| | | | | | | | | | 2002-09-05 Anna Dirks <anna@ximian.com> * gui/component/GNOME_Evolution_Addressbook.oaf.in : Changed the description of the Directory Servers page of the settings dialog to be a little less wordy {This page can be used to configure blah--> Configure blah.} svn path=/trunk/; revision=17990
* Changed the description of the calendar/tasks page of the settings dialog,Anna Marie Dirks2002-09-062-1/+8
| | | | | | | | | | 2002-09-05 Anna Marie Dirks <anna@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: Changed the description of the calendar/tasks page of the settings dialog, to be hopefully more descriptive and less awkwardly worded. svn path=/trunk/; revision=17989
* Changed the descriptions of the fonts, mail, accounts and composer pagesAnna Marie Dirks2002-09-062-4/+13
| | | | | | | | | | 2002-09-05 Anna Marie Dirks <anna@ximian.com> * GNOME_Evolution_Mail.oaf.in: Changed the descriptions of the fonts, mail, accounts and composer pages of the settings dialog to be hopefully more descriptive and less confusing. svn path=/trunk/; revision=17988
* (composer_key_pressed): Don't chain the eventEttore Perazzoli2002-09-062-9/+10
| | | | | | | handler here -- that's just wrong! Also stop emission of the signal when we catch Escape. svn path=/trunk/; revision=17987
* Use e_mktime_utc.Dan Winship2002-09-054-29/+18
| | | | | | | | | | | * camel-mime-utils.c (header_decode_date): Use e_mktime_utc. * camel-mime-message.c (camel_mime_message_set_date): Use e_localtime_with_offset. * broken-date-parser.c (decode_broken_date): Use e_mktime_utc. svn path=/trunk/; revision=17986
* update the local copy (if we've got one) so that we don't return values ifRodrigo Moya2002-09-052-0/+34
| | | | | | | | | | | | 2002-09-05 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_set_boolean, e_config_listener_set_float, e_config_listener_set_long, e_config_listener_set_string): update the local copy (if we've got one) so that we don't return values if asked before getting the change notification. svn path=/trunk/; revision=17985
* added support for text/x-calendar targets, in which case a VCALENDARRodrigo Moya2002-09-052-8/+32
| | | | | | | | | | 2002-09-05 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_on_drag_data_get): added support for text/x-calendar targets, in which case a VCALENDAR component, with full timezone information is returned. svn path=/trunk/; revision=17984
* Make it so that the composer will close when the user hits Escape.Jeffrey Stedfast2002-09-052-14/+40
| | | | | | | | | 2002-09-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Make it so that the composer will close when the user hits Escape. svn path=/trunk/; revision=17983
* Add a -DPREFIX.Ettore Perazzoli2002-09-052-5/+58
| | | | | | | | | | | * Makefile.am (INCLUDES): Add a -DPREFIX. * main.c (main): New command-line option "force-upgrade". (show_development_warning): Suggest 1.0.8, not 1.0.5. (upgrade_from_1_0_if_needed): New. (idle_cb): Call it. svn path=/trunk/; revision=17982
* Return FALSE here. (get_base_url): Add a cast.Ettore Perazzoli2002-09-055-5/+28
| | | | | | | | | | | | * upgrade-mailer.c (upgrade): Return FALSE here. (get_base_url): Add a cast. * component-factory.c (storage_xfer_folder): Removed unused variables. * Makefile.am: Rename upgrade-mailer to evolution-mail-upgrade. svn path=/trunk/; revision=17981
* [ Fixes #29904 ] we need to activate either a contact list editor orChris Toshok2002-09-052-3/+18
| | | | | | | | | | | | 2002-09-04 Chris Toshok <toshok@ximian.com> [ Fixes #29904 ] * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): we need to activate either a contact list editor or contact editor depending on if it's a list (this screams for a utility function.) svn path=/trunk/; revision=17980
* some fixesJeffrey Stedfast2002-09-051-13/+24
| | | | svn path=/trunk/; revision=17979
* Pass FALSE to evolution_storage_new: the Other Contacts storage doesn'tDan Winship2002-09-052-1/+8
| | | | | | | | | * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): Pass FALSE to evolution_storage_new: the Other Contacts storage doesn't support shared folders. svn path=/trunk/; revision=17978
* (new_folder_cb): Pass FALSE as @queue toEttore Perazzoli2002-09-052-1/+6
| | | | | | e_shell_view_display_uri() here. svn path=/trunk/; revision=17977
* don't listen to client signals after we get destroyedJP Rosevear2002-09-052-0/+9
| | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_destroy): don't listen to client signals after we get destroyed Fixes #17036 svn path=/trunk/; revision=17976
* Add upgrade-mailer.c to the build.Jeffrey Stedfast2002-09-053-1/+874
| | | | | | | | | | | 2002-09-04 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Add upgrade-mailer.c to the build. * upgrade-mailer.c: New program to upgrade configuration files from 1.0 to 1.2. svn path=/trunk/; revision=17975
* (e_shell_view_get_current_component_id): If theEttore Perazzoli2002-09-052-0/+13
| | | | | | | | current_folder_type is NULL, just return NULL instead of passing it to e_folder_type_registry_get_handler_for_type() [and generate a warning]. [#21122] svn path=/trunk/; revision=17974
* Remove the "blah blah" text for now and change "Server" to "Account".Dan Winship2002-09-052-47/+6
| | | | | | | * glade/e-shell-shared-folder-picker-dialog.glade: Remove the "blah blah" text for now and change "Server" to "Account". svn path=/trunk/; revision=17973
* Pass TRUE as @queue to e_shell_view_display_uri().Ettore Perazzoli2002-09-056-27/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (create_view): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue to e_shell_view_display_uri(). (goto_folder_dialog_folder_selected_cb): Likewise. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view.c (display_uri): New arg @queue. If true, it allows the delayed_selection mechanism to happen transparently (returning TRUE, while before it used to return FALSE). Otherwise, refuse to queue the URI and return FALSE. (e_shell_view_display_uri): New arg @queue; pass it to display_uri(). (handle_current_folder_removed): Pass TRUE as @queue to e_shell_view_display_uri(). (set_folder_timeout): Likewise. (switch_on_folder_tree_click): Likewise. (activate_shortcut_cb): Likewise. (corba_interface_change_current_view_cb): Likewise. (socket_destroy_cb): Likewise. (socket_destroy_cb): Likewise. (e_shell_view_load_settings): Here, try displaying the old URI with @queue set to FALSE; if this fails, display the default URI and then invoke display again using @queue = TRUE so it gets queued up. This should fix #27721. svn path=/trunk/; revision=17972
* New. Like mktime(3), but assumes the input time is UTC.Dan Winship2002-09-053-5/+68
| | | | | | | | | * e-time-utils.c (e_mktime_utc): New. Like mktime(3), but assumes the input time is UTC. (e_localtime_with_offset): New. Like localtime_r(3), but also returns an offset from UTC. svn path=/trunk/; revision=17971
* Remove this from here.Dan Winship2002-09-054-31/+46
| | | | | | | | | | | | * acinclude.m4 (EVO_CHECK_TIMEZONE): Remove this from here. * configure.in: Put it here. (Connector no longer needs to share it). Also, check "tm_gmtoff" before "timezone", and if we have "timezone", check for "altzone" too. * acconfig.h: Add HAVE_ALTZONE svn path=/trunk/; revision=17970
* Made sure account->id->address is not NULL before adding it to the hashJeffrey Stedfast2002-09-052-1/+9
| | | | | | | | | | | 2002-09-04 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Made sure account->id->address is not NULL before adding it to the hash table. This is to prevent bug #29877 from crashing, although it is still an invalid error condition. svn path=/trunk/; revision=17969
* Remove the "Get!" printf. (set_prop): Likewise for "Set!"Dan Winship2002-09-052-2/+5
| | | | | | | * folder-info.c (get_prop): Remove the "Get!" printf. (set_prop): Likewise for "Set!" svn path=/trunk/; revision=17968
* Pass FALSE as @restore_all_views to e_shell_restore_from_settings() so weEttore Perazzoli2002-09-054-7/+22
| | | | | | | | | | * main.c (idle_cb): Pass FALSE as @restore_all_views to e_shell_restore_from_settings() so we only restore the first view. * e-shell.c (e_shell_restore_from_settings): New arg @restore_all_views. svn path=/trunk/; revision=17967
* bail out if we couldn't send the cancelJP Rosevear2002-09-057-31/+75
| | | | | | | | | | | | | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-editor.c (event_editor_send_comp): bail out if we couldn't send the cancel * gui/dialogs/task-editor.c (task_editor_send_comp): ditto * gui/dialogs/comp-editor.c (save_comp_with_send): indicate send status (real_send_comp): return success/fail, only resave the component a if we successfully sent (comp_editor_send_comp): return success/fail * gui/itip-utils.h: update proto * gui/itip-utils.c (itip_send_comp): return true if we sent the message svn path=/trunk/; revision=17966
* Add back "period" and "comma" asEttore Perazzoli2002-09-052-2/+9
| | | | | | accels for MailNextUnread and MailPreviousUnread. svn path=/trunk/; revision=17965
* provide error message param, give a dialog with the message if we get aJP Rosevear2002-09-059-22/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_server_send): provide error message param, give a dialog with the message if we get a busy result; return TRUE if we succeed (itip_send_comp): bail out if we had a problem sending via the server * cal-client/cal-client.c (cal_client_send_object): pass back error message if we get the busy exception in the new param * cal-client/cal-client.h: update proto * pcs/cal.c (impl_Cal_send_object): dump backend error message into Busy exception * pcs/cal-backend.h: update proto * pcs/cal-backend.c (cal_backend_send_object): take/pass new error message parameter * pcs/cal-backend-file.c (cal_backend_file_send_object): take new param * idl/evolution-calendar.idl: add errorMsg to Busy exception svn path=/trunk/; revision=17964
* Pass NULL as @unpopulate_folder_context_menu_fn toEttore Perazzoli2002-09-0518-52/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * gui/component-factory.c (create_object): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * mail-account-gui.c (mail_account_gui_save): Remove unused variable. * component-factory.c (unpopulate_folder_context_menu): New. (create_component): Pass it to evolution_shell_component_new(). * component-factory.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * e-storage-set-view.c (popup_folder_menu): Remove the context menu items using evolution_shell_component_client_unpopulate_folder_context_menu() instead of doing it ourself, since BonoboUI sucks. * evolution-shell-component-client.c (evolution_shell_component_client_unpopulate_folder_context_menu): New. * evolution-test-component.c (register_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * evolution-shell-component.c: New member unpopulate_folder_context_menu_fn in EvolutionShellComponentPrivate. New member uic in EvolutionShellComponentPrivate. (init): Init new members to NULL. (destroy): bonobo_object_unref() priv->uic if not NULL. (evolution_shell_component_new): New arg @unpopulate_folder_context_menu_fn. (evolution_shell_component_construct): Likewise. (impl_populateFolderContextMenu): Set priv->uic to the newly created UIComponent. (impl_unpopulateFolderContextMenu): New, implementation for the ::unpopulateFolderContextMenu CORBA method. (class_init): Install. * Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New method. (AlreadyPopulated): New exception. (populateFolderContextMenu): Can raise it. (NotPopulated): New exception. svn path=/trunk/; revision=17963
* clear nonfatal stuff.Not Zed2002-09-0410-45/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-04 Not Zed <NotZed@Ximian.com> * tests/folder/test4.c (main): clear nonfatal stuff. * tests/folder/test6.c (main): check inbox and 'another folder' because some servers do different things w/ inbox. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_get): Dont try to open the directory instead of an empty "" uid. * providers/imap/camel-imap-folder.c (imap_get_message): we dont want to g_return_if_fail, we need to set an exception and always handle the case. (get_message_simple): Set an exception if we get a construct failure. (imap_refresh_info): if we're refreshing inbox, force a reselect. this is required for at least cryus. CHECK doesnt work either :( * tests/lib/folders.c (test_folder_basic): for non-local stores, the folder will have an extra ref for selection, take this into account when checking ref leaks. (test_folder_message_ops): Dont try to delete folder with messages in it, it works generally with imap. also, change params so we can test different mailbox types. (test_folder_message_ops): disconnect remote services before finishing off. doesn't need to stricly but makes ref count checking more accurate. (test_folder_message_ops): removed explicit remote sync, imap does it itself now ... * providers/imap/camel-imap-store.c: (camel_imap_store_finalize): call service_disconnect, so it isn't called later in the finalise chain, to properly cleanup on exit. svn path=/trunk/; revision=17962
* If we fake the from eof file boundary, also make sure we say we matchedNot Zed2002-09-042-3/+15
| | | | | | | | | | | 2002-09-04 Not Zed <NotZed@Ximian.com> * camel-mime-parser.c (folder_scan_content): If we fake the from eof file boundary, also make sure we say we matched nothing. Also make the end case a little more robust to make sure we expired all hope of finding a sub-boundary. svn path=/trunk/; revision=17961
* unref the "without", adapter, and model, then chain up the GnomeDialogMike Kestner2002-09-042-0/+11
| | | | | | | | | | 2002-09-03 Mike Kestner <mkestner@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_destroy): unref the "without", adapter, and model, then chain up the GnomeDialog destroy function. svn path=/trunk/; revision=17960
* Removed entry from ChangeLog file (sorry very much)Carlos Garnacho Parro2002-09-041-8/+0
| | | | | | | | 2002-09-04 Carlos Garnacho Parro <garparr@teleline.es> * Removed entry from ChangeLog file (sorry very much) svn path=/trunk/; revision=17958
* don't make the reply component minimalJP Rosevear2002-09-042-5/+14
| | | | | | | | | | | 2002-09-03 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_compliant): don't make the reply component minimal Fixes #28956 svn path=/trunk/; revision=17957
* Use ldap-settings.png instead of evolution-contacts.png.Ettore Perazzoli2002-09-042-1/+6
| | | | svn path=/trunk/; revision=17956
* New icon from Jakub.Ettore Perazzoli2002-09-042-0/+4
| | | | svn path=/trunk/; revision=17955
* [ fixes #29699 ] call _set_source with a NULL source to fill in dialogChris Toshok2002-09-042-0/+11
| | | | | | | | | | | | 2002-09-03 Chris Toshok <toshok@ximian.com> [ fixes #29699 ] * gui/component/addressbook-config.c (addressbook_add_server_druid): call _set_source with a NULL source to fill in dialog settings that are set from the option menus (like the SSL setting). svn path=/trunk/; revision=17954
* Ooops. I committed the wrong version of the file.Ettore Perazzoli2002-09-041-1/+1
| | | | svn path=/trunk/; revision=17953
* Create an Items placeholder under ComponentPlaceholder, and thenEttore Perazzoli2002-09-043-1/+18
| | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Create an Items placeholder under ComponentPlaceholder, and then bonobo_ui_component_rm() it after we are done with the menu. This -should- fix #29782, but it doesn't. I am not sure why. * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): Append a "/Items" part. svn path=/trunk/; revision=17952
* (delete_contact_cb): Fix typoEttore Perazzoli2002-09-042-1/+7
| | | | | | | [`view>view' instead of `view->view']. Also, cast to GTK_WINDOW instead of GTK_WIDGET as it should be. svn path=/trunk/; revision=17951
* New callback functions that wrap the mail-callbacks versions ofJeffrey Stedfast2002-09-042-4/+36
| | | | | | | | | | | | | 2002-09-03 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (mark_as_seen_cb): (mark_as_unseen_cb): (mark_as_important_cb): (mark_as_unimportant_cb): New callback functions that wrap the mail-callbacks versions of mark_as_<whatever>. Thanks to Owen Taylor for this fix. svn path=/trunk/; revision=17950
* Use bracketright and bracketleft forEttore Perazzoli2002-09-042-2/+7
| | | | | | next/prev unread. svn path=/trunk/; revision=17949
* Release 0.21.0 ChangesCarlos Garnacho Parro2002-09-040-0/+0
| | | | | | | | 2002-09-03 Carlos Garnacho Parro <garparr@teleline.es> * Release 0.21.0 Changes svn path=/trunk/; revision=17948
* Release 0.21.0 ChangesCarlos Garnacho Parro2002-09-041-0/+8
| | | | | | | | 2002-09-03 Carlos Garnacho Parro <garparr@teleline.es> * Release 0.21.0 Changes svn path=/trunk/; revision=17947
* Argh, didn't mean to commit this.Ettore Perazzoli2002-09-041-6/+0
| | | | svn path=/trunk/; revision=17946
* (show_import_wizard): Make the WM closeEttore Perazzoli2002-09-033-8/+15
| | | | | | | button in the dialog hide instead of destroying, using gnome_dialog_close_hides(). [#15572] svn path=/trunk/; revision=17945
* Dont translate / to dir_sep anymore, we always use /.Not Zed2002-09-032-12/+5
| | | | | | | | | 2002-09-04 Not Zed <NotZed@Ximian.com> * component-factory.c (storage_xfer_folder): Dont translate / to dir_sep anymore, we always use /. svn path=/trunk/; revision=17944
* Lots of changes, too numerous to list. Changed to useNot Zed2002-09-0313-574/+1379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-04 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c, providers/imap/camel-imap-folder.c: Lots of changes, too numerous to list. Changed to use camel-imap-store-summary to cache list requests. Changed to use a canonicalised url path with / instead of per-store directory separator. Indirects folder name so invalid folder names can still be accessed. Summary now stored in a new expandable format in .ev-store-summary. 2002-08-28 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (construct): Load store summary if it exists. (can_work_offline): Just see if we have any folders to say whether we can work offline or not. Should probably always just return true. 2002-08-27 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store-summary.[ch]: New files to handle offline definition of folders, etc. * camel-url.h: Define CamelURL to be struct _CamelURL rather than anonymous struct. * camel-store-summary.[ch]: a few api tweaks. Also, the summary header is versioned separately at each level, so that version upgrades can be handled separately. Renamed FolderInfo -> StoreInfo to avoid namespace with current FolderInfo code. This should be reversed when the FolderInfo code is rationalised to this new base. 2002-08-23 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-command.c (camel_imap_command): domt encode folder name. * providers/imap/camel-imap-folder.c (do_copy): dont encode folder name. (do_append): dont encode folder name. * providers/imap/camel-imap-store.c (get_folder_status): don encode folder name in imap request. (get_folder_online): here too for creating folder. (rename_folder): Assume the incoming 'new name' is a utf8 path, whereas the 'old name' is as from get folder info (raw). (create_folder): Dont encode parent_name, assume its the raw thing. 2002-08-22 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (get_folder_online): Select based on unconverted name. (imap_build_folder_info): New function to create a folderinfo properly based on raw name. (subscribe_folder): Use above helper. (imap_folder_effectively_unsubscribed): Same here. (imap_forget_folder): Same here. (get_one_folder_offline): " 2002-08-21 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): Setup path properly, as decoded path with / separator. Setup full_name as non-decoded raw name. Keep url as decoded path but with server separator ... (ick). (create_folder): Dont call build_path anymore, get_folders() does it for us. (subscribe_folder): Build the path ourself. (imap_folder_effectively_unsubscribed): Same here. (get_subscribed_folders): list using %S not %F, we're using the raw server provided name directly. (subscribe_folder): As above, for SUBSCRIBE. (unsubscribe_folder): Same here. (delete_folder): Same. (rename_folder_info): Same here for source name. (rename_folder): And here? (get_folders_online): Amd here. * providers/imap/camel-imap-utils.c: (imap_parse_list_response): Dont decode the mailbox. * camel-utf8.[ch]: some new utf8 & utf7 utilities. * providers/imap/camel-imap-utils.c (imap_mailbox_encode): (imap_mailbox_decode): use camel_utf7/8* functions instead. : Add config.h and alloca.h headers. svn path=/trunk/; revision=17943
* use a more gnomeish versionJakub Steiner2002-09-032-0/+4
| | | | | | * ldap-settings.png: use a more gnomeish version svn path=/trunk/; revision=17942
* Updated Brazilian Portuguese translation and converted to UTF-8.Gustavo Maciel Dias Vieira2002-09-022-4166/+2894
| | | | | | | | | 2002-09-01 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br> * pt_BR.po: Updated Brazilian Portuguese translation and converted to UTF-8. svn path=/trunk/; revision=17941
* use bonobo_object_release_unref to release the remote SelectNamesMike Kestner2002-08-313-2/+8
| | | | | | | | | | 2002-08-30 Mike Kestner <mkestner@ximian.com> * gui/dialogs/event-page.c: * gui/dialogs/task-page.c: use bonobo_object_release_unref to release the remote SelectNames component, not CORBA_Object_release. svn path=/trunk/; revision=17939
* simplified raw viewRadek Doulik2002-08-313-17/+11
| | | | svn path=/trunk/; revision=17938
* use iframe's fallback contentRadek Doulik2002-08-312-5/+5
| | | | svn path=/trunk/; revision=17937
* removed commented codeRadek Doulik2002-08-311-3/+0
| | | | svn path=/trunk/; revision=17936
* make the sure to list is 0 length before sending via imipJP Rosevear2002-08-311-1/+1
| | | | | | | | | 2002-08-30 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): make the sure to list is 0 length before sending via imip svn path=/trunk/; revision=17935
* add QueryRefused, for when the backend refuses to perform a query. (partDan Winship2002-08-315-0/+19
| | | | | | | | | | | | | | * backend/idl/addressbook.idl (CallStatus): add QueryRefused, for when the backend refuses to perform a query. (part of #25782) * backend/ebook/e-book-view-listener.c (e_book_view_listener_convert_status): translate GNOME_Evolution_Addressbook_BookViewListener_QueryRefused. * gui/component/addressbook.c (search_result): Handle E_BOOK_VIEW_STATUS_QUERY_REFUSED. svn path=/trunk/; revision=17934
* as below (handle_text_plain_flowed): as belowRadek Doulik2002-08-314-43/+89
| | | | | | | | | | | | | 2002-08-30 Radek Doulik <rodo@ximian.com> * mail-format.c (mail_format_raw_message): as below (handle_text_plain_flowed): as below * mail-display.c (mail_text_write): put text in iframe, so it has margins and should not be placed in table which changes wrapping behavior svn path=/trunk/; revision=17933
* [ fixes #27923] up the version to 4_0 (4000).Chris Toshok2002-08-302-4/+42
| | | | | | | | | | | | | | 2002-08-30 Chris Toshok <toshok@ximian.com> [ fixes #27923] * backend/pas/pas-backend-summary.c: up the version to 4_0 (4000). (pas_backend_summary_load_item): handle wants_html{_set}, list, and list_show_addresses. (pas_backend_summary_save_item): same. (pas_backend_summary_add_card): same. (pas_backend_summary_get_summary_vcard): same. svn path=/trunk/; revision=17932
* need to make the find now button sensitive when you select something fromChris Toshok2002-08-302-0/+7
| | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> * e-search-bar.c (subitem_activated_cb): need to make the find now button sensitive when you select something from a submenu. svn path=/trunk/; revision=17931
* kill a return that caused selection ranges to not emit selection_changedMike Kestner2002-08-301-1/+0
| | | | | | | | | | 2002-08-29 Mike Kestner <mkestner@ximian.com> * gal/widgets/e-selection-model-array.c : kill a return that caused selection ranges to not emit selection_changed if the end index only changed by 1. svn path=/trunk/; revision=17930
* call evolution_shell_component_add_user_creatable_item twice here, onceChris Toshok2002-08-302-0/+16
| | | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (add_creatable_item): call evolution_shell_component_add_user_creatable_item twice here, once for the "contacts" folder type, and once for "ldap-contacts". svn path=/trunk/; revision=17929
* Don't call g_list_foreach with the free func if the free func is NULL.Dan Winship2002-08-302-1/+7
| | | | | | | * e-list.c (e_list_destroy): Don't call g_list_foreach with the free func if the free func is NULL. svn path=/trunk/; revision=17928
* Oops. Take two.Dan Winship2002-08-303-74/+9
| | | | | | | | * GNOME_Evolution_Summary.oaf.in.in: Oops. Take two. * GNOME_Evolution_Summary.oaf.in: Remove this. It's autogenerated. svn path=/trunk/; revision=17925
* select the top canvas if the user right-clicks on itJP Rosevear2002-08-304-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 002-08-29 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_top_canvas_button_press): select the top canvas if the user right-clicks on it (e_day_view_on_main_canvas_button_press): select the row the user is right-clicking on (e_day_view_on_long_event_button_press): select the top canvas if the user right-clicks on an event there (e_day_view_on_event_button_press): select the relevant rows if the user right-clicks on an event (e_day_view_set_selected_time_range_in_top): select a number of days in the top canvas * gui/e-week-view.c (e_week_view_on_button_press): select the day the user is right-clicking on (e_week_view_on_text_item_event): select the corresponding time range when showing the contextual menu for an event * gui/e-week-view-event-item.c (e_week_view_event_item_button_press): select the corresponding time range when showing the contextual menu for an event Fixes #14660 svn path=/trunk/; revision=17924
* If the item is ADVANCED_ID, check the query and efb->setquery to seePeter Williams2002-08-302-1/+14
| | | | | | | | | | 2002-08-29 Peter Williams <peterw@ximian.com> * e-filter-bar.c (option_changed): If the item is ADVANCED_ID, check the query and efb->setquery to see whether we should pop up the advanced dialog or clear an advanced search. Fixes #29625. svn path=/trunk/; revision=17923
* Add HAS_FLAGS to a few miscellaneous commands that don't use IS_xMESSAGE.Peter Williams2002-08-302-3/+8
| | | | | | | | | 2002-08-29 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Add HAS_FLAGS to a few miscellaneous commands that don't use IS_xMESSAGE. svn path=/trunk/; revision=17922
* Change the case sensitive search of subject to expect case insensitiveNot Zed2002-08-297-84/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-29 Not Zed <NotZed@Ximian.com> * tests/folder/test3.c: Change the case sensitive search of subject to expect case insensitive results, as the behaviour has changed. (main): Made the search content before sync nonfatal. its something that needs to be fixed but not practical concern in evolution. * camel-block-file.c (block_file_validate_root): Only spit out the invalid root warnings if the file isn't empty. * camel-text-index.c (text_index_compress_nosync): Swap the path as well when we compress. * camel-mime-parser.c (folder_scan_content): Treat the end of file as a boundary if we're scanning From lines, and drop the last \n. (folder_scan_init_with_fd): Dont pre-read from the fd, and init eof. (folder_scan_init_with_stream): Similar. (folder_read): Handle eof, and set eof on 0 read. (folder_seek): Dont pre-read after a seek, and reset eof flag. (camel_mime_parser_init_with_fd): Fix doco, no pre-read occurs anymore. (camel_mime_parser_init_with_stream): Same. * providers/local/camel-mbox-summary.c (camel_mbox_summary_sync_mbox): Add a \n to end of content of each message, not at start. * providers/local/camel-mbox-folder.c (mbox_append_message): Instead of appending "\nFrom " to a mailbox, start with "From ", and append a \n after the message always. For better mutt/elm compatability. Also, unlock after we've stat'd. (mbox_append_message): Set the message's from_pos exactly as the mbox size. svn path=/trunk/; revision=17921
* added missing header file.Rodrigo Moya2002-08-293-0/+7
| | | | | | | | | 2002-08-28 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c: * gui/e-week-view.c: added missing header file. svn path=/trunk/; revision=17920
* updated readmeMichael Zucci2002-08-291-0/+1
| | | | svn path=/trunk/; revision=17919
* [ fixes #20347 ] hook up the backend_died signal. (backend_died): newChris Toshok2002-08-296-2/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> [ fixes #20347 ] * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): hook up the backend_died signal. (backend_died): new function, pop up an error dialog saying the backend died. * gui/widgets/e-addressbook-model.c (backend_died): new function, emit the backend_died signal. (e_addressbook_model_class_init): create the backend_died signal. (e_addressbook_model_init): init backend_died_id (e_addressbook_model_set_arg): disconnect the backend_died signal from the old book and hook it up to the new book. * gui/widgets/e-addressbook-model.h: add the backend_died signal. * backend/ebook/e-book.c (backend_died_cb): new function, emit the backend_died signal. (e_book_do_response_open): create the component listener and hook up the backend_died signal. (e_book_destroy): disconnect the component listener and unref it. * backend/ebook/e-book.h: add backend_died signal. svn path=/trunk/; revision=17918
* use strcasecmp here, since all the other helpers use case insensitiveChris Toshok2002-08-293-2/+10
| | | | | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-card-sexp.c (is_helper): use strcasecmp here, since all the other helpers use case insensitive comparisons. * backend/pas/pas-backend-summary.c (is_helper): same. svn path=/trunk/; revision=17917
* return NULL if the list is empty. (pas_backend_ldap_connect): always tryChris Toshok2002-08-292-17/+25
| | | | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (category_ber): return NULL if the list is empty. (pas_backend_ldap_connect): always try to use ldapv3, not just when we want to use tls. svn path=/trunk/; revision=17916
* [ fixes #25038 ] need to have EVOLUTION_ICONSDIR defined.Chris Toshok2002-08-296-1/+39
| | | | | | | | | | | | | | | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> [ fixes #25038 ] * gui/contact-editor/Makefile.am (INCLUDES): need to have EVOLUTION_ICONSDIR defined. * gui/contact-list-editor/Makefile.am (INCLUDES): same. * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): set the window icon to the contact mini icon. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): set the window icon to the new contact list icon. * gui/widgets/e-minicard.c (LIST_ICON_FILENAME): change to (the prettier, imo) "contact-list-16.png" svn path=/trunk/; revision=17915
* spew the filter we're using for the search.Chris Toshok2002-08-292-0/+7
| | | | | | | | | 2002-08-28 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): spew the filter we're using for the search. svn path=/trunk/; revision=17914
* Fixed `set' to hold the correct value when setting the flags.Jeffrey Stedfast2002-08-292-8/+11
| | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (stream_setsockopt): Fixed `set' to hold the correct value when setting the flags. svn path=/trunk/; revision=17913
* simplifiedJeffrey Stedfast2002-08-291-1/+1
| | | | svn path=/trunk/; revision=17912
* Fixed `set' to hold the correct value when setting the flags.Jeffrey Stedfast2002-08-292-2/+5
| | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-raw.c (stream_setsockopt): Fixed `set' to hold the correct value when setting the flags. svn path=/trunk/; revision=17911
* stop the EBookViews before unreffing.Mike Kestner2002-08-292-2/+13
| | | | | | | | | 2002-08-28 Mike Kestner <mkestner@ximian.com> * gui/component/select-names/e-select-names-completion.c : stop the EBookViews before unreffing. svn path=/trunk/; revision=17910
* nav-by-lettersAaron Weber2002-08-292-3/+33
| | | | | | | | | | | | | | | | | | | | | | 2002-08-28 Aaron Weber <aaron@ximian.com> * C/preface.sgml: nav-by-letters 2002-08-23 Aaron Weber <aaron@ximian.com> * C/preface.sgml: remove shortcuts that didn't actually get added to the app. 2002-08-22 Aaron Weber <aaron@ximian.com> * C/usage-mail-org.sgml: change Exchange description * C/config-prefs.sgml: add RDF note to newsfeed item. * C/preface.sgml: update as per Christine's comments in http://bugzilla.ximian.com/show_bug.cgi?id=29239 svn path=/trunk/; revision=17909
* Add an evolution:shell_component_launch_order and renameDan Winship2002-08-292-1/+9
| | | | | | | | * GNOME_Evolution_Summary.oaf.in: Add an evolution:shell_component_launch_order and rename evolution:shell_component_icon. svn path=/trunk/; revision=17908
* Add an evolution:shell_component_launch_order and renameDan Winship2002-08-292-1/+9
| | | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Add an evolution:shell_component_launch_order and rename evolution:shell_component_icon. svn path=/trunk/; revision=17907
* Add an evolution:shell_component_launch_order and renameDan Winship2002-08-292-1/+9
| | | | | | | | * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an evolution:shell_component_launch_order and rename evolution:shell_component_icon. svn path=/trunk/; revision=17906
* Add an evolution:shell_component_launch_order and renameDan Winship2002-08-292-1/+9
| | | | | | | | * GNOME_Evolution_Mail.oaf.in: Add an evolution:shell_component_launch_order and rename evolution:shell_component_icon. svn path=/trunk/; revision=17905
* Pass a selection_order to oaf_query so we get the components back in aDan Winship2002-08-292-2/+14
| | | | | | | | | | | | | * e-shell.c (setup_components): Pass a selection_order to oaf_query so we get the components back in a consistent order. Hack fix for #28490 for 1.2 by ensuring that Connector gets started before evolution-mail. (get_icon_path_for_component_info): Rename the oaf icon name property to use underscores to match the launch order property (which needs to use underscores because dashes are interpreted as subtraction in the selection_order context). svn path=/trunk/; revision=17904
* don't bother getenv'ing the USERJeffrey Stedfast2002-08-291-1/+0
| | | | svn path=/trunk/; revision=17903
* remove code to auto-detect mine and notzed's thread-by-subject prefs since ↵Jeffrey Stedfast2002-08-291-1/+1
| | | | | | our config files have now been updated. svn path=/trunk/; revision=17902
* Fix some broken logic here, `p = strrchr (path, '/') + 1` will *never* beJeffrey Stedfast2002-08-292-2/+6
| | | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (make_safe_filename): Fix some broken logic here, `p = strrchr (path, '/') + 1` will *never* be NULL!! If the strrchr returns NULL, then that expression will evaluate to 0x1!! svn path=/trunk/; revision=17901
* Match file: urls too.Jeffrey Stedfast2002-08-292-1/+6
| | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-tohtml.c (is_protocol): Match file: urls too. svn path=/trunk/; revision=17900
* Convert file: urls too. Fixes bug #29557.Jeffrey Stedfast2002-08-292-1/+5
| | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * e-html-utils.c (e_text_to_html_full): Convert file: urls too. Fixes bug #29557. svn path=/trunk/; revision=17899
* we need to link with -lgconf-gtk-1 tooJeffrey Stedfast2002-08-291-1/+1
| | | | svn path=/trunk/; revision=17898
* We now always need to init gconf for our later call to e_proxy_init()Jeffrey Stedfast2002-08-292-18/+23
| | | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): We now always need to init gconf for our later call to e_proxy_init() which initialises the proxy settings for soup to use. svn path=/trunk/; revision=17897
* New convenience function to initialise the proxy settings for soup to use.Jeffrey Stedfast2002-08-295-0/+142
| | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * e-proxy.[c,h] (e_proxy_init): New convenience function to initialise the proxy settings for soup to use. svn path=/trunk/; revision=17896
* Use e-util/e-proxy.c's e_proxy_init().Jeffrey Stedfast2002-08-292-77/+7
| | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): Use e-util/e-proxy.c's e_proxy_init(). svn path=/trunk/; revision=17895
* e-util now requires soup and gconf flags.Jeffrey Stedfast2002-08-292-1/+5
| | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * configure.in: e-util now requires soup and gconf flags. svn path=/trunk/; revision=17894
* Add some new flags for sensitizing nodes based on the flags of thePeter Williams2002-08-294-17/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-28 Peter Williams <peterw@ximian.com> * folder-browser-ui.c (default_ui_nodes): Add some new flags for sensitizing nodes based on the flags of the currently selected messages. (folder_browser_ui_add_message): Reset the sensitivity cache when we re-add UI items. (folder_browser_ui_add_list): Same. (folder_browser_ui_add_global): Same. (fbui_sensitise_item): Only cache the sensitivity in the hash table if we actually change it. (folder_browser_ui_scan_selection): New function, getting the bulk of the contents of folder_browser_ui_set_selection_state. Now with code to iterate over the currently selected messages and check their flags so we can sensitize based on them. (folder_browser_ui_set_selection_state): Now just set the selection state if necessary and pass off to _scan_selection. Don't skip of we're trying to go from SELSTATE_SINGLE to SELSTATE_SINGLE, eg, as the flags of the selected messages may have changed. * folder-browser-ui.h: Prototype folder_browser_ui_scan_selection. * folder-browser.c (main_folder_changed): Call folder_browser_ui_scan_selection as the flags on a selected message may have just changed. svn path=/trunk/; revision=17893
* Also check that the component has PersistStream. (mail_lookup_handler):Peter Williams2002-08-292-9/+40
| | | | | | | | | | | 2002-08-28 Peter Williams <peterw@ximian.com> * mail-format.c (component_supports): Also check that the component has PersistStream. (mail_lookup_handler): Get a list of all components and go with the first matching one. svn path=/trunk/; revision=17892
* fix exposes a regression in mbox :-/Not Zed2002-08-282-5/+9
| | | | | | | | | | 2002-08-28 Not Zed <NotZed@Ximian.com> * tests/folder/test8.c (test_add_message): Change message number to use hex, so its properly unique. (worker): Same here. svn path=/trunk/; revision=17891
* some utf7/utf8 tests.Not Zed2002-08-283-2/+111
| | | | | | | | 2002-08-28 Not Zed <NotZed@Ximian.com> * tests/misc/utf7.c: some utf7/utf8 tests. svn path=/trunk/; revision=17890
* [ oops, merged the .h and .glade file back to the HEAD from the 1-0Chris Toshok2002-08-282-0/+25
| | | | | | | | | | | | | 2002-08-28 Chris Toshok <toshok@ximian.com> [ oops, merged the .h and .glade file back to the HEAD from the 1-0 branch, but missed the .c file. ] * gui/component/select-names/e-select-names.c (status_message): set the status label's text. (e_select_names_init): get the status message widget from the glade ui. svn path=/trunk/; revision=17889
* [ fixes #19286 ] confirm deletion of contacts when using the menubar orChris Toshok2002-08-282-2/+10
| | | | | | | | | | 2002-08-28 Chris Toshok <toshok@ximian.com> [ fixes #19286 ] * gui/component/addressbook.c (delete_contact_cb): confirm deletion of contacts when using the menubar or toolbar. svn path=/trunk/; revision=17888
* [ fixes #28897 ] set book_data to NULL after clearing/freeing the list.Chris Toshok2002-08-282-0/+8
| | | | | | | | | | | 2002-08-28 Chris Toshok <toshok@ximian.com> [ fixes #28897 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_clear_book_data): set book_data to NULL after clearing/freeing the list. fixes a crash. svn path=/trunk/; revision=17887
* fixes a crash on systems that dont have utf7 in iconv.Not Zed2002-08-285-251/+300
| | | | | | | | | | | | | | 2002-08-28 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-utils.c (imap_mailbox_encode): Chagned to use camel_utf8_utf7 code. (imap_mailbox_decode): As above, using camel_utf8_utf7. 'UTF-7' isn't a widely support iconv() codeset, and besides the new code is simpler. * camel-utf8.[ch]: robust utilities for working with utf8 and utf7. svn path=/trunk/; revision=17886
* [ fixes #20348 ] deprecate "categories" in favor of "category". evolutionChris Toshok2002-08-284-3/+107
| | | | | | | | | | | | | | | | | | | | 2002-08-28 Chris Toshok <toshok@ximian.com> [ fixes #20348 ] * backend/pas/evolutionperson.schema: deprecate "categories" in favor of "category". evolution no longer uses "categories". * backend/pas/pas-backend-ldap.c (category_populate): new function, "category" is the new name, and it's multivalued so we need the complex-prop stuff.. (category_ber): new function, same. (category_compare): new function, same. * gui/component/addressbook.c (addressbook_search_activated): the text is "Category is" so we should use "is" instead of "contains" for the query. svn path=/trunk/; revision=17885
* [ Fixes #14835 ] notify_complete with InvalidQuery if the parse fails.Chris Toshok2002-08-282-2/+8
| | | | | | | | | | 2002-08-27 Chris Toshok <toshok@ximian.com> [ Fixes #14835 ] * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): notify_complete with InvalidQuery if the parse fails. svn path=/trunk/; revision=17883
* [ fixes #26907 ] use beginswith for email.Chris Toshok2002-08-282-2/+8
| | | | | | | | | | 2002-08-27 Chris Toshok <toshok@ximian.com> [ fixes #26907 ] * gui/component/addressbook.c (addressbook_search_activated): use beginswith for email. svn path=/trunk/; revision=17882
* Pass mail_config_get_thread_subject() as the third argument toJeffrey Stedfast2002-08-284-30/+70
| | | | | | | | | | | | | | | | | | | 2002-08-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (regen_list_regen): Pass mail_config_get_thread_subject() as the third argument to camel_folder_thread_messages_new(). * mail-config.c (config_read): Read in the thread_by_subject config option. (mail_config_write_on_exit): Save the thread_by_subject config option. (mail_config_get_thread_subject): New function to get the thread_subject value. (mail_config_set_thread_subject): New function to set the thread_subject value. svn path=/trunk/; revision=17881
* Now takes a third argument to specify whether or not to group messages byJeffrey Stedfast2002-08-283-9/+26
| | | | | | | | | | | | | 2002-08-27 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-thread.c (camel_folder_thread_messages_new): Now takes a third argument to specify whether or not to group messages by subject when threading. It seems some people don't want this feature (see bug #22791 for details). (thread_summary): If thread_by_subject is enabled, group un-threaded messages by subject otherwise don't bother. svn path=/trunk/; revision=17880
* (get_shortcut_info): Make sureEttore Perazzoli2002-08-282-5/+18
| | | | | | | | | *custom_icon_name_return is at least set to NULL on return [it used to leave it uninitialized if the URI was not prefixed with E_SHELL_URI_PREFIX]. Also use e_shell_parse_uri() to parse the URI so we handle the default shortcuts properly, too. svn path=/trunk/; revision=17879
* removed "Set as default" menu itemRadek Doulik2002-08-282-53/+4
| | | | | | | | | 2002-08-27 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): removed "Set as default" menu item svn path=/trunk/; revision=17878
* removed tip frameRadek Doulik2002-08-284-60/+5
| | | | | | | | 2002-08-27 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c: removed tip frame svn path=/trunk/; revision=17877
* Fixes for bug #4480Jeffrey Stedfast2002-08-284-32/+63
| | | | | | | | | | | | | | | | | | 2002-08-27 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #4480 * folder-browser-factory.c (control_activate): Call folder_browser_reload() instead of refreshing the folder ourselves. * folder-browser.c (folder_browser_reload): New convenience function. If the folder-browser's folder is already loaded, refresh the contents, otherwise if the folder has not been loaded - try loading the folder again (it may have failed to open last time for some reason?). svn path=/trunk/; revision=17876
* Fix bug #29493.Peter Williams2002-08-282-0/+6
| | | | | | | | 2002-08-27 Peter Williams <peterw@ximian.com> * mail-format.c (handle_text_plain_flowed): Fix bug #29493. svn path=/trunk/; revision=17875
* use EConfigListener instead of direct access to the bonobo-conf database.Rodrigo Moya2002-08-275-426/+176
| | | | | | | | | | | | | | | | | | | | 2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.c: use EConfigListener instead of direct access to the bonobo-conf database. (calendar_config_init): create the EConfigListener here, and install an atexit function to unref the config listener object. (config_read, property_change_cb, calendar_config_write, calendar_config_write_on_exit): removed unneeded functions. (calendar_config_get_*, calendar_config_set_*): changed to make use of EConfigListener directly. * gui/main.c (main): removed call to calendar_config_write_on_exit. * gui/dialogs/cal-prefs-dialog.c (update_config): removed call to calendar_config_write. svn path=/trunk/; revision=17874
* new functions. (property_change_cb, add_key): added support for FLOATRodrigo Moya2002-08-273-2/+110
| | | | | | | | | | | | 2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c[ch] (e_config_listener_get_float_with_default, e_config_listener_set_boolean, e_config_listener_set_float): new functions. (property_change_cb, add_key): added support for FLOAT values. (e_config_listener_set_string): free strings before returning. svn path=/trunk/; revision=17873
* change prototype for complete_sequence to match sequence_complete.Chris Toshok2002-08-272-3/+9
| | | | | | | | | | 2002-08-26 Chris Toshok <toshok@ximian.com> * printing/e-contact-print.c (complete_sequence): change prototype for complete_sequence to match sequence_complete. (e_contact_print_button): same. svn path=/trunk/; revision=17872
* [ fixes #29446 ] searching_modify_func can be NULL (since we don't requireChris Toshok2002-08-272-1/+10
| | | | | | | | | | | | 2002-08-26 Chris Toshok <toshok@ximian.com> [ fixes #29446 ] * gui/component/addressbook-config.c (scope_optionmenu_activated): searching_modify_func can be NULL (since we don't require changes to enable the "Next" button on this page when you create a directory server.) svn path=/trunk/; revision=17871
* [ Fixes (almost certainly) #24649, #25494, #27351, and other LDAP searchChris Toshok2002-08-272-74/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-26 Chris Toshok <toshok@ximian.com> [ Fixes (almost certainly) #24649, #25494, #27351, and other LDAP search crashes ] * backend/pas/pas-backend-ldap.c (view_destroy): use an EList instead of a GList to store the book_view's so we don't have weird issues with modifying the list while it's being traversed. (find_book_view): same. (create_card_handler): same. (remove_card_handler): same. (modify_card_modify_handler): same. (poll_ldap): same, and also ref the book_view before calling ldap_search_op_timeout (and therefore send_pending_adds). (ldap_search_handler): same. (ldap_op_add): warn about conflicting ldap msgid's (shouldn't ever happen..) (homephone_populate): make this a bit more robust (if values[0] == NULL, values[1] won't be valid). (business_populate): same. (build_card_from_entry): break out of the prop_info loop when we get a match, and only set the simple field if the value != NULL. (ldap_search_dtor): free all the pending adds stuff. (pas_backend_ldap_process_get_book_view): g_list_prepend => e_list_append. (pas_backend_ldap_remove_client): simplify the removing of the book (use g_list_remove instead of searching and then using g_list_remove_link.) (pas_backend_ldap_destroy): unref the book_views list. (pas_backend_ldap_init): initialize the EList for book_views. svn path=/trunk/; revision=17870
* Logic change for when untoggling a message from deleted-dom.Peter Williams2002-08-272-2/+9
| | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * mail-callbacks.c (toggle_flags): Logic change for when untoggling a message from deleted-dom. svn path=/trunk/; revision=17869
* oops, my deadlock fix wasn't quite right. this should work nowJeffrey Stedfast2002-08-271-19/+19
| | | | svn path=/trunk/; revision=17868
* stop the view before unref, in case the listener has pending events.Mike Kestner2002-08-272-0/+6
| | | | | | | | | 2002-08-25 Mike Kestner <mkestner@ximian.com> * gui/widgets/e-addressbook-view.c (remove_book_view): stop the view before unref, in case the listener has pending events. svn path=/trunk/; revision=17867
* If gdk_window_foreign_new returned NULL, we're probably screwed, but tryPeter Williams2002-08-272-0/+15
| | | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * e-dialog-utils.c (set_transient_for_gdk): If gdk_window_foreign_new returned NULL, we're probably screwed, but try to avoid a segfault. (Preemptive fix suggested by kmaraas). svn path=/trunk/; revision=17866
* Enforce the mailer policy that deleted messages are marked as seen. FixesPeter Williams2002-08-272-2/+19
| | | | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * mail-ops.c (transfer_messages_transfer): Enforce the mailer policy that deleted messages are marked as seen. Fixes 29448. This could go in camel_folder_transfer_messages_to, but I don't think we necessarily want to enforce that policy for Camel in general. svn path=/trunk/; revision=17865
* Oops, we were overwriting 'multipart' with our child multipart. FixesPeter Williams2002-08-272-11/+21
| | | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * e-msg-composer.c (handle_multipart): Oops, we were overwriting 'multipart' with our child multipart. Fixes 29399. (handle_multipart_alternative): Here too. svn path=/trunk/; revision=17864
* If the response is NULL, just return. (now works the same way asJeffrey Stedfast2002-08-272-0/+10
| | | | | | | | | | | 2002-08-26 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (camel_imap_response_free_without_processing): If the response is NULL, just return. (now works the same way as imap_response_free which allowed a NULL response argument). Fixes bug #25491. svn path=/trunk/; revision=17863
* removed a no-longer needed #defineJeffrey Stedfast2002-08-271-3/+0
| | | | svn path=/trunk/; revision=17862
* Lock the CamelService->priv->connect_lock instead of using our ownJeffrey Stedfast2002-08-277-103/+98
| | | | | | | | | | | | | | 2002-08-26 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c: * providers/imap/camel-imap-folder.c: * providers/imap/camel-imap-command.c: Lock the CamelService->priv->connect_lock instead of using our own command_lock. This fixes bug #28177. svn path=/trunk/; revision=17861
* call g_strdup in the correct place, or we'll return the internal copy.Rodrigo Moya2002-08-272-2/+7
| | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_get_string_with_default): call g_strdup in the correct place, or we'll return the internal copy. svn path=/trunk/; revision=17860
* Fixes #12326Rodrigo Moya2002-08-265-157/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #12326 * gui/alarm-notify/config-data.c (ensure_inited): create a EConfigListener for configuration access. (do_cleanup): g_atexit installed function, to clean up configuration database resources. (config_data_get_timezone): retrieve the configuration for the EConfigListener object. (config_data_get_listener): new function. * gui/alarm-notify/save.c (get_config_db, discard_config_db): removed. Use EConfigListener instead. (save_notification_time, get_saved_notification_time, save_calendars_to_load, get_calendars_to_load, save_blessed_program, is_blessed_program): use EConfigListener. * gui/alarm-notify/notify-main.c (init_alarm_notify_service): removed. (alarm_notify_factory_fn): create here the alarm_notify_service if it hasn't been created yet. (load_calendars): likewise. (main): don't call init_alarm_notify_service. svn path=/trunk/; revision=17859
* only set the key if the value is different from what we've already readRodrigo Moya2002-08-262-0/+18
| | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_set_long): only set the key if the value is different from what we've already read from the database, to avoid extra change notifications. (e_config_listener_set_string): likewise. svn path=/trunk/; revision=17858
* Updated Hungarian translation.Andras Timar2002-08-262-810/+841
| | | | | | | | 2002-08-25 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=17857
* Updated French translation.Christophe Merlet2002-08-262-697/+782
| | | | svn path=/trunk/; revision=17856
* updatedJeffrey Stedfast2002-08-263-0/+6
| | | | svn path=/trunk/; revision=17854
* If we fail to send the EHLO/HELO command successfully, setJeffrey Stedfast2002-08-242-3/+38
| | | | | | | | | | | | | | | | | | 2002-08-23 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_helo): If we fail to send the EHLO/HELO command successfully, set transport->connected to FALSE when we close the tcp connection. Also updated to work on an IPv6 network. (smtp_connect): transport->authtypes can be NULL, so NULL-protect the call to g_hash_table_size() - this should fix a warning that was reported on the evolution@ximian.com mailing list. (smtp_set_exception): If the status message is multi-line, add a \n between lines. (connect_to_server): If we are going to ignore the EHLO/HELO error as if it were non-fatal, then we should clear the exception. svn path=/trunk/; revision=17852
* Address most of bug #4940. Fails on the last page of the add accountPeter Williams2002-08-242-2/+90
| | | | | | | | | | | | | | | | | | | | | | | 2002-08-23 Peter Williams <peterw@ximian.com> Address most of bug #4940. Fails on the last page of the add account dialog as called from the prefs dialog due to EvolutionWizard being weird. * mail-config-druid.c (goto_next_page): New function, little wrapper around wizard_next_cb. Also potential place to work around EvolutionWizard weirdness in the future. (identity_activate_cb): New function, calls goto_next_page if identity page is complete. (source_activate_cb): Analogous. (transport_activate_cb): Analogous. (management_activate_cb): Analogous. (get_fn): Hook up the activate signals of the various GtkEntries to the correct callbacks above. (management_check): Return the result of the check so that management_activate_cb can use it. svn path=/trunk/; revision=17851
* update more a littleAaron Weber2002-08-241-28/+35
| | | | svn path=/trunk/; revision=17850
* Don't set the item id; clear search isn't in the menu anymore. FixesPeter Williams2002-08-242-1/+5
| | | | | | | | | 2002-08-21 Peter Williams <peterw@ximian.com> * e-search-bar.c (clear_search): Don't set the item id; clear search isn't in the menu anymore. Fixes #29211. svn path=/trunk/; revision=17849
* remove shortcuts that didn't actually get added to the app.Aaron Weber2002-08-231-22/+3
| | | | | | | | | 2002-08-23 Aaron Weber <aaron@ximian.com> * C/preface.sgml: remove shortcuts that didn't actually get added to the app. svn path=/trunk/; revision=17848
* added "key_changed" signal to class. (property_change_cb): emitRodrigo Moya2002-08-233-34/+156
| | | | | | | | | | | 2002-08-22 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: added "key_changed" signal to class. (property_change_cb): emit "key_changed" signal. (e_config_listener_set_long): new function. (e_config_listener_get_long_with_default): new function. svn path=/trunk/; revision=17847
* updatedRadek Doulik2002-08-231-2000/+2297
| | | | svn path=/trunk/; revision=17845
* Reset the X-Evolution-PostTo header.Jeffrey Stedfast2002-08-233-0/+13
| | | | | | | | | | | 2002-08-22 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_restore_xevolution_headers): Reset the X-Evolution-PostTo header. (mail_tool_remove_xevolution_headers): Remove the X-Evolution-PostTo header. svn path=/trunk/; revision=17844
* Fixes bug #29016Jeffrey Stedfast2002-08-233-89/+118
| | | | | | | | | | | | | | | 2002-08-22 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #29016 * e-msg-composer.c (e_msg_composer_new_with_message): If the X-Evolution-PostTo header exists, then treat this message composer as a PostTo composer rather than a mail composer. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal): Set the X-Evolution-PostTo header if that is the mdoe we are in. svn path=/trunk/; revision=17843
* If current_folder is not NULL and the summary for that folder is dirty,Jeffrey Stedfast2002-08-233-8/+36
| | | | | | | | | | 2002-08-22 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (imap_noop): If current_folder is not NULL and the summary for that folder is dirty, sync the flags rather than sending a NOOP. svn path=/trunk/; revision=17842
* Workaround for Courier imap's brokeness when LSUBing the INBOX folder whenJeffrey Stedfast2002-08-233-11/+43
| | | | | | | | | | 2002-08-22 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_parse_list_response): Workaround for Courier imap's brokeness when LSUBing the INBOX folder when it isn't subscribed to. Fixes bug #28929. svn path=/trunk/; revision=17841
* if its a non-participant, add it as a resource to match dialog labelJP Rosevear2002-08-232-2/+17
| | | | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (process_section): if its a non-participant, add it as a resource to match dialog label (set_value_at): if the type is set to be a resource, switch the role to non-participant by default svn path=/trunk/; revision=17840
* change Exchange descriptionAaron Weber2002-08-234-55/+116
| | | | | | | | | | | | | 2002-08-22 Aaron Weber <aaron@ximian.com> * C/usage-mail-org.sgml: change Exchange description * C/config-prefs.sgml: add RDF note to newsfeed item. * C/preface.sgml: update as per Christine's comments in http://bugzilla.ximian.com/show_bug.cgi?id=29239 svn path=/trunk/; revision=17839
* updatedRadek Doulik2002-08-231-2055/+1792
| | | | svn path=/trunk/; revision=17838
* Remove an e_path directory, and its parent "subfolders" dir if it's nowDan Winship2002-08-233-0/+54
| | | | | | | * e-path.c (e_path_rmdir): Remove an e_path directory, and its parent "subfolders" dir if it's now empty. svn path=/trunk/; revision=17837
* Add bug fix number.JP Rosevear2002-08-221-0/+2
| | | | svn path=/trunk/; revision=17836
* if the value given is a date, convert to a time in the current zoneJP Rosevear2002-08-222-4/+17
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (set_completed): if the value given is a date, convert to a time in the current zone svn path=/trunk/; revision=17835
* don't adjust for two digit dates here, the e_time_parse routines do thatJP Rosevear2002-08-223-23/+5
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_parse_date): don't adjust for two digit dates here, the e_time_parse routines do that now svn path=/trunk/; revision=17834
* if the year was two digits, add the current centuryJP Rosevear2002-08-222-1/+25
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * e-time-utils.c (e_time_parse_date): if the year was two digits, add the current century svn path=/trunk/; revision=17833
* Spawn a new thread to ping the server but only if it is connected.Jeffrey Stedfast2002-08-222-4/+62
| | | | | | | | | | | 2002-08-21 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (ping_store): Spawn a new thread to ping the server but only if it is connected. (ping_cb): This needs to return TRUE so the timeout keeps getting called. svn path=/trunk/; revision=17832
* Don't bother overloading the timeout virtual methods since they don'tJeffrey Stedfast2002-08-225-9/+45
| | | | | | | | | | | | 2002-08-21 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (class_init): Don't bother overloading the timeout virtual methods since they don't exist anymore. * mail-folder-cache.c (mail_note_store): Register a ping timeout callback to ping each store to keep the connections alive. svn path=/trunk/; revision=17831
* Don't register the noop timeout here anymore, we're gonna handle all thisJeffrey Stedfast2002-08-224-109/+11
| | | | | | | | | | | 2002-08-21 Jeffrey Stedfast <fejj@ximian.com> * camel-session.c (get_service): Don't register the noop timeout here anymore, we're gonna handle all this in the mailer now. (camel_session_register_timeout): Removed. (camel_session_remove_timeout): Removed. svn path=/trunk/; revision=17830
* Count overdue tasks as tasks due todayIain Holmes2002-08-212-1/+6
| | | | svn path=/trunk/; revision=17829
* not sure what i was thinking here... the EBook isn't valid if we couldn'tChris Toshok2002-08-212-7/+9
| | | | | | | | | | 2002-08-20 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): not sure what i was thinking here... the EBook isn't valid if we couldn't open it, so we can't turn around and query it for its capabilities. svn path=/trunk/; revision=17827
* be sure that widget is realized so that e_utf8_from_gtk_string worksRadek Doulik2002-08-212-0/+10
| | | | | | | | | | 2002-08-20 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): be sure that widget is realized so that e_utf8_from_gtk_string works properly (footer_print_cb): save/restore svn path=/trunk/; revision=17826
* guard against the view_instance disappearing during earlier CORBA work.Mike Kestner2002-08-212-0/+10
| | | | | | | | | 2002-08-20 Mike Kestner <mkestner@ximian.com> * folder-browser-ui.c (folder_browser_ui_setup_view_menus): guard against the view_instance disappearing during earlier CORBA work. svn path=/trunk/; revision=17825
* up the timeout to 10 minutesJeffrey Stedfast2002-08-211-1/+1
| | | | svn path=/trunk/; revision=17823
* Override the default noop implementation.Jeffrey Stedfast2002-08-215-3/+100
| | | | | | | | | | | | | | | 2002-08-20 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (imap_noop): Override the default noop implementation. * camel-store.c (camel_store_noop): New virtual method to ping a store. * camel-session.c (get_service): Register a timeout that calls camel_store_noop() every 10 minutes. svn path=/trunk/; revision=17822
* Once we hit the target node, update the cursor_uid if it's set. FixesPeter Williams2002-08-212-0/+9
| | | | | | | | | 2002-08-20 Peter Williams <peterw@ximian.com> * message-list.c (search_func): Once we hit the target node, update the cursor_uid if it's set. Fixes #29085. svn path=/trunk/; revision=17821
* Plug some large leaks in the indexing code.Peter Williams2002-08-213-4/+18
| | | | | | | | | | | | | | | | | 2002-08-19 Peter Williams <peterw@ximian.com> Plug some large leaks in the indexing code. * camel-mime-filter-index.c (camel_mime_filter_index_set_index): Unref the old index if necessary. * camel-text-index.c (camel_text_index_get_type): Give it the correct parent type so that finalize handlers chain. (camel_text_index_name_get_type): Here too. (camel_text_index_cursor_get_type): Here too. (camel_text_index_key_cursor_get_type): Here too. svn path=/trunk/; revision=17820
* Don't let the minimum recursive depth be negative. (get_folders): PassJeffrey Stedfast2002-08-212-6/+12
| | | | | | | | | | | | 2002-08-20 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (get_folders): Don't let the minimum recursive depth be negative. (get_folders): Pass flags & CAMEL_FOLDER_INFO_SUBSCRIBED as the `lsub' argument to get_folders_online() otherwise we'll end up doing a LIST when we really wanted to do an LSUB. svn path=/trunk/; revision=17819
* don't set the tasks ui component until the container is set, remove unusedJP Rosevear2002-08-212-5/+8
| | | | | | | | | | 2002-08-20 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (tasks_control_activate): don't set the tasks ui component until the container is set, remove unused pixmaps svn path=/trunk/; revision=17818
* Set CAMEL_URL_NEED_PATH for the vFolder provider.Jeffrey Stedfast2002-08-213-7/+12
| | | | | | | | | 2002-08-20 Jeffrey Stedfast <fejj@ximian.com> * camel-session.c: Set CAMEL_URL_NEED_PATH for the vFolder provider. svn path=/trunk/; revision=17817
* new class for config database access and monitoring.Rodrigo Moya2002-08-204-0/+375
| | | | | | | | | | | 2002-08-16 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: new class for config database access and monitoring. * Makefile.am: added new files. svn path=/trunk/; revision=17816
* add the listener_id slot.Chris Toshok2002-08-203-11/+23
| | | | | | | | | | | | | | | | | 2002-08-19 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.h: add the listener_id slot. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_new): store off the listener_id. (e_select_names_manager_destroy): remove the bonobo listener - fixes a crash when modifying the completion folders after you bring up a compose window. (e_select_names_manager_entry_new): another random timeout change - make the completion at 100ms. svn path=/trunk/; revision=17815
* take and pass the CallStatus to our listener.Chris Toshok2002-08-2019-31/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-19 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book-view.c (pas_book_view_notify_complete): take and pass the CallStatus to our listener. * backend/pas/pas-book-view.h: change the prototype for notify_complete to include the CallStatus. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_seq_complete_cb): add the status arg. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): init the search_result signal. (e_addressbook_view_init): connect to the model's search_result signal. (emit_search_result): emit our search_result signal. (search_result): call emit_search_result. * gui/widgets/e-addressbook-view.h (struct _EAddressbookViewClass): add the search_result signal. * gui/widgets/e-addressbook-model.c (sequence_complete): emit both a "search_result" as well as the "stop_state_changed" signal. (e_addressbook_model_class_init): init the search_result signal. * gui/widgets/e-addressbook-model.h: add search_result signal. * gui/component/addressbook.c (search_result): pop up a dialog telling the user why the search failed or was truncated. (addressbook_factory_new_control): connect to the "search_result" signal on the view. * conduit/address-conduit.c (sequence_complete): add the status parameter to sequence_complete. * backend/idl/addressbook.idl: add BookViewListener_CallStatus, and change notifySequenceComplete to take a CallStatus. * backend/pas/pas-backend-ldap.c (create_card_handler): pass status back in the notify_complete call. (remove_card_handler): same. (modify_card_modify_handler): same (ldap_search_handler): same, and parse out the ldap return code so we can report limits being properly. * backend/pas/pas-backend-file.c (do_summary_query): pass status back in the notify_complete call. (pas_backend_file_search): same, and get rid of the status_message, as the status is passed back properly. (pas_backend_file_search): pass status back in the notify_complete call. (pas_backend_file_changes): same. (pas_backend_file_process_create_card): same. (pas_backend_file_process_remove_card): same. (pas_backend_file_process_modify_card): same. * backend/ebook/e-book-util.c (simple_query_sequence_complete_cb): add status parameter. * backend/ebook/e-book-view-listener.c (e_book_view_listener_queue_status_event): change name from _queue_empty_event, and take a status arg. (e_book_view_listener_queue_id_event): init resp->status (to SUCCESS). (e_book_view_listener_queue_sequence_event): same. (e_book_view_listener_queue_message_event): same. (impl_BookViewListener_notify_sequence_complete): call queue_status_event, and convert the corba status to EBookViewStatus. (e_book_view_listener_convert_status): new function, conver the corba status to EBookViewStatus. * backend/ebook/e-book-view-listener.h: add a "status" slot to EBookViewListenerResponse. * backend/ebook/e-book-view.h: change prototype for sequence_complete signal. * backend/ebook/e-book-view.c (e_book_view_do_complete_event): sequence_complete takes a parameter now (EBookViewStatus). (e_book_view_class_init): add the enum arg to the signal. * backend/ebook/e-book-types.h: add EBookViewStatus enum. svn path=/trunk/; revision=17814
* disconnect destroy signal callbacks on tablesJP Rosevear2002-08-202-3/+13
| | | | | | | | | | | 2002-08-19 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (destroy): disconnect destroy signal callbacks on tables Fixes #28231 svn path=/trunk/; revision=17813
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-08-202-493/+529
| | | | | | | | 2002-08-20 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17812
* add "cache-completions" here, since file completion results are blanketChris Toshok2002-08-203-3/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-19 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_get_static_capabilities): add "cache-completions" here, since file completion results are blanket cached (as they're generated from a summary). * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_get_cursor): there should be no search limit on the get_cursor_request, as it's meant to match every card it can. (ldap_search_handler): parse the ldap result in the RES_SEARCH_RESULT case. we'll want more here soon, so we can notify the front end if the result was truncated due to either the size or time limit being exceeded. (pas_backend_ldap_process_get_book_view): in the case of a completion view, we hardcode (yeah yeah, i know, but really) the search limit to MIN (100, user-specified-limit). (pas_backend_ldap_search): each view has its own limit now, defaulting from the user specified one for normal searches but possibly different for completion views. use the view's limit here. svn path=/trunk/; revision=17811
* clone the ical component before adding itJP Rosevear2002-08-202-1/+13
| | | | | | | | | | | 2002-08-20 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical component before adding it Fixes #29061 svn path=/trunk/; revision=17810
* Changed the STOREINFO_VERSION - should fix bug #28571, but if it doesn't -Jeffrey Stedfast2002-08-202-1/+5
| | | | | | | | | | 2002-08-19 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c: Changed the STOREINFO_VERSION - should fix bug #28571, but if it doesn't - oh well, I don't care. I'm considering it fixed no matter what. svn path=/trunk/; revision=17809
* Updated Bulgarian translation. Not full: +~300 location places to 4305Yanko Kaneti2002-08-202-542/+609
| | | | | | | | | 002-08-20 Yanko Kaneti <yaneti@declera.com> * bg.po: Updated Bulgarian translation. Not full: +~300 location places to 4305 translated. svn path=/trunk/; revision=17808
* If the diagnostics are empty, just explain that gpg failed to execute.Jeffrey Stedfast2002-08-202-6/+25
| | | | | | | | | | | 2002-08-19 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_sign): If the diagnostics are empty, just explain that gpg failed to execute. (gpg_encrypt): Same. (gpg_decrypt): And here too. svn path=/trunk/; revision=17807
* Fix a copy/paste-o. Use the pgp_path GnomeFileEntry widget rather than theJeffrey Stedfast2002-08-202-1/+8
| | | | | | | | | | | 2002-08-19 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_apply): Fix a copy/paste-o. Use the pgp_path GnomeFileEntry widget rather than the notify_sound_file GnomeFileEntry widget for the pgp path stuff :-) svn path=/trunk/; revision=17806
* Updated to pass the needed arguments to camel_init() and to init gthreadsJeffrey Stedfast2002-08-2032-357/+206
| | | | | | | | | | | | | | | | 2002-08-19 Jeffrey Stedfast <fejj@ximian.com> * tests/lib/camel-test.c (camel_test_init): Updated to pass the needed arguments to camel_init() and to init gthreads before camel (since camel expectes it to be initialised already). * tests/lib/session.c: #include <config.h> needed for ENABLE_THREADS so that sizeof (CamelSessionClass) gives the correct size. * tests/*: Updated to work with camel API changes. svn path=/trunk/; revision=17805
* Get the "addresses" property of the select names control rather thanDan Winship2002-08-202-5/+6
| | | | | | | | * e-shell-shared-folder-picker-dialog.c (show_dialog): Get the "addresses" property of the select names control rather than "text", so we get the email address too. #28953 svn path=/trunk/; revision=17804
* add an "addresses" property, to get the "Dan Winship <danw@ximian.com>"Dan Winship2002-08-202-0/+29
| | | | | | | | | | | | * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): add an "addresses" property, to get the "Dan Winship <danw@ximian.com>" form, as opposed to "text", which gets you what's displayed, which might be just "Dan Winship". (entry_set_property_fn): When setting, just reuse the "text" code, since it should properly cardify everything for us anyway. (impl_SelectNames_get_entry_for_section): Add the property. svn path=/trunk/; revision=17803
* make sure to get the date in the current zone, not at UTCJP Rosevear2002-08-202-1/+6
| | | | | | | | | 002-08-20 JP Rosevear <jpr@ximian.com> * gui/comp-editor-factory.c (get_default_event): make sure to get the date in the current zone, not at UTC svn path=/trunk/; revision=17802
* (mail_account_gui_save): Fix the saving of STORE_AND_TRANSPORTDan Winship2002-08-202-3/+7
| | | | | | | transports and add a comment so it doesn't get mistakenly unfixed again. svn path=/trunk/; revision=17801
* source_type_changed may try to change the transport optionmenuDan Winship2002-08-202-4/+13
| | | | | | | | | * mail-account-gui.c (mail_account_gui_setup): source_type_changed may try to change the transport optionmenu (incorrectly in this case), so don't call gtk_option_menu_set_history on it until after emitting "activate" on the source type menuitem. svn path=/trunk/; revision=17800
* Fix the names of these functions. (They previously used "register" insteadDan Winship2002-08-195-8/+20
| | | | | | | | | | | | | | * e-folder-type-registry.c (e_folder_type_registry_type_registered, e_folder_type_registry_unregister_type): Fix the names of these functions. (They previously used "register" instead of "registry".) * e-component-registry.c (register_type): Update for renaming * e-local-storage.c (load_folder): Likewise svn path=/trunk/; revision=17799
* stop adding redundant information for start/end/due/complete timesJP Rosevear2002-08-192-42/+33
| | | | | | | | | | | | | 2002-08-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): stop adding redundant information for start/end/due/complete times (write_html): convert newlines properly and escape characters for summary, location, description; put text information on separate line from bolded title to make it look nicer when there are line breaks svn path=/trunk/; revision=17798
* If the passed-in URL contains a path, but the service doesn't allow paths,Dan Winship2002-08-192-0/+12
| | | | | | | | * camel-session.c (get_service): If the passed-in URL contains a path, but the service doesn't allow paths, then the path part must be a folder name, and we should ignore it here. #29010 svn path=/trunk/; revision=17797
* Use an EvolutionFolderSelectorButton instead of a label to indicate theDan Winship2002-08-192-7/+22
| | | | | | | | | | | | * e-msg-composer-hdrs.c (create_headers): Use an EvolutionFolderSelectorButton instead of a label to indicate the posting destination. #27920. (e_msg_composer_hdrs_set_post_to): Use evolution_folder_button_set_uri. (e_msg_composer_hdrs_get_post_to): Use evolution_folder_button_get_folder. svn path=/trunk/; revision=17796
* If the selected URI is of an invalid type, don't accept it.Dan Winship2002-08-173-45/+101
| | | | | | | | | | | * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): If the selected URI is of an invalid type, don't accept it. (evolution_folder_selector_button_get_folder): Returns the selected folder. (various): updates to support get_folder, and to simplify. svn path=/trunk/; revision=17794
* Change this into a GnomeApp so we get a statusbar and the dialog is aPeter Williams2002-08-174-83/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * subscribe-dialog.c: Change this into a GnomeApp so we get a statusbar and the dialog is a little more comprehensible. * subscribe-dialog.c: (struct _FolderETree): Add members for tracking activity callback information. (get_short_folderinfo_got): Notify the activity callback. (subscribe_get_short_folderinfo): Here too. (folder_etree_init): Initialize the activity level to 0. (folder_etree_construct): Take new parameters of our activity callback and user_data. (folder_etree_new): Here too. (store_data_get_widget): Take the parameters here and pass them on. (sc_close_pressed): New callback for when close button is pressed. (sc_activity_timeout): New timeout to move the activity bar when folders are being scanned. (sc_activity_cb): If activity_level > 0, start the progressbar moving and set the status. (menu_item_selected): Pass the callback to store_data_get_widget. (subscribe_dialog_construct): Load some more widgets and adapt to some changes in the XML. Also connect the close button signal and initialize the progress bar's settings. * mail-callbacks.c (manage_subscriptions): Don't call gnome_dialog_set_close on it anymore since it's no longer a gnome dialog. svn path=/trunk/; revision=17793
* fix c&p error that was losing the ssl setting.Chris Toshok2002-08-172-1/+7
| | | | | | | | | | 2002-08-16 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): fix c&p error that was losing the ssl setting. svn path=/trunk/; revision=17792
* err, oops.Chris Toshok2002-08-171-2/+0
| | | | svn path=/trunk/; revision=17791
* remove the outer parens from the expansion of camel_argv_{start,end} sinceChris Toshok2002-08-172-2/+10
| | | | | | | | | | 2002-08-16 Chris Toshok <toshok@ximian.com> * camel-arg.h: remove the outer parens from the expansion of camel_argv_{start,end} since at least on freebsd va_end is #defined to be nothing, so (va_end(..)) causes a syntax error. svn path=/trunk/; revision=17790
* Added new library to scan programRodrigo Moya2002-08-161-0/+1
| | | | svn path=/trunk/; revision=17789
* Import into the default book not the local oneIain Holmes2002-08-163-1/+19
| | | | svn path=/trunk/; revision=17788
* added internal EComponentListener object, to listen for the activated Cal.Rodrigo Moya2002-08-165-0/+89
| | | | | | | | | | | | | | | | | | | | 2002-08-16 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch]: added internal EComponentListener object, to listen for the activated Cal. (cal_client_class_init): added "backend_died" signal. (cal_client_destroy): clean up component listener. (backend_died_cb): new callback for getting signals from the EComponentListener. (cal_opened_cb): setup component listener. * cal-client/Makefile.am: added libetuil to needed LIBS. * gui/gnome-cal.c (backend_died_cb): new callback. (gnome_calendar_construct): connect to "backend_died" signal on all CalClient's we create. svn path=/trunk/; revision=17787
* new class for controlling a component, to detect when it dies.Rodrigo Moya2002-08-164-0/+284
| | | | | | | | | 2002-08-14 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.[ch]: new class for controlling a component, to detect when it dies. svn path=/trunk/; revision=17786
* new function to save a little typing. (find_book_view): same.Chris Toshok2002-08-162-96/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-16 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (book_view_notify_status): new function to save a little typing. (find_book_view): same. (pas_backend_ldap_connect): reorder things a bit - set the version to VERSION3 *before* doing TLS, as tls requires v3, and if we're doing ldaps://, do tls a little differently (not sure if this is strictly necessary, but the openldap source did it.. *shrug*). also, guard the schema check as this function can be called multiple times for the same server (if the server goes down or times us out.) (pas_backend_ldap_reconnect): new function, reconnect and if necessary reauth the user. (pas_backend_ldap_process_create_card): use find_book_view/book_view_notify_status/pas_backend_ldap_reconnect. (pas_backend_ldap_process_remove_card): same. (pas_backend_ldap_process_modify_card): same. (pas_backend_ldap_process_get_vcard): same. (pas_backend_ldap_process_get_cursor): same. (pas_backend_ldap_search): same. (poll_ldap): reconnect if ldap_result returns -1. (pas_backend_ldap_process_authenticate_user): ick ick ick save off the dn/passwd we auth with so we can use them to reauthenticate. svn path=/trunk/; revision=17785
* Ugh, actually do what i just said i did, last patch wasMichael Zucci2002-08-161-1/+1
| | | | | | wrong. svn path=/trunk/; revision=17784
* Fix the logic check for working out if we add inbox or not, we do it if weNot Zed2002-08-162-2/+10
| | | | | | | | | | 2002-08-16 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (get_folders): Fix the logic check for working out if we add inbox or not, we do it if we listed the namespace. svn path=/trunk/; revision=17783
* [ fix 27333 ] "local" -> "do-initial-query".Chris Toshok2002-08-164-19/+52
| | | | | | | | | | | | | | | | | | | | | | 2002-08-16 Chris Toshok <toshok@ximian.com> [ fix 27333 ] * gui/widgets/e-addressbook-model.c (get_view): "local" -> "do-initial-query". * backend/pas/pas-backend-file.c (pas_backend_file_get_static_capabilities): "local" -> "local,do-initial-query". * gui/widgets/e-addressbook-model.c (get_view): "local" -> "do-initial-query". * gui/component/addressbook.c (book_open_cb): Only assume the addressbook is local if "local" appears in its static capabilities. We still use the ldap special case, but be nicer to other networked backends. svn path=/trunk/; revision=17782
* Updated Bulgarian translation. Not full: +~400 location places to 3991.Yanko Kaneti2002-08-162-750/+730
| | | | | | | | | 2002-08-16 Yanko Kaneti <yaneti@declera.com> * bg.po: Updated Bulgarian translation. Not full: +~400 location places to 3991. svn path=/trunk/; revision=17781
* ref/unref the gvmMike Kestner2002-08-152-0/+8
| | | | | | | | 2002-08-15 Mike Kestner <mkestner@ximian.com> * menus/gal-view-menus.c (build_stuff): ref/unref the gvm svn path=/trunk/; revision=17780
* Don't turn on pgp signing if this is an iMIP message and pgp_no_imip_signDan Winship2002-08-152-1/+17
| | | | | | | | | * e-msg-composer.c (from_changed_cb): Don't turn on pgp signing if this is an iMIP message and pgp_no_imip_sign is set. (e_msg_composer_set_body): If setting a text/calendar body and pgp_no_imip_sign is true, turn off signing. svn path=/trunk/; revision=17779
* Add a "don't sign meeting requests" option to the security pane, sinceDan Winship2002-08-156-0/+42
| | | | | | | | | | | | | | | * mail-config.glade: Add a "don't sign meeting requests" option to the security pane, since some versions of Outlook won't recognize pgp-signed meeting requests. Sigh. * mail-config.c (account_copy, config_read, mail_config_write): Handle pgp_no_imip_sign. * mail-account-gui.c (mail_account_gui_new, mail_account_gui_save): Setup/save "don't sign meeting requests" button. svn path=/trunk/; revision=17778
* added a flags field, defined some flags, currently only used by imap. ThisNot Zed2002-08-156-193/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-15 Not Zed <NotZed@Ximian.com> * camel-store.h (CamelFolderInfo): added a flags field, defined some flags, currently only used by imap. This and below is first step to getting incremental folder tree loading. * providers/imap/camel-imap-store.c (get_subscribed_folders): If the subscribed list is empty, always add inbox. (imap_connect_offline): If the 'storeinfo' namespace isn't the same as our own (if its set), then ignore it, assume we changed settings. Otherwise you can't change the namespace ... (get_folders): allow the env variable CAMEL_IMAP_MAX_DEPTH to override the default maximum recursion depth if 10 levels. (camel_imap_store_readline): Dont depend the log debug on d(x) being defined. (get_folder_info_online): changed to use new functions/names. 2002-08-14 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (get_subscribed_folders): Removed the by_hand sillyness. Return an array instead. (get_folders): New method to get folders recursively without having to use '*'. Uses '%', and stops if it gets too deep (current max of 10). (get_folder_counts): New method to fill out unread counts on folderinfo tree. (get_subscribed_folders): Fix some failure logic. * providers/imap/camel-imap-utils.[ch]: Changed IMAP_LIST_FLAGS to use the new CamelFolderInfoFlags directly. svn path=/trunk/; revision=17777
* listen for the time editors to changeJP Rosevear2002-08-154-7/+89
| | | | | | | | | | | | | | | | | | | | | | | 2002-08-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (init_widgets): listen for the time editors to change (cal_prefs_dialog_start_of_day_changed): make sure the start is never after the end (cal_prefs_dialog_end_of_day_changed): make sure the end is never after the start * gui/e-meeting-time-sel.c (e_meeting_time_selector_set_working_hours): make sure to show a minimum of 1 hour for work day * gui/e-day-view-main-item.c (e_day_view_main_item_draw): calculate the work/not working color boxes to the nearest pixel, rather the the nearest time division Fixes #10286, #26285 svn path=/trunk/; revision=17776
* Use the default uris instead of always changing to localIain Holmes2002-08-143-7/+41
| | | | svn path=/trunk/; revision=17775
* Sort tasks in the correct orderIain Holmes2002-08-142-0/+12
| | | | svn path=/trunk/; revision=17774
* Use the task components coloursIain Holmes2002-08-142-3/+35
| | | | svn path=/trunk/; revision=17773
* Make the warning dialog display the message subject so that it is moreJeffrey Stedfast2002-08-142-12/+28
| | | | | | | | | | 2002-08-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): Make the warning dialog display the message subject so that it is more clear which composer the dialog is referring to. Fixes bug #25467. svn path=/trunk/; revision=17772
* Removed an unused variable.Jeffrey Stedfast2002-08-143-2/+10
| | | | | | | | | | | 2002-08-13 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_message): Removed an unused variable. * mail-account-editor.c (construct): Set the focus on the Account Name entry widget. Fixes bug #10350. svn path=/trunk/; revision=17771
* Remove a bunch of old #if 0 code. (update_item): SetDan Winship2002-08-144-180/+28
| | | | | | | | | | | | | * gui/e-itip-control.c: Remove a bunch of old #if 0 code. (update_item): Set X-MICROSOFT-CDO-REPLYTIME here. * gui/itip-utils.c (comp_toplevel_with_zones): Don't set it here. * cal-util/cal-component.c (ensure_mandatory_properties): Use icaltime_current_time_with_zone rather than rolling our own. (cal_component_strip_errors): Remove unused variable. svn path=/trunk/; revision=17770
* Update po files to speed up snap build.JP Rosevear2002-08-1339-63863/+80452
| | | | svn path=/trunk/; revision=17769
* set status message on ECalendarTable when opening the tasks.Rodrigo Moya2002-08-132-1/+31
| | | | | | | | | | | | 2002-08-13 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): set status message on ECalendarTable when opening the tasks. (client_cal_opened_cb): set ECalendarTable status message to NULL when we open the tasks folder. Also, clear up calendar status message in all cases, not only if the folder was opened successfully. svn path=/trunk/; revision=17768
* set status message to NULL if there is an error opening the calendar.Rodrigo Moya2002-08-132-2/+9
| | | | | | | | | | | 2002-08-13 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): set status message to NULL if there is an error opening the calendar. (client_cal_opened_cb): set status message to NULL only when we have successfully opened the main CalClient. svn path=/trunk/; revision=17767
* Use default book, not local one.Dan Winship2002-08-134-3/+12
| | | | | | | | | | | * tools/evolution-addressbook-import.c (main): Use default book, not local one. * tools/evolution-addressbook-export.c (main): Likewise. * tools/evolution-addressbook-abuse.c (abuse_timeout): Likewise. svn path=/trunk/; revision=17766
* Replace no-longer-existent e_book_query_address_locally withDan Winship2002-08-132-1/+6
| | | | | | | * mail-display.c (on_url_requested): Replace no-longer-existent e_book_query_address_locally with e_book_query_address_default. svn path=/trunk/; revision=17765
* If invoked from a non-contact folder, add the contact to the defaultDan Winship2002-08-1312-104/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (user_create_new_item_cb): If invoked from a non-contact folder, add the contact to the default contact folder, not the local one. If invoked from a contact folder, don't append "addressbook.db" to the URI, let ebook do the right thing. Fixes #28327 and #28325. * backend/idl/addressbook.idl (CallStatus): Add NoSuchBook. (Initially intended as part of a fix for #28327, but the other changes make it so the error code never ends up getting used any more, but it's still good to have.) * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): Handle NO_SUCH_BOOK. * backend/ebook/e-book-types.h (EBookStatus): Add E_BOOK_STATUS_NO_SUCH_BOOK. * backend/ebook/e-book-listener.c (e_book_listener_convert_status): add case for NoSuchBook. * backend/ebook/e-book-util.c (e_book_load_local_address_book): Kill this. Nothing should ever explicitly load the local addressbook. (e_book_use_default_book): Replaces e_book_use_local_address_book, using the default book instead. (e_book_default_book_open): Fall back to local contact folder on E_BOOK_STATUS_NO_SUCH_BOOK too. (e_book_query_address_default): Use default book, not local. * gui/component/e-address-widget.c (query_idle_fn): Use the default book, not the local book. * gui/component/select-names/e-select-names-popup.c (edit_contact_info_cb): Use the default book, not the local book. * backend/ebook/e-destination.c (e_destination_cardify): Use the default book, not the local book. (e_destination_touch): Query the default book, not the local book. * backend/ebook/e-card-compare.c (e_card_locate_match, e_card_locate_match_full): Use the default book, not the local book. svn path=/trunk/; revision=17764
* Set the file-selection window icon. Fixes the mailer part of bug #7368.Jeffrey Stedfast2002-08-135-53/+64
| | | | | | | | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Set the file-selection window icon. Fixes the mailer part of bug #7368. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't call new_from_mime_part() since that function now does some copying of the mime part rather than simply reffing it. (e_msg_composer_attachment_new_from_mime_part): Make a copy of the MIME part so that if the message that this part belongs to gets deleted from the the remote store, the composer will still have a copy of it. Fixes bug #20308. svn path=/trunk/; revision=17763
* Use mail_get_messages() instead of mail_get_message().Jeffrey Stedfast2002-08-132-7/+11
| | | | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_message): Use mail_get_messages() instead of mail_get_message(). (do_forward_non_attached): Fixed to work as a callback from mail_get_messages(). (do_edit_messages): Only set the drafts_folder and drafts_uid if the folder-browser is a drafts folder. Fixes bug #28863. svn path=/trunk/; revision=17762
* Use mail_get_messages() instead of mail_get_message().Jeffrey Stedfast2002-08-132-31/+35
| | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_message): Use mail_get_messages() instead of mail_get_message(). (do_forward_non_attached): Fixed to work as a callback from mail_get_messages(). svn path=/trunk/; revision=17761
* Don't call new_from_mime_part() since that function now does some copyingJeffrey Stedfast2002-08-132-9/+36
| | | | | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't call new_from_mime_part() since that function now does some copying of the mime part rather than simply reffing it. (e_msg_composer_attachment_new_from_mime_part): Make a copy of the MIME part so that if the message that this part belongs to gets deleted from the the remote store, the composer will still have a copy of it. Fixes bug #20308. svn path=/trunk/; revision=17760
* Remove duff URIs and comment out the set_release call until I know what it ↵Iain Holmes2002-08-132-5/+7
| | | | | | does and why it's crashing svn path=/trunk/; revision=17759
* Update required gal and gtkhtml dependency information.Jeffrey Stedfast2002-08-112-3/+7
| | | | | | | | 2002-08-11 Jeffrey Stedfast <fejj@ximian.com> * README: Update required gal and gtkhtml dependency information. svn path=/trunk/; revision=17758
* New function, generate a UID that has better chances of being unique.Peter Williams2002-08-102-6/+26
| | | | | | | | | | | 2002-08-02 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (get_temp_uid): New function, generate a UID that has better chances of being unique. (imap_append_offline): Use it here. (imap_transfer_offline): And here. svn path=/trunk/; revision=17757
* If the ccd is NULL, create a new ccd, disconnect the old signal handlers,Jeffrey Stedfast2002-08-102-4/+54
| | | | | | | | | | | | 2002-08-09 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (save_draft_done): If the ccd is NULL, create a new ccd, disconnect the old signal handlers, and then reconnect the signal handlers using the non-NULL ccd as the user_data. (composer_send_queued_cb): Same, but only if the queue append operation failed. svn path=/trunk/; revision=17756
* Tweak how we build the tree based on whether a full tree or a subtree isPeter Williams2002-08-102-1/+31
| | | | | | | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-store.c (get_folder_info_online): Tweak how we build the tree based on whether a full tree or a subtree is being requested. Fixes subscribe dialog on UW servers. (get_one_folder_offline): Don't add folders that we're not subscribed to; fixes UW folders that weren't being marked as NoSelect because the storeinfo doesn't record that information. svn path=/trunk/; revision=17755
* Handle the fact that ccd may be NULL (if the composer was created viaDan Winship2002-08-102-7/+13
| | | | | | | | * mail-callbacks.c (composer_send_queued_cb, save_draft_done): Handle the fact that ccd may be NULL (if the composer was created via CORBA). Quick temporary fix for sending meeting requests. svn path=/trunk/; revision=17754
* set the editor to changed so the item actually gets savedJP Rosevear2002-08-102-0/+7
| | | | | | | | | 2002-08-09 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (real_send_comp): set the editor to changed so the item actually gets saved svn path=/trunk/; revision=17753
* When renaming our cache, add the "/folders" to the path.Peter Williams2002-08-102-1/+9
| | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_rename): When renaming our cache, add the "/folders" to the path. svn path=/trunk/; revision=17752
* When a URI is changed, try to copy over threaded view settings, previewPeter Williams2002-08-102-0/+71
| | | | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_uri_renamed): When a URI is changed, try to copy over threaded view settings, preview pane shown settings, headers, hide state, tree expansion, and GAL view files. (uri_to_evname): New utility function. svn path=/trunk/; revision=17751
* Remove both timeouts when the dialog is destroyed, not just one of them.Dan Winship2002-08-104-44/+76
| | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (create_progress_dialog): Remove both timeouts when the dialog is destroyed, not just one of them. (shared_folder_discovery_listener_callback): Don't try to access fields of discovery_data after destroying it. Interpret the result argument correctly, and put up an error dialog (using e_corba_storage_corba_result_to_storage_result and e_storage_result_to_string) if something went wrong. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): convert a GNOME_Evolution_Storage_Result to an EStorageResult. (async_folder_cb): Use that. svn path=/trunk/; revision=17750
* initialize summary->upgraded to quiet valgrind.Chris Toshok2002-08-092-0/+6
| | | | | | | | | 2002-08-08 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (pas_backend_summary_init): initialize summary->upgraded to quiet valgrind. svn path=/trunk/; revision=17749
* Instead of comparing old/new CamelStore objects, just compare theirJeffrey Stedfast2002-08-092-55/+23
| | | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Instead of comparing old/new CamelStore objects, just compare their account urls since changing params would still result in the same CamelStore object. Fixes bug #18539. svn path=/trunk/; revision=17748
* check for an attendee in the list (comp_to_list): only add the user ifJP Rosevear2002-08-094-60/+57
| | | | | | | | | | | | | | | | | | 2002-08-08 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (users_has_attendee): check for an attendee in the list (comp_to_list): only add the user if they aren't on the list (comp_server_send): don't remove the users, pass back the list (itip_send_comp): send to server before doing comp_minimal * gui/dialogs/comp-editor.c (real_send_comp): edit and save the updated comp * pcs/cal.c (impl_Cal_send_object): copy the correct item to pass back svn path=/trunk/; revision=17747
* Only get folder info if this is a folder we're displaying.Dan Winship2002-08-092-29/+19
| | | | | | | * e-summary-mail.c (update_folder_cb): Only get folder info if this is a folder we're displaying. svn path=/trunk/; revision=17746
* Initialize loaded_backends before using it. (Just kills off a harmlessDan Winship2002-08-092-9/+17
| | | | | | | | * pcs/query-backend.c (query_backend_new): Initialize loaded_backends before using it. (Just kills off a harmless g_warning.) svn path=/trunk/; revision=17745
* Fixes #15710Rodrigo Moya2002-08-085-1/+63
| | | | | | | | | | | | | | | | | | | 2002-08-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * cal-util/cal-component.[ch] (cal_component_alarm_get_icalcomponent): new function for getting the icalcomponent from a CalComponentAlarm. * gui/comp-util.c (cal_comp_event_new_with_defaults): added X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder alarm, so that we can identify it when saving the component. * gui/dialogs/alarm-page.c (alarm_page_fill_component): if the alarm has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the description to be the same as of the component. svn path=/trunk/; revision=17744
* Set some default permanent_flags. This is the other cause of bug #28038.Jeffrey Stedfast2002-08-082-3/+16
| | | | | | | | | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set some default permanent_flags. This is the other cause of bug #28038. (imap_refresh_info): After calling camel_imap_command() with a NULL format value (this is a shortcut to change the current_folder by SELECTing it), call camel_imap_folder_selected(). This may have been why permanent_flags never got set on the folder even after going online in bug #28038. (imap_update_summary): Same here. Also NULL-guard camel_imap_response_free(). svn path=/trunk/; revision=17743
* oops, forgot to save before I commit'd apparentlyJeffrey Stedfast2002-08-081-3/+0
| | | | svn path=/trunk/; revision=17742
* Set some default permanent_flags. This is the other cause of bug #28038.Jeffrey Stedfast2002-08-082-0/+9
| | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set some default permanent_flags. This is the other cause of bug #28038. svn path=/trunk/; revision=17741
* Don't check permanent_flags for the CAMEL_MESSAGE_DELETED bit here, if weJeffrey Stedfast2002-08-082-0/+8
| | | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (delete_msg): Don't check permanent_flags for the CAMEL_MESSAGE_DELETED bit here, if we are gonna check to see if the folder supports the permanent flag then there are better places to check this. Besides, it was the cause for bug #28038. svn path=/trunk/; revision=17740