aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly handle user cancellation for signing/encrypting, just dont signNot Zed2002-06-043-14/+73
| | | | | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): Properly handle user cancellation for signing/encrypting, just dont sign but create anyway. (e_msg_composer_get_subject): Wrapper function to get the subject from the header object. (e_msg_composer_get_to): (e_msg_composer_get_cc): (e_msg_composer_get_bcc): Same for the destination types. svn path=/trunk/; revision=17091
* Allocate a new FileInfo struct here rather than using and unref it whenJeffrey Stedfast2002-06-042-11/+14
| | | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): Allocate a new FileInfo struct here rather than using and unref it when we're finished with it. svn path=/trunk/; revision=17090
* Prompt the user to see if he really wants to quit when there are queuedJeffrey Stedfast2002-06-043-3/+27
| | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (request_quit): Prompt the user to see if he really wants to quit when there are queued messages in the Outbox. svn path=/trunk/; revision=17089
* Get the font from the style again when the style changes. (init): ChecksChristopher James Lahey2002-06-045-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_style_set): Get the font from the style again when the style changes. (init): Checks for the environment variable GAL_ELLIPSIS and uses that instead of ... if it is set. * e-table-click-to-add.c (finish_editing): e_table_item_leave_edit before committing. (etcta_event): Added a missing break; here. * e-table-item.c (eti_style_set): On style set, free the height cache, request a reflow and a redraw, and call eti_idle_maybe_show_cursor. (e_table_item_compute_location): Don't call eti_get_height here, just use the cached value. * e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple accessor function. svn path=/trunk/; revision=17088
* In an attempt to clean up the config dialog (and to reduce its overallAnna Marie Dirks2002-06-042-179/+288
| | | | | | | | | | | 2002-06-03 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: In an attempt to clean up the config dialog (and to reduce its overall girth), I have re-laid-out the calendar preferences dialog. It now conforms to standard Evolution spacing and padding guidelines, and exhibits proper alignment, etc. svn path=/trunk/; revision=17087
* Reflow and redraw when the style gets set.Christopher James Lahey2002-06-042-322/+330
| | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_style_set): Reflow and redraw when the style gets set. svn path=/trunk/; revision=17086
* Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() soJeffrey Stedfast2002-06-042-2/+9
| | | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() so that we don't try and free static data. svn path=/trunk/; revision=17085
* keep a reference to the Query object, to avoid crashes when the queriesRodrigo Moya2002-06-042-4/+12
| | | | | | | | | | 2002-06-03 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: keep a reference to the Query object, to avoid crashes when the queries are destroyed before finishing processing. Fixes #25056. svn path=/trunk/; revision=17080
* Check that any unmatched operation is not concerning any vfolder. OtherNot Zed2002-06-032-10/+24
| | | | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (camel_vee_folder_add_folder): (folder_changed_change): (folder_changed_remove_uid): (folder_changed_add_uid): (vee_folder_build_folder): Check that any unmatched operation is not concerning any vfolder. Other vfolders should never be part of any unmatched handling. For #24615, and others probably. svn path=/trunk/; revision=17075
* Protect against EINTR (irix?), see bug #24086.Not Zed2002-06-032-4/+12
| | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_msgport_wait): Protect against EINTR (irix?), see bug #24086. svn path=/trunk/; revision=17074
* setup/free the mech string.Not Zed2002-06-0313-24/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-02 Not Zed <NotZed@Ximian.com> * camel-sasl.c (camel_sasl_new): (camel_sasl_finalize): setup/free the mech string. * camel-sasl.h: Added 'mech' mechanism string. 2002-06-01 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_getv): Implement. Only the object_description arg. (camel_imap_folder_get_type): Init parent_class holder. * providers/local/camel-local-folder.c (local_getv): Implement, object_description arg. * camel-folder.c (folder_getv): Implement, add a bunch of args you can get -> camel_folder_get_unread_count etc will be going RSN i hope. (camel_folder_finalize): Free cached description string. * camel-object.c (cobject_getv): Implement CAMEL_OBJECT_ARG_DESCRIPTION, just return the classname of the object. (camel_object_getv): (camel_object_get): (camel_object_setv): (camel_object_set): Take object = void *, to simplify usage. (camel_object_setv): Removed unecessary locals. (camel_object_getv): Same. (camel_object_free): New method, free an arg, upto implementations whether args are static/const or not. (cobject_free): Implement a dummy do nothing free. 2002-05-31 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (camel_vee_folder_get_location): new function to get the real location (folder) (and uid) of a vfolder object. Using the folderinfo, since we already have it, maybe it should use the uid. svn path=/trunk/; revision=17073
* Implement, return a text description of the localfolder.Not Zed2002-06-035-2/+81
| | | | | | | | | | | | | | | | | 2002-06-01 Not Zed <NotZed@Ximian.com> * mail-local.c (mlf_getv): Implement, return a text description of the localfolder. * message-list.c (ml_duplicate_value): (ml_free_value): (ml_initialize_value): (ml_value_is_empty): (ml_value_to_string): (ml_tree_value_at): Implement COL_LOCATION, original location of message (useful for vfolder). svn path=/trunk/; revision=17072
* require gtkhtml-1.1.1.1 aka multicite.Larry Ewing2002-06-032-1/+5
| | | | | | | | 2002-06-02 Larry Ewing <lewing@ximian.com> * configure.in: require gtkhtml-1.1.1.1 aka multicite. svn path=/trunk/; revision=17071
* make these citations as well.Larry Ewing2002-06-033-2/+10
| | | | | | | | | | | | 2002-06-02 Larry Ewing <lewing@ximian.com> * mail-tools.c (mail_tool_quote_message): make these citations as well. * mail-format.c (handle_text_plain_flowed): make these blockquotes into citations. svn path=/trunk/; revision=17070
* When the part is a multipart/signed, make sure to free the part_specJeffrey Stedfast2002-06-012-13/+18
| | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): When the part is a multipart/signed, make sure to free the part_spec before returning (the other types already did this properly). svn path=/trunk/; revision=17066
* Free the path buffer when we're done with it.Jeffrey Stedfast2002-06-013-2/+13
| | | | | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_get): Free the path buffer when we're done with it. * providers/imap/camel-imap-folder.c (imap_update_summary): Free the final tagged response buffer. svn path=/trunk/; revision=17065
* updated, fixed.Aaron Weber2002-06-012-58/+149
| | | | svn path=/trunk/; revision=17064
* If we fail to read a literal, free the temporary string buffer.Jeffrey Stedfast2002-06-012-11/+8
| | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (imap_read_untagged): If we fail to read a literal, free the temporary string buffer. svn path=/trunk/; revision=17063
* Set release for the CORBA path sequence to TRUE.Ettore Perazzoli2002-06-017-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__get_checkedFolders): Set release for the CORBA path sequence to TRUE. * evolution-shell-component.c (fill_corba_sequence_from_null_terminated_string_array): Set release for the CORBA sequence to TRUE so it gets freed properly. (impl__get_externalUriSchemas): Likewise for the returned uri_chema_list. * e-shell-offline-handler.c (duplicate_connection_list): Set release for the connection sequence to TRUE. * e-shell-config-offline.c (config_control_apply_callback): Set release for the path sequence to TRUE. * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): Set release for the storage sequence to TRUE. * evolution-storage.c (impl_Storage__get_folderList): Set release for the folder sequence to TRUE. svn path=/trunk/; revision=17062
* Revert my fix from the other day since camel_imap_command_response()Jeffrey Stedfast2002-06-013-6/+18
| | | | | | | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): Revert my fix from the other day since camel_imap_command_response() doesn't guarentee that resp will be set to NULL on error. * providers/imap/camel-imap-command.c (camel_imap_command_response): Use a different variable to get the return of imap_parse_untagged so that we don't lose the pointer to the original malloc'd respbuf buffer. svn path=/trunk/; revision=17061
* If we fail to be able to create a stream to insert into the cache, thenJeffrey Stedfast2002-06-012-0/+8
| | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * camel-data-cache.c (camel_data_cache_get): If we fail to be able to create a stream to insert into the cache, then free the 'real' path. svn path=/trunk/; revision=17060
* Added a protocol field for users to use.Not Zed2002-05-3121-58/+1422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-30 Not Zed <NotZed@Ximian.com> * camel-cipher-context.h: Added a protocol field for users to use. * camel-stream-filter.c (do_read): Sigh, the pre-size is READ_PAD not READ_SIZE. Big difference. (READ_PAD): Bumped upto 128 from 64, so we can fit a typical line in full. * providers/imap/camel-imap-folder.c (get_content): Changed to load multipart/signed as an opaque block into the right kind of object. * camel-multipart.h (struct _CamelMultipart): Removed the boundary field. It wans't actually used anywhere. * camel-seekable-substream.c (camel_seekable_substream_new_with_seekable_stream_and_bounds): Shortened this stupidly long name to just :new(), its the only way its ever used. Fixed all callers. * camel-multipart-signed.[ch]: new wrapper for multipart/signed types. We need to treat the entire content as a blob of data for transport purposes. This also cleans up a lot of the sign/verify handling. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Just call camel_multipart_construct_from_parser for multipart parts, also use a multipart_signed for multipart/signed types. * camel-multipart.c (camel_multipart_construct_from_parser): New virtual function for multiparts to buld themselves. (construct_from_parser): Implement for normal multiparts. (toplevel): Got rid of a warning, it'll never be an abstract class. * camel-pgp-context.c (pgp_hash_to_id): (pgp_id_to_hash): Implement. (camel_pgp_context_init): Init the pgp protocol specifier. * camel-cipher-context.c (camel_cipher_id_to_hash): (camel_cipher_hash_to_id): Util virtual methods to handle the cipher id string. * camel-mime-filter-canon.[ch]: A new filter, end/start of line canonicalisation filter. Can escape "From " and strip trailing whitespace, and canonicalise the end of line to crlf or to lf. 2002-05-29 Not Zed <NotZed@Ximian.com> * camel-multipart.h (struct _CamelMultipart): Removed the 'parent', nothing used it, anywhere. Cleaned up some formatting slightly. svn path=/trunk/; revision=17057
* Changes for multipart/signed api changes.Not Zed2002-05-312-6/+20
| | | | | | | | 2002-05-30 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): Changes for multipart/signed api changes. svn path=/trunk/; revision=17056
* Changed to handle new multipart-signed type.Not Zed2002-05-312-51/+41
| | | | | | | | | 2002-05-31 Not Zed <NotZed@Ximian.com> * mail-format.c (handle_multipart_signed): Changed to handle new multipart-signed type. svn path=/trunk/; revision=17055
* On error, don't leak the GByteArray buffer.Jeffrey Stedfast2002-05-312-0/+4
| | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (camel_imap_store_readline): On error, don't leak the GByteArray buffer. svn path=/trunk/; revision=17054
* Free the response before checking for errors. I'm not sure this'llJeffrey Stedfast2002-05-313-7/+45
| | | | | | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): Free the response before checking for errors. I'm not sure this'll actually fix the memory leak here, but it might? Certainly can't hurt. * camel-block-file.c (camel_block_file_finalise): Destroy the blocks hash table. svn path=/trunk/; revision=17053
* Noop if we are in offline mode.Jeffrey Stedfast2002-05-313-11/+15
| | | | | | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (mail_send_receive): Noop if we are in offline mode. * component-factory.c (mail_remove_storage): If the store is not in the storage hash, then it must not have ever been added. Fixes bug #25456. svn path=/trunk/; revision=17052
* Reworded the signature introduction paragraph. Started work on documentingKevin Breit2002-05-312-68/+76
| | | | | | | | | 2002-05-30 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Reworded the signature introduction paragraph. Started work on documenting the new signature editor. I am kind of unsure of the full functionality, so I'm going to wait a little bit on it. svn path=/trunk/; revision=17051
* Typo.Aaron Weber2002-05-311-2/+0
| | | | svn path=/trunk/; revision=17050
* links to conf.Aaron Weber2002-05-318-1100/+252
| | | | | | | | | | | | | | | | | | | 2002-05-30 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: links to conf. * C/usage-mainwindow.sgml: updated for links to configuration. * C/preface.sgml: added "What's new?" section with a few entries. * C/evolution.sgml: Minor stylistic tweaks, updated version numbers. * C/Makefile.am: Removed evolution-faq.sgml and usage-notes.sgml, and cvs removed them. These files are vestiges of the distant past. svn path=/trunk/; revision=17049
* Protect against NULL stores. Fixes bug #25456.Jeffrey Stedfast2002-05-312-2/+7
| | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (store_disconnect): Protect against NULL stores. Fixes bug #25456. svn path=/trunk/; revision=17048
* Oops, create a message-browser window here, not a folder-browser-windowJeffrey Stedfast2002-05-312-2/+9
| | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (view_msg): Oops, create a message-browser window here, not a folder-browser-window window. svn path=/trunk/; revision=17047
* Use bonobo_object_ref() instead of bonobo_object_client_ref() as theEttore Perazzoli2002-05-313-4/+14
| | | | | | | | | | | | * e-folder-list.c (e_folder_list_construct): Use bonobo_object_ref() instead of bonobo_object_client_ref() as the former only refs the CORBA object [Sigh]. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Don't unref the shell_client here, as we need it. :-) svn path=/trunk/; revision=17046
* New helper function. (build_items): g_strdup() the text for all the items.Ettore Perazzoli2002-05-312-13/+71
| | | | | | | | | | | | | | * e-filter-bar.c (dup_item_no_subitems): New helper function. (build_items): g_strdup() the text for all the items. Prepend the user-defined items with an order number. (free_built_items): New function to free the array returned by build_items, freeing the text strings too [since now they are newly allocated instead of just pointing to the exiting ones]. (generate_menu): Call free_built_items() on the built items instead of just g_array_free(). (set_option): Likewise. svn path=/trunk/; revision=17045
* Connect about_box_event_callback() to the "key_press_event" signal asEttore Perazzoli2002-05-312-0/+9
| | | | | | | | | * e-shell-view-menu.c (command_about_box): Connect about_box_event_callback() to the "key_press_event" signal as well. This way the about box is closed when you press a key too. [#25349] svn path=/trunk/; revision=17044
* updatedRadek Doulik2002-05-301-2/+2
| | | | svn path=/trunk/; revision=17043
* fixed typoRadek Doulik2002-05-301-1/+1
| | | | svn path=/trunk/; revision=17042
* moved spell checking options to separate page, updated UI by Anna's designRadek Doulik2002-05-305-166/+416
| | | | | | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: moved spell checking options to separate page, updated UI by Anna's design * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist (mail_accounts_tab_construct): justify marks column to right svn path=/trunk/; revision=17041
* readdedRadek Doulik2002-05-301-0/+0
| | | | svn path=/trunk/; revision=17040
* delete to readd with -kbRadek Doulik2002-05-301-0/+0
| | | | svn path=/trunk/; revision=17039
* added info bulb pictureRadek Doulik2002-05-302-0/+1
| | | | svn path=/trunk/; revision=17038
* Changed some spacing and expanding behavior to make this dialog behaveAnna Marie Dirks2002-05-302-73/+89
| | | | | | | | | | 2002-05-29 Anna Marie Dirks <anna@ximian.com> * gui/component/select-names/select-names.glade: Changed some spacing and expanding behavior to make this dialog behave more like I intended to. svn path=/trunk/; revision=17037
* Only free the LOGOUT response if it is non-NULL.Jeffrey Stedfast2002-05-302-1/+7
| | | | | | | | | 2002-05-29 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (connect_to_server): Only free the LOGOUT response if it is non-NULL. svn path=/trunk/; revision=17036
* use _ instead of U_ for clistRadek Doulik2002-05-302-1/+6
| | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist svn path=/trunk/; revision=17035
* updatedRadek Doulik2002-05-291-12/+12
| | | | svn path=/trunk/; revision=17034
* updatedRadek Doulik2002-05-291-485/+545
| | | | svn path=/trunk/; revision=17033
* Implement. Run a summary check to update for any newly arrived messages.Not Zed2002-05-293-1/+31
| | | | | | | | | | | | | 2002-05-28 Not Zed <NotZed@Ximian.com> * providers/local/camel-maildir-folder.c (maildir_refresh_info): Implement. Run a summary check to update for any newly arrived messages. * providers/local/camel-maildir-store.c (scan_dir): If we have a folder, execute a refresh_info on it, to suck in any new stuff. svn path=/trunk/; revision=17029
* skip folders that aren't valid uri's. (e_folder_list_get_items): didn'tChris Toshok2002-05-292-4/+13
| | | | | | | | | | | 2002-05-28 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_set_items): skip folders that aren't valid uri's. (e_folder_list_get_items): didn't update this to track the change in model columns. bad toshok. svn path=/trunk/; revision=17028
* Revert a failed idea.Jeffrey Stedfast2002-05-292-29/+5
| | | | | | | | | 2002-05-28 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Revert a failed idea. svn path=/trunk/; revision=17026
* Use the CamelMessageInfo rather than the CamelMimeMessage because theJeffrey Stedfast2002-05-292-8/+11
| | | | | | | | | | 2002-05-28 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_log): Use the CamelMessageInfo rather than the CamelMimeMessage because the message may not have been loaded (thus NULL). svn path=/trunk/; revision=17025
* On connection failure, unref the tcp stream.Jeffrey Stedfast2002-05-286-77/+226
| | | | | | | | | | | | | | | | | | | | | | | 2002-05-27 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (connect_to_server): On connection failure, unref the tcp stream. * providers/pop3/camel-pop3-store.c (connect_to_server): On connection failure, unref the tcp stream. * providers/imap/camel-imap-store.c (connect_to_server): On connection failure, unref the tcp stream. * providers/nntp/camel-nntp-store.c (nntp_store_query_auth_types): Our parent class is no longer CamelRemoteStore. (nntp_store_init): Same. (camel_nntp_store_get_type): Here too. (nntp_connect): Rewritten to try to connect via SSL. Also remove code using CamelRemoteStore. (camel_nntp_command): Don't call camel_remote_store_connected(). svn path=/trunk/; revision=17022
* Apply patch to fix a typoIain Holmes2002-05-272-1/+5
| | | | svn path=/trunk/; revision=17021
* update protoJP Rosevear2002-05-274-11/+39
| | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.h: update proto * gui/dialogs/comp-editor.c (comp_editor_get_comp): new function to get base comp * gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get the base comp, not the current comp, don't unref it (foreach_close_cb): block the signal, unblock it if the editor could not be closed (e_comp_editor_registry_close_all): fix preconditions (editor_destroy_cb): get the base comp, not the current comp, don't unref it svn path=/trunk/; revision=17020
* if there are remaining items, return false (foreach_close_cb): don'tJP Rosevear2002-05-277-15/+37
| | | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all): if there are remaining items, return false (foreach_close_cb): don't remove the item if it couldn't be closed * gui/e-comp-editor-registry.h: update proto * gui/component-factory.c (request_quit): return a boolean indicating if everything was closed * gui/dialogs/comp-editor.h: update proto * gui/dialogs/comp-editor.c (comp_editor_close): return true if the editor was closed, false otherwise svn path=/trunk/; revision=17019
* a registry of comp editors so we can close them all centrallyJP Rosevear2002-05-2713-205/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.[hc]: a registry of comp editors so we can close them all centrally * gui/gnome-cal.c (gnome_calendar_init): there is no editor hash now (gnome_calendar_destroy): ditto (gnome_calendar_edit_object): look for the event editor in the registry, if it isn't there, create it and add it to the registry * gui/e-calendar-table.c (open_task): look for the task editor in the registry, if it isn't there, create it and add it to the registry * gui/component-factory.c (request_quit): close all open editors (create_object): add a request_quit function to the shell component * gui/comp-editor-factory.c (free_client): there is no uid_comp_hash to free any more (editor_destroy_cb): we get an OpenClient as callback data now, reduce the editor count and destroy it if it is 0 (edit_existing): don't create the Component, add the new editor to the registry, increase the editor count (edit_new): ditto (open_client): set the editor count to 0 (impl_editExisting): look in the registry for the editor * gui/Makefile.am: Build new sources * gui/main.c (main): create the registry * gui/dialogs/comp-editor.c (comp_editor_close): prompt to save and then close dialog * gui/dialogs/comp-editor.h: new proto * gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff svn path=/trunk/; revision=17018
* Added would_be_expanded refactoring code out of is_expanded.Christopher James Lahey2002-05-251-16/+22
| | | | | | | | | | | | 2002-05-24 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_would_be_expanded, e_tree_table_adapter_node_is_expanded): Added would_be_expanded refactoring code out of is_expanded. (find_first_child_node_maybe_deleted): Use the new function. svn path=/trunk/; revision=17016
* updatedRadek Doulik2002-05-251-1454/+2123
| | | | svn path=/trunk/; revision=17015
* Helps if we allocate enough space here. Also, start smoking the sameJeffrey Stedfast2002-05-253-4/+20
| | | | | | | | | | | | 2002-05-24 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (content_info_get_part_spec): Helps if we allocate enough space here. Also, start smoking the same purple flavoured IMAP crack when counting parts (parts don't count if their parent part is a message/* part with a parent part). Fixes bug #25260. svn path=/trunk/; revision=17014
* Use the new readline function.Jeffrey Stedfast2002-05-256-59/+96
| | | | | | | | | | | | | | | | | 2002-05-24 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (imap_read_untagged): Use the new readline function. * providers/imap/camel-imap-store.c (connect_to_server): Use the new camel_imap_store_readline() function which doesn't suck quite as bad as the original camel_remote_store_recv_line() function. (camel_imap_store_readline): New function to replace camel_remote_store_recv_line(). This function is at least safe with embedded nul chars. Not that any of our callers use it *sigh*. svn path=/trunk/; revision=17012
* ops, revert array sizeRadek Doulik2002-05-252-1/+6
| | | | | | | | | 2002-05-24 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): ops, revert array size svn path=/trunk/; revision=17011
* put this back in, accidentally got snipped with the hacking going on inChris Toshok2002-05-252-0/+7
| | | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (CONFIG_CONTROL_FACTORY_ID): put this back in, accidentally got snipped with the hacking going on in here. svn path=/trunk/; revision=17010
* fixed a spelling mistakeJeffrey Stedfast2002-05-251-1/+1
| | | | svn path=/trunk/; revision=17009
* check the value returned by gnome_vfs_uri_to_string before using it.Rodrigo Moya2002-05-252-1/+10
| | | | | | | | | | 2002-05-24 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (save): check the value returned by gnome_vfs_uri_to_string before using it. (cal_backend_file_open): ditto. svn path=/trunk/; revision=17008
* *** empty log message ***Ettore Perazzoli2002-05-251-1/+1
| | | | svn path=/trunk/; revision=17007
* Add libfilter-i18n.h.Ettore Perazzoli2002-05-251-0/+1
| | | | svn path=/trunk/; revision=17006
* Fix English grammar.Ettore Perazzoli2002-05-252-1/+5
| | | | | | * filter-rule.c (get_widget): Fix English grammar. svn path=/trunk/; revision=17005
* Updated German translation.Manuel Borchers2002-05-241-0/+4
| | | | | | | | 2002-05-24 Manuel Borchers <webmaster@matronix.de> * de.po: Updated German translation. svn path=/trunk/; revision=17004
* Updated de.po file... Stil much to do, but main UI strings translated again.Manuel Borchers2002-05-241-3297/+3758
| | | | svn path=/trunk/; revision=17003
* added shell/e-shell-config-autocompletion.c andChris Toshok2002-05-242-0/+7
| | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> * POTFILES.in: added shell/e-shell-config-autocompletion.c and shell/e-shell-config-folder-settings.c. svn path=/trunk/; revision=17002
* [ part of #25047 ] remove the autocompletion config control from here, asChris Toshok2002-05-243-105/+8
| | | | | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> [ part of #25047 ] * gui/component/addressbook-config.c: remove the autocompletion config control from here, as it lives in the shell now. * gui/component/GNOME_Evolution_Addressbook.oaf.in: same. svn path=/trunk/; revision=17001
* [ fixes 90% of #25047 ] shamelessly lifted fromChris Toshok2002-05-2415-308/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> [ fixes 90% of #25047 ] * e-folder-list.c (get_folder_for_uri): shamelessly lifted from evolution-folder-selector-button.c. (create_display_string): modeled again after evolution-folder-selector-button.c, so we can give a little more context (and make the table look like the folder selector buttons.) (SPEC): add a pixbuf column, also remove the sorting behavior. (columns): add a pixbuf column and another string column (for the display string). (add_clicked): create the display string and get the proper pixbuf, and insert both. (edit_clicked): removed. (update_buttons): remove edit button handling from here. (e_folder_list_init): remove the hooking up of button-edit's "clicked" signal. (e_folder_list_construct): get a reference to the storage registry so we can look up folders. (e_folder_list_set_items): analogous change to add_clicked - get the display string and pixbuf and insert them. * glade/e-folder-list.glade: remove the edit button. * glade/e-shell-config-default-folders.glade: remove the frame/vbox, since we embed it in a notebook and the tab has the title already. * e-shell-config.c (config_control_factory_cb): the only config control we deal with here now is the folder settings control. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): rename e_shell_config_default_folders_create_control to this, return the widget, and take the config control to use as an arg. * e-shell-config-offline.c (e_shell_config_offline_create_widget): make an analogous change here as with default_folders_create_widget. * e-shell-config-default-folders.h (e_shell_config_default_folders_create_widget): track change to prototype. * e-shell-config-offline.h (e_shell_config_offline_create_widget): same. * GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and OfflineFolders controls and add a FolderSettings_Control. * Makefile.am (evolution_SOURCES): add e-shell-config-folder-settings.[ch] and e-shell-config-autocompletion.[ch]. * e-shell-config-folder-settings.[ch]: new files, embed (after a fashion) the default folder, offline, and autocompletion UI's in a notebook. * e-shell-config-autocompletion.[ch]: Basically copy over and shell-ize the addressbook autocompletion config control so it can be embedded more easily with the other folder settings. svn path=/trunk/; revision=17000
* [ #24189 ] ifdef out the body of this because it only works with a singleChris Toshok2002-05-249-72/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> [ #24189 ] * gui/component/select-names/e-select-names-manager.c (focus_out_cb): ifdef out the body of this because it only works with a single completion book. not sure what to do here, but it doesn't impact most usage scenarios. (completion_popup_cb): same. (e_select_names_manager_entry_new): add the books that have been loaded successfully by the time this entry is created. (open_book_cb): add the opened book to the entries that have already been created, and store it in our list so that entries that are created in the future can catch up. (read_completion_books_from_db): slurp in the folder list from the config db and load all the uris. (uris_listener): listener function - when there's a change it calls _clear_books on all the created entries, and clears our list. It then re-reads the books from the db. (e_select_names_manager_new): create our bonobo listener and call read_completion_books_from_db. (e_select_names_manager_init): init completion_books. (e_select_names_manager_destroy): free our list of completion_books. * gui/component/select-names/e-select-names-manager.h: switch from a single EBook to a GList of completion_books here. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_add_book): deal with the case where there's an active query (by effectively restarting it.) This is quite a contrived edge case. (e_select_names_completion_clear_books): stop the current query and clear our list of books. (e_select_names_completion_new): track change to prototype, and axe the majority of this method since an EBook* isn't passed anymore. (e_select_names_completion_clear_book_data): split this code out from the destroy method so it can be called from _clear_books. * gui/component/select-names/e-select-names-completion.h: the constructor no longer takes an EBook -- pass in as many as you want using _add_book. Also, add prototype for _clear_books. * gui/component/addressbook.c (load_uri_cb): when storing/retrieving passwords, use the cleaned (without params) version of the uri, so changing things like download limit don't cause the user to be prompted for a password again. * gui/component/addressbook-component.c (ensure_completion_uris_exist): new function - probably doesn't belong in this file. Make sure the basic local Contacts folder exists in the completion uris. (addressbook_component_factory_init): call ensure_completion_uris_exist. * backend/ebook/e-book-util.h: add prototype for e_book_get_default_book_uri. * backend/ebook/e-book-util.c (e_book_get_default_book_uri): new function, just return the default contacts uri. (e_book_load_default_book): change to use e_book_get_default_book_uri. svn path=/trunk/; revision=16999
* If we can't find the mailing list address in the recipients list, justJeffrey Stedfast2002-05-242-2/+24
| | | | | | | | | | 2002-05-24 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we can't find the mailing list address in the recipients list, just Reply-to-All instead. svn path=/trunk/; revision=16998
* Added some NULL protection fixes.Jeffrey Stedfast2002-05-242-8/+26
| | | | | | | | | 2002-05-24 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (connect_to_server): Added some NULL protection fixes. svn path=/trunk/; revision=16997
* fix parameter/local variable overloading.Chris Toshok2002-05-242-3/+8
| | | | | | | | | 2002-05-23 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_root_dse_query): fix parameter/local variable overloading. svn path=/trunk/; revision=16996
* Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534.Ettore Perazzoli2002-05-242-0/+6
| | | | | | | * main.c (quit_box_new): Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534. svn path=/trunk/; revision=16995
* Set the ui to be the evolution-mail-global.xml file thingy. Still brokenJeffrey Stedfast2002-05-243-5/+18
| | | | | | | | | | | | 2002-05-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Set the ui to be the evolution-mail-global.xml file thingy. Still broken but oh well. I give up. bonobo-ui sucks. * message-browser.c (set_bonobo_ui): Fixed to not crash. svn path=/trunk/; revision=16994
* Pass FALSE for @allow_shrink. Fixes #15688.Ettore Perazzoli2002-05-242-1/+7
| | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Pass FALSE for @allow_shrink. Fixes #15688. svn path=/trunk/; revision=16993
* Make a little bit prettier. Default to "Delete", not "Cancel".Ettore Perazzoli2002-05-242-22/+19
| | | | | | | * e-shell-folder-commands.c (delete_dialog): Make a little bit prettier. Default to "Delete", not "Cancel". svn path=/trunk/; revision=16992
* Set the view type from the original group, thus preserving theEttore Perazzoli2002-05-242-1/+15
| | | | | | | | * e-shortcuts-view.c (rename_group_cb): Set the view type from the original group, thus preserving the small-icon/large-icon state. Fixes #6732. svn path=/trunk/; revision=16991
* (mail_composer_prefs_construct): add auto smiley check buttonRadek Doulik2002-05-243-1/+8
| | | | svn path=/trunk/; revision=16990
* If the folder-browser has a parent, reparent it.Jeffrey Stedfast2002-05-246-38/+316
| | | | | | | | | | | | | 2002-05-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): If the folder-browser has a parent, reparent it. * message-browser.[c,h]: Revert back to the old broken implementation since that's what users want. They're not happy unless it's broken. svn path=/trunk/; revision=16989
* added smileys checkbuttonRadek Doulik2002-05-241-0/+14
| | | | svn path=/trunk/; revision=16988
* be more careful about language_str{_orig}Radek Doulik2002-05-242-4/+16
| | | | | | | | 2002-05-23 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: be more careful about language_str{_orig} svn path=/trunk/; revision=16987
* Add a toggle to avoid displaying the dialog again. Don't display theEttore Perazzoli2002-05-242-5/+43
| | | | | | | | | | | | * main.c (show_development_warning): Add a toggle to avoid displaying the dialog again. Don't display the dialog at all if the /Shell/skip_warning_dialog_1_1 bonobo-conf key is set to FALSE. (warning_dialog_clicked_callback): Set /Shell/skip_warning_dialog_1_1 according to the state of the check button. svn path=/trunk/; revision=16986
* correct typoJP Rosevear2002-05-233-2/+6
| | | | | | | | 2002-05-23 JP Rosevear <jpr@ximian.com> * GNOME_Evolution_Summary.oaf.in.in: correct typo svn path=/trunk/; revision=16985
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-232-299/+336
| | | | | | | | 2002-05-23 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16984
* No more @default_type arg to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-05-239-40/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-view-menu.c (command_goto_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (command_new_shortcut): Likewise. * e-shell-importer.c (import_druid_finish): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-folder-commands.c (e_shell_command_move_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (e_shell_command_copy_folder): Likewise. * e-shell-folder-selection-dialog.c: Removed default_type member in EShellFolderSelectionDialogPrivate. (e_shell_folder_selection_dialog_new): Removed @default_type arg. (e_shell_folder_selection_dialog_construct): Likewise. (impl_clicked): Just pass the first of the allowed types to e_shell_show_folder_creation_dialog() for the default type. * evolution-shell-client.c (user_select_folder): No more @default_type arg to the ::userSelectFolder CORBA method. * Evolution-Shell.idl (selectUserFolder): Remove arg @default_type. svn path=/trunk/; revision=16983
* Removed references to camel-remote-store.cJeffrey Stedfast2002-05-232-1/+4
| | | | | | | | 2002-05-22 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed references to camel-remote-store.c svn path=/trunk/; revision=16982
* remove a #include "camel-remote-store.h"Jeffrey Stedfast2002-05-231-1/+0
| | | | svn path=/trunk/; revision=16981
* Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search.Ettore Perazzoli2002-05-231-3/+11
| | | | | | | * e-search-bar.c (update_bonobo_menus): Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search. svn path=/trunk/; revision=16980
* Put the search menu in a SearchPlaceholder.Ettore Perazzoli2002-05-233-3/+9
| | | | | | * evolution.xml: Put the search menu in a SearchPlaceholder. svn path=/trunk/; revision=16979
* New, overrides GtkWidget::draw. (impl_expose_event): New, overridesEttore Perazzoli2002-05-232-2/+108
| | | | | | | * e-combo-button.c (impl_draw): New, overrides GtkWidget::draw. (impl_expose_event): New, overrides GtkWidget::expose_event. svn path=/trunk/; revision=16978
* New callback for when the first created view in the shell gets mapped.Ettore Perazzoli2002-05-234-0/+121
| | | | | | | | | | | | | | | | | | * main.c (view_map_callback): New callback for when the first created view in the shell gets mapped. (new_view_created_callback): New callback for when the first view of the shell gets created. (show_development_warning): New function to display a warning about the fact that Evolution is unstable. (idle_cb): Call show_development_warning() here unless the EVOLVE_ME_HARDER environment variable is set. * e-shell.c (class_init): Add the "new_view_created" signal here. (create_view): Emit the signal here. * e-shell.h: New signal "new_view_created". svn path=/trunk/; revision=16977
* New member default_menu_item in EShellUserCreatableItemsHandlerPrivate.Ettore Perazzoli2002-05-232-5/+45
| | | | | | | | | | * e-shell-user-creatable-items-handler.c: New member default_menu_item in EShellUserCreatableItemsHandlerPrivate. (ensure_menu_items): Set ->default_menu_item. (get_default_action_for_view): When no default item is specified, just return ->default_menu_item. svn path=/trunk/; revision=16976
* Removed from the build. Glory glory hallelujah.Jeffrey Stedfast2002-05-2310-892/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-22 Jeffrey Stedfast <fejj@ximian.com> * camel-remote-store.c: Removed from the build. Glory glory hallelujah. * camel-disco-store.c: Updated to inherit from CamelStore rather than CamelRemoteStore. * providers/imap/camel-imap-command.c (imap_command_start): Don't use the camel-remote-store shit to send a string. Just use camel_stream_printf for chrissakes. * providers/imap/camel-imap-store.c: Updated to not depend on CamelRemoteStore and to handle STARTTLS. (imap_disconnect_online): Unref the streams. (imap_keepalive): Removed. (camel_imap_store_connected): New function to replace camel_remote_store_connected(). (camel_imap_store_finalize): Unref the streams. (camel_imap_store_recv_line): New function to replace camel_remote_store_recv_line(). (imap_get_capability): Renamed from connect_to_server (connect_to_server): New function to try and connect to the server. (connect_to_server_wrapper): New wrapper function around connect_to_server that takes the ssl modes into consideration. (query_auth_types): Don't bother calling our parent's implementation of query_auth_types() since CamelDiscoStore doesn't have any anyway. (imap_get_name): New method to implement CamelService::get_name svn path=/trunk/; revision=16975
* Only refuse quitting if the result is CANCEL. This way we allow quittingEttore Perazzoli2002-05-233-1/+14
| | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Only refuse quitting if the result is CANCEL. This way we allow quitting if one of the components has crashed or something else otherwise goes wrong. Fixes #25093. * evolution-shell-component-client.c (result_from_async_corba_result): Handle GNOME_Evolution_ShellComponentListener_CANCEL. svn path=/trunk/; revision=16974
* Only clear the text/html signature menus if they are non-NULL.Jeffrey Stedfast2002-05-221-0/+4
| | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_fill_options): Only clear the text/html signature menus if they are non-NULL. svn path=/trunk/; revision=16973
* Only clear the text/html signature menus if they are non-NULL.Jeffrey Stedfast2002-05-222-2/+9
| | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_fill_options): Only clear the text/html signature menus if they are non-NULL. svn path=/trunk/; revision=16972
* Use a new macro, STR_EQUAL, to tell if the 2 values are equal or notJeffrey Stedfast2002-05-222-1/+9
| | | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_save_values): Use a new macro, STR_EQUAL, to tell if the 2 values are equal or not rather than using strcmp since one or both strings could be NULL. svn path=/trunk/; revision=16971
* Don't call some retarded function to simply set an exception.Jeffrey Stedfast2002-05-224-4/+11
| | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (get_folder_offline): Don't call some retarded function to simply set an exception. svn path=/trunk/; revision=16970
* Fix typo in the ChangeLog.Ettore Perazzoli2002-05-221-1/+1
| | | | svn path=/trunk/; revision=16969
* Don't try to invoke e_book_get_uri() on NULL. Fixes #20069.Ettore Perazzoli2002-05-222-3/+8
| | | | | | | * gui/component/addressbook.c (load_uri_cb): Don't try to invoke e_book_get_uri() on NULL. Fixes #20069. svn path=/trunk/; revision=16968
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-223-21/+39
| | | | | | | | 2002-05-21 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16967
* Updated Hungarian translation.Andras Timar2002-05-212-1603/+1939
| | | | | | | | 2002-05-21 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=16966
* Do async_open_folder in an idle callback.Christopher James Lahey2002-05-214-46/+103
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-corba-storage.c (async_open_folder_idle): Do async_open_folder in an idle callback. * e-shell-shared-folder-picker-dialog.c (user_clicked), glade/e-shell-shared-folder-picker-dialog.glade: Added a select names button here. svn path=/trunk/; revision=16964
* Check for path being NULL.Christopher James Lahey2002-05-212-2/+17
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Check for path being NULL. * e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state): Rebuild the tree after loading the state. svn path=/trunk/; revision=16963
* Forgot the changelog entry.Not Zed2002-05-211-0/+6
| | | | | | | | | | 2002-05-21 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): Split the search word up for a body search and add it to the tokeniser to highlight. svn path=/trunk/; revision=16962
* New functions to add additional search strings one at a time. Maybe itNot Zed2002-05-214-661/+896
| | | | | | | | | | | | | | | | 2002-05-18 Not Zed <NotZed@Ximian.com> * e-searching-tokenizer.c (e_searching_tokenizer_add_primary_search_string): (e_searching_tokenizer_add_secondary_search_string): New functions to add additional search strings one at a time. Maybe it should just split the word itself? (all): Basically, entirely rewritten. Now implements the Aho-Corasick multiple pattern search algorithm and handles multiple search strings and only ever has to decode any utf8 character once, etc etc. svn path=/trunk/; revision=16961
* If we get an invalid start char, just ignore it and goto the nextNot Zed2002-05-212-2/+9
| | | | | | | | | 2002-05-18 Not Zed <NotZed@Ximian.com> * camel-search-private.c (camel_utf8_getc): If we get an invalid start char, just ignore it and goto the next character. svn path=/trunk/; revision=16960
* set the parent window insensitive before popping up the dialog andChris Toshok2002-05-213-2/+45
| | | | | | | | | | | | | | | | | | | | 2002-05-20 Chris Toshok <toshok@ximian.com> * evolution-folder-selector-button.c (clicked): set the parent window insensitive before popping up the dialog and sensitive after it's popped down, to give us semi-modal behavior. Also, emit a "popped_up" signal when popping up the dialog, and emit "canceled" when the return folder is NULL (when the user canceled the dialog). (class_init): fix typo (?) - parent type isn't bonobo_object_get_type(), it's PARENT_TYPE. Also, initialize the POPPED_UP and CANCELED signals. * evolution-folder-selector-button.h (struct _EvolutionFolderSelectorButtonClass): add popped_up and canceled signals. svn path=/trunk/; revision=16959
* make sure we map status -> string correctly (add missing strings).Chris Toshok2002-05-214-2/+20
| | | | | | | | | | | | | | | | 2002-05-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): make sure we map status -> string correctly (add missing strings). * backend/ebook/e-book-types.h (EBookStatus): add the missing AUTHENTICATION_REQUIRED status code, to map to the idl response. * backend/ebook/e-book-listener.c (e_book_listener_convert_status): make sure we map all idl status codes to EBookStatus statuses. svn path=/trunk/; revision=16958
* Only get the contents of a mime part if it is marked as "inline". FixesJeffrey Stedfast2002-05-213-2/+9
| | | | | | | | | 2002-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_body): Only get the contents of a mime part if it is marked as "inline". Fixes bug #7527. svn path=/trunk/; revision=16957
* Add a toolbar item for ActionScheduleMeeting.Ettore Perazzoli2002-05-213-1/+20
| | | | | | | * evolution-event-editor.xml: Add a toolbar item for ActionScheduleMeeting. svn path=/trunk/; revision=16956
* Pass the @component_pixmaps in so we give the new "Meeting" button anEttore Perazzoli2002-05-215-4/+25
| | | | | | | | | | * gui/dialogs/event-editor.c (event_editor_init): Pass the @component_pixmaps in so we give the new "Meeting" button an icon. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg @component_pixmaps to pass in custom pixmaps. svn path=/trunk/; revision=16955
* New.Ettore Perazzoli2002-05-213-0/+5
| | | | | | * schedule-meeting-24.png: New. svn path=/trunk/; revision=16954
* Prepend the advanced menu with a separator.Ettore Perazzoli2002-05-213-6/+15
| | | | | | | | | | * e-filter-bar.c (build_items): Prepend the advanced menu with a separator. * e-filter-bar.h: Add E_FILTERBAR_SEPARATOR. Rename the "Advanced Search..." menu item into "Advanced...". svn path=/trunk/; revision=16953
* Strip underscores from the menu item labels.Ettore Perazzoli2002-05-213-6/+43
| | | | | | | * e-search-bar.c (activate_by_subitems): Strip underscores from the menu item labels. svn path=/trunk/; revision=16952
* Updated this. Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-213-21/+116
| | | | | | | | | 2002-05-21 Kjartan Maraas <kmaraas@gnome.org> * POTFILES.in: Updated this. * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16951
* Fixed the "Overdue:" string to not contain any HTML tags.Jeffrey Stedfast2002-05-213-9/+16
| | | | | | | | | 2002-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Fixed the "Overdue:" string to not contain any HTML tags. svn path=/trunk/; revision=16950
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-05-213-1670/+1801
| | | | | | | | 2002-05-21 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16949
* Skip the folder if it doesn't have the can_sync_offline property set.Ettore Perazzoli2002-05-212-0/+10
| | | | | | | * e-shell-offline-sync.c (sync_folder): Skip the folder if it doesn't have the can_sync_offline property set. svn path=/trunk/; revision=16948
* Set the can_sync_offline property on the EFolder based on theEttore Perazzoli2002-05-2112-421/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947
* Remove exception. (cancelSyncFolder): Remove exception.Ettore Perazzoli2002-05-216-36/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Offline.idl (syncFolder): Remove exception. (cancelSyncFolder): Remove exception. * e-shell-config-offline.c (storage_set_view_has_checkbox_func): New. (e_shell_config_offline_create_control): Pass it as the @has_checkbox_func. * e-folder.c: New member can_sync_offline in EFolderPrivate. (init): Init to FALSE. (e_folder_get_can_sync_offline): New. (e_folder_to_corba): Set canSyncOffline in the returned CORBA folder. (e_folder_set_physical_uri): Protect from when @physical_uri and ->physical_uri are the same thing. (e_folder_set_description): Same here with description. (e_folder_set_type_string): And type. * Evolution-common.idl: New member canSyncOffline in struct Folder. svn path=/trunk/; revision=16946
* Pass NULL for @has_checkbox_func and @has_checkbox_func_data.Ettore Perazzoli2002-05-216-15/+76
| | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config-offline.c (e_shell_config_offline_create_control): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * evolution-storage-set-view.c (impl_StorageSetView__set_showCheckboxes): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * e-storage-set-view.c: New member has_checkbox_func and has_checkbox_func_data in EStorageSetViewPrivate. (init): Init to NULL. (e_storage_set_view_set_show_checkboxes): New args @has_checkbox_func and @func_data. (has_checkbox): Always return FALSE for the toplevels. For the other ones return TRUE unless ->has_checkbox_func is not-NULL; in which case, we use that function to determine whether the folder is actually checkable. * Evolution-ShellComponent.idl (requestQuit): Remove exception. svn path=/trunk/; revision=16945
* ported changes from evolution-1-0 to make it work with reminders on remoteRodrigo Moya2002-05-213-9/+66
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: ported changes from evolution-1-0 to make it work with reminders on remote backends. svn path=/trunk/; revision=16944
* Make the new button work again, add some spacing.Iain Holmes2002-05-213-6/+60
| | | | svn path=/trunk/; revision=16943
* Don't show the headers in the folder table.Ettore Perazzoli2002-05-203-1/+9
| | | | | | | | * e-summary-table.c: Don't show the headers in the folder table. * e-summary-shown.c (e_summary_shown_init): Set the spacing to 3. svn path=/trunk/; revision=16942
* Always unref the composer [even when we are destroying it], otherwise weEttore Perazzoli2002-05-202-1/+7
| | | | | | | | * mail-callbacks.c (composer_sent_cb): Always unref the composer [even when we are destroying it], otherwise we leak it and we get the nasty bug where you can't quit. svn path=/trunk/; revision=16941
* check the string returned by gnome_vfs_uri_to_string, which can be empty.Rodrigo Moya2002-05-202-0/+10
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_open): check the string returned by gnome_vfs_uri_to_string, which can be empty. If so, return an error. svn path=/trunk/; revision=16940
* set the view to the current viewJP Rosevear2002-05-172-0/+7
| | | | | | | | | 2002-05-17 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view to the current view svn path=/trunk/; revision=16939
* Check for a label tag when doing a lookup on the COLOR column.Jeffrey Stedfast2002-05-176-45/+137
| | | | | | | | | | | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Check for a label tag when doing a lookup on the COLOR column. * mail-config.c (mail_config_get_label_color_string): Return the colour in string format. * folder-browser.c (set_msg_label): Replaces colourise_msg and sets the "label" tag rather than the "colour" tag. * mail-preferences.c (mail_preferences_apply): Call mail_config_write() so that the settings get synced to disk. svn path=/trunk/; revision=16938
* New e-sexp callback function to get a user_tag label value.Jeffrey Stedfast2002-05-172-0/+18
| | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (get_label): New e-sexp callback function to get a user_tag label value. svn path=/trunk/; revision=16937
* Added a label definition.Jeffrey Stedfast2002-05-1712-7/+445
| | | | | | | | | | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Added a label definition. * filtertypes.xml: Added a label definition. * filter-label.c: New filter widget for labels. * filter-element.c (filter_element_new_type_name): Add support for the new label widget. * filter-int.c (format_sexp): Fixed a memory leak. svn path=/trunk/; revision=16936
* added folder-info.h to the buildJeffrey Stedfast2002-05-171-0/+1
| | | | svn path=/trunk/; revision=16935
* New, quit handler for the EvolutionShellComponent. (add_creatable_item):Ettore Perazzoli2002-05-177-20/+133
| | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (request_quit): New, quit handler for the EvolutionShellComponent. (add_creatable_item): Set it up. * gui/contact-editor/e-contact-list-editor.c (e_contact_list_editor_request_close_all): New. (e_contact_list_editor_new): Put the contact editor in a static list and gtk_object_weakref() it. (contact_list_editor_destroy_notify): New, GtkDestroyNotify function for the contact editors. * gui/contact-editor/e-contact-editor.c (e_contact_editor_request_close_all): New. (e_contact_editor_new): Put the contact editor in a static list and gtk_object_weakref() it. (contact_editor_destroy_notify): New, GtkDestroyNotify function for the contact editors. svn path=/trunk/; revision=16934
* added support for CAL_CLIENT_OPEN_PERMISSION_DENIED error code.Rodrigo Moya2002-05-177-1/+72
| | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (client_cal_opened_cb): added support for CAL_CLIENT_OPEN_PERMISSION_DENIED error code. (permission_error): new function to display 'Permission Denied' error message when opening the calendar. * gui/e-tasks.c: likewise. * idl/evolution-calendar.idl: added PERMISSION_DENIED to Listener's OpenStatus enumeration. * cal-client/cal-client.c (cal_opened_cb): added code for retrieving 'Permission Denied' errors, and convert it to CalClientOpenStatus values. * pcs/cal-factory.c (open_backend): added code for informing of 'Permission Denied' errors. svn path=/trunk/; revision=16933
* added PermissionDenied exception and make it be raised in open,Rodrigo Moya2002-05-1717-116/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
* Ask e_shell_prepare_for_quit() before destroying the view if it's the lastEttore Perazzoli2002-05-163-3/+27
| | | | | | | | | | * e-shell.c (view_delete_event_cb): Ask e_shell_prepare_for_quit() before destroying the view if it's the last one. * e-shell-view-menu.c (command_close): Synthesize a delete_event on the view instead of directly destroying it. svn path=/trunk/; revision=16931
* New. (create_component): Pass it as the @request_quit_fn toEttore Perazzoli2002-05-167-45/+108
| | | | | | | | | | | | | | | | | | | | | * component-factory.c (request_quit): New. (create_component): Pass it as the @request_quit_fn to evolution_shell_component_new(). * e-msg-composer.c: New local `all_composers'; keeps a list of all the composer windows created. Changed type of `parent_class' to BonoboWindowClass *. (do_exit): Cleaned up a bit. Raise the composer window before showing the message box dialog. (exit_dialog_cb): Removed. (e_msg_composer_request_close_all): New. (create_composer): Add the composer to the all_composers list and weakref it. (msg_composer_destroy_notify): GtkDestroyNotify function for the composer's weakref; remove the composer from the all_composers list. svn path=/trunk/; revision=16930
* New function to parse a NAMESPACE response properly.Jeffrey Stedfast2002-05-165-32/+291
| | | | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_parse_namespace_response): New function to parse a NAMESPACE response properly. (imap_namespaces_destroy): New function to destroy the returned structure from the above function. svn path=/trunk/; revision=16927
* Just use g_basename.Jeffrey Stedfast2002-05-162-5/+6
| | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Just use g_basename. svn path=/trunk/; revision=16926
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-1619-25/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* Only reconnect if we are already connected, if we are in a disconnectedJeffrey Stedfast2002-05-162-1/+6
| | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * camel-service.c (service_setv): Only reconnect if we are already connected, if we are in a disconnected state then no need to reconnect. svn path=/trunk/; revision=16924
* If the part_spec is an empty string for a leaft part, use "1" since weJeffrey Stedfast2002-05-162-3/+7
| | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): If the part_spec is an empty string for a leaft part, use "1" since we don't actually want to get the raw message headers too. svn path=/trunk/; revision=16923
* Add some comments to document the interface.Ettore Perazzoli2002-05-161-13/+45
| | | | svn path=/trunk/; revision=16922
* Fix quoting for AC_MSG_*JP Rosevear2002-05-162-8/+12
| | | | | | | | 2002-05-15 JP Rosevear <jpr@ximian.com> * gnome-pilot.m4: Fix quoting for AC_MSG_* svn path=/trunk/; revision=16802
* Remove debugging spewIain Holmes2002-05-152-1/+5
| | | | svn path=/trunk/; revision=16801
* Committing Peter Williams patch so listeners are notified about new storages.Iain Holmes2002-05-152-1/+18
| | | | svn path=/trunk/; revision=16800
* Implement prep_offline for an individual folder. (set_offline_do): OnlyNot Zed2002-05-154-55/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-15 Not Zed <NotZed@Ximian.com> * mail-ops.c (prep_offline_do): (prep_offline_done): (prep_offline_free): (mail_prep_offline): Implement prep_offline for an individual folder. (set_offline_do): Only call disco_store_set_status or disconnect for the store, dont do any offline prep stuff. * mail-offline-handler.c: Applied patch from Ettore to hook in extra offline interfaces. (impl_destroy): Dont free listener here anymore, its removed, but free sync table. (mail_offline_handler_init): Same for setup. (impl_syncFolder): Implement. (sync_done): handles finalising synchronisation of 1 folder. (sync_status): progress reporting, camel side. (sync_timeout): progress reporting, gmainloop side. (impl_cancelSyncFolder): Implement. (impl_goOffline, storage_go_offline, went_offline): Dont copy the listener to our struct - its an argument, not a member, so give each thread its own copy. svn path=/trunk/; revision=16799
* updated Vietnamese filePablo Saratxaga2002-05-151-317/+333
| | | | svn path=/trunk/; revision=16798
* removed. (imap_store_refresh_folders): Copy the folders first, thenNot Zed2002-05-153-10/+47
| | | | | | | | | | | | | | | | | | | 2002-05-15 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (refresh_folder_info): removed. (imap_store_refresh_folders): Copy the folders first, then refresh them, outside of the cache_lock, which could cause deadlocks because of a workaround for crappo exchange. (imap_disconnect_online): Dont pass an exception to LOGOUT command. The required response 'BYE' always sets an exception when we call LOGOUT. This also interfered with a lot of other processing causing partial failures and messed up offline/online state. * camel-disco-folder.c (disco_prepare_for_offline): Do progress reporting. svn path=/trunk/; revision=16797
* Instead of g_assert()ing that the msg_info is not NULL, if it is NULL justJeffrey Stedfast2002-05-152-1/+9
| | | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Instead of g_assert()ing that the msg_info is not NULL, if it is NULL just return NULL. This fixes a crash when ETree requests the value at a root node (I don't understand why it needs to do that??). svn path=/trunk/; revision=16796
* fixed a simple logic mistakeJeffrey Stedfast2002-05-151-1/+4
| | | | svn path=/trunk/; revision=16795
* added a missing header fileJeffrey Stedfast2002-05-152-0/+46
| | | | svn path=/trunk/; revision=16794
* Fixes bug #24136.Jeffrey Stedfast2002-05-155-37/+137
| | | | | | | | | | | | | | | | | | | | 2002-05-14 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #24136. * providers/imap/camel-imap-folder.c (content_info_get_part_spec): New function to take a CamelMessageContentInfo and generate a part-specification string. (get_content): Stop passing around part_spec strings and use content_info_get_part_spec instead. * camel-folder-summary.c (camel_content_info_dump): Made this into a public debugging function. * providers/imap/camel-imap-utils.c (imap_parse_body): Make sure to set the parent of any message/rfc822 subparts. svn path=/trunk/; revision=16793
* Call e_shell_offline_sync_all_folders() if no connection is reported here.Ettore Perazzoli2002-05-156-14/+527
| | | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Call e_shell_offline_sync_all_folders() if no connection is reported here. (dialog_handle_ok): Sync all the folders here through e_shell_offline_sync_all_folders(). * e-shell-offline-sync.c: New. * e-shell-offline-sync.h: New. * Evolution-Offline.idl (syncFolder): Make oneway. (cancelSyncFolder): Likewise. (SyncFolderProgressListener::reportSuccess): New method. svn path=/trunk/; revision=16792
* Added check-empty.xpm, check-filled.xpm, and check-missing.xpm.Christopher James Lahey2002-05-157-31/+133
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added check-empty.xpm, check-filled.xpm, and check-missing.xpm. * check-empty.xpm, check-filled.xpm, check-missing.xpm: New xpms. Copied from gal. check-missing.xpm is simply a transparent xpm of the correct size. * e-storage-set-view.c (etree_value_at): When getting, check if the path doesn't have a check box and return 2 in that case. (etree_set_value_at): Check if the path doesn't have a check box and don't change it in that case. Also, just invert the value here instead of paying attention to the set value passed in. (class_init): Initialize the checks GdkPixbufs. (e_storage_set_view_construct): Create the "optional_checkbox" cell. * e-storage-set-view.etspec: Changed the cell for the checkbox column to "optional_checkbox". svn path=/trunk/; revision=16791
* Previous fix reverted.Jeffrey Stedfast2002-05-152-8/+1
| | | | | | | | | 2002-05-13 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Previous fix reverted. svn path=/trunk/; revision=16790
* Previous fix reverted. (get_content): Handle the case where a multipart'sJeffrey Stedfast2002-05-153-6/+17
| | | | | | | | | | | 2002-05-13 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Previous fix reverted. (get_content): Handle the case where a multipart's parent is a message/rfc822 part. Fixes bug #24136. svn path=/trunk/; revision=16789
* Added #include "folder-info.h".Christopher James Lahey2002-05-1511-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * component-factory.c: Added #include "folder-info.h". * folder-browser-window.c (folder_browser_window_new), mail-account-editor.c (apply_changes), mail-account-gui.c (mail_account_gui_save), message-tag-editor.c: Removed some unused variables. * folder-info.c: Added #include "folder-info.h". Removed static declaration of evolution_folder_info_get_type. * folder-info.c (destroy), mail-callbacks.c (confirm_goto_next_folder, find_current_folder, find_next_folder_r, find_next_folder, do_evil_kludgy_goto_next_folder_hack), mail-composer-prefs.c (sig_name_changed): Commented out these unused functions. * mail-config.c (add_new_storage): Removed this unused function. * mail-local.c (mlf_init): Fix the declaration of this function to match the required signature. svn path=/trunk/; revision=16788
* Use the uri stored in the ESummaryMailFolder object here.Christopher James Lahey2002-05-152-34/+21
| | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * e-summary-mail.c (folder_gen_html): Use the uri stored in the ESummaryMailFolder object here. (e_summary_mail_generate_html): Only show email folders if they have > 0 unread messages. (new_folder_cb): Save the evolutionUri here. svn path=/trunk/; revision=16787
* set the working hours for the meeting time selectorJP Rosevear2002-05-152-0/+11
| | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_construct): set the working hours for the meeting time selector svn path=/trunk/; revision=16786
* make the range datetime member a struct not a pointerJP Rosevear2002-05-155-9/+22
| | | | | | | | | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.h: make the range datetime member a struct not a pointer * cal-util/cal-component.c (cal_component_get_recurid): take a pointer to a range (cal_component_set_recurid): ditto * gui/itip-utils.c (comp_minimal): get/set the recurrence id properly svn path=/trunk/; revision=16785
* Document "evolution default:mail"Dan Winship2002-05-152-2/+10
| | | | | | * data/evolution.1: Document "evolution default:mail" svn path=/trunk/; revision=16784
* Compute the evolutionUri here and pass it in.Christopher James Lahey2002-05-152-1/+38
| | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * evolution-storage.c (evolution_storage_new_folder): Compute the evolutionUri here and pass it in. svn path=/trunk/; revision=16782
* Made it so that if the current_id doesn't match any of the given ids, itChristopher James Lahey2002-05-142-4/+20
| | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Made it so that if the current_id doesn't match any of the given ids, it treats it the same as a NULL id. (gal_view_menus_apply): Added a check for gvm->priv == NULL here. (gal_view_menus_apply, collection_changed, instance_changed): Removed calls to set_radio after build_stuff, since the last thing build_stuff does is calls set_radio. svn path=/trunk/; revision=16781
* Add a missing CORBA_free in the case in which the typecode of theEttore Perazzoli2002-05-142-0/+9
| | | | | | | | | | * e-shell-config-offline.c (init_storage_set_view_status_from_config): Add a missing CORBA_free in the case in which the typecode of the /OfflineFolders/Paths key in the ConfigDatabase doesn't match the expected type. svn path=/trunk/; revision=16780
* Pass self to e_shell_offline_handler_new() instead of the componentEttore Perazzoli2002-05-144-32/+41
| | | | | | | | | | | | | | * e-shell.c (e_shell_go_offline): Pass self to e_shell_offline_handler_new() instead of the component registry. * e-shell-offline-handler.c: Replace member `component_registry' in EShellOfflineHandlerPrivate with a `shell' member. Updated all the code to retrieve the component registry from the shell instead of directly. (e_shell_offline_handler_construct): Get a @shell instead of a @component_registry. svn path=/trunk/; revision=16779
* Changed this to just walk the hash table to get the list of checkedChristopher James Lahey2002-05-142-20/+18
| | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list): Changed this to just walk the hash table to get the list of checked checkboxes instead of walking the tree. (Makes it so that checked paths will remain checked, even if they're not shown in the tree when the list is gotten.) svn path=/trunk/; revision=16778
* Handle the e-shell-config-offline and e-shell-config-default-foldersEttore Perazzoli2002-05-149-193/+533
| | | | | | | | | | | | | | | | | * e-shell-config.c: Handle the e-shell-config-offline and e-shell-config-default-folders pages. * e-shell-config-offline.h: New. * e-shell-config-offline.c: New. * e-shell-config-default-folders.h: New. * e-shell-config-default-folders.c: New. Moved default folder page configuration in from e-shell-config.c. * GNOME_Evolution_Shell.oaf.in: Add GNOME_Evolution_Shell_Config_OfflineFolders_Control. svn path=/trunk/; revision=16777
* Added a signal when the value of the checkboxes changes.Christopher James Lahey2002-05-143-0/+17
| | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_set_value_at): Added a signal when the value of the checkboxes changes. svn path=/trunk/; revision=16776
* Removed an incorrect comment here.Christopher James Lahey2002-05-142-2/+5
| | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * backend/idl/addressbook.idl: Removed an incorrect comment here. svn path=/trunk/; revision=16775
* Added search="string" where appropriate.Christopher James Lahey2002-05-142-3/+7
| | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * message-list.etspec: Added search="string" where appropriate. svn path=/trunk/; revision=16773
* Replaced q binding with ` for hiding/showing the message view pane.Christopher James Lahey2002-05-143-11/+34
| | | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * evolution-mail-global.xml: Replaced q binding with ` for hiding/showing the message view pane. * evolution-mail-message.xml: Replace n/p with ,/. for doing previous/next unread messages. Removed a few other bindings that interfere with alphanumeric characters. svn path=/trunk/; revision=16772
* Overload the setv/getv CamelObject virtual methods. (imap_setv):Jeffrey Stedfast2002-05-143-2/+133
| | | | | | | | | | | 2002-05-13 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (camel_imap_store_class_init): Overload the setv/getv CamelObject virtual methods. (imap_setv): Implemented. (imap_getv): Implemented. svn path=/trunk/; revision=16771
* Updated French translation.Christophe Merlet2002-05-142-1682/+1900
| | | | svn path=/trunk/; revision=16770
* Changed a lot of direct uses in this file of node->is_expanded to call theChristopher James Lahey2002-05-141-70/+76
| | | | | | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c: Changed a lot of direct uses in this file of node->is_expanded to call the function e_tree_table_adapter_node_is_expanded instead. (e_tree_table_adapter_node_is_expanded): Improved this function to know if the root node is visible and always return it as being expanded if it's not. It also doesn't bother creating nodes if they don't exist yet, and instead figures out whether they would be expanded if they were to be created and returns that value instead. svn path=/trunk/; revision=16768
* Enable the dropdown widgets even if the contact is not editable so thatChristopher James Lahey2002-05-142-1/+8
| | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * gui/contact-editor/e-contact-editor.c (enable_writable_fields): Enable the dropdown widgets even if the contact is not editable so that you can view any email address, phone number, or postal address on read only contacts. svn path=/trunk/; revision=16767
* Update for camel_folder_append_message / camel_folder_transfer_messages_toDan Winship2002-05-149-35/+58
| | | | | | | | | | | | | | | | * (various places): Update for camel_folder_append_message / camel_folder_transfer_messages_to API change. * mail-ops.c (mail_append_mail): Pass the appended_uid to the callback. * mail-callbacks.c (composer_save_draft_cb, save_draft_done, do_edit_messages): Take advantage of the append_message change to keep track of the UID of the saved draft so that we can delete the old copy of the draft each time we save a new one. Remove the FIXME suggesting we should do that, since we're doing it now. :) svn path=/trunk/; revision=16766
* Add a "char **appended_uid" argument, for the caller to optionally pass inDan Winship2002-05-1415-95/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-folder.c (camel_folder_append_message): Add a "char **appended_uid" argument, for the caller to optionally pass in a variable to receive the UID of the appended message (if the provider knows it). (camel_folder_transfer_messages_to): Likewise, add "GPtrArray **transferred_uids" (transfer_messages_to): Update default implementation to handle transferred_uids. * camel-disco-folder.c (disco_append_message, disco_transfer_messages_to): Update for API changes. * camel-disco-diary.c (camel_disco_diary_replay): Update the diary's temporary uid->real uid map when replaying appends and transfers. * providers/imap/camel-imap-folder.c (imap_append_offline, imap_append_online, imap_transfer_offline): Pass back the new UIDs, when requested and available. (imap_append_resyncing): Pass back the new UIDs when requested and available. Remove the diary uidmap managing code since CamelDiscoDiary can handle that itself now. (imap_transfer_online, imap_transfer_resyncing): Update for new APIs, but don't actually pass back the new UIDs yet. (It's tricky since the COPYUID response may not be in the same order as the input uids.) * providers/local/camel-maildir-folder.c (maildir_append_message): Pass back the new UID if requested. * providers/local/camel-mbox-folder.c (mbox_append_message): Likewise. * providers/local/camel-mh-folder.c (mh_append_message): Likewise. * providers/local/camel-spool-folder.c (spool_append_message): Likewise. * camel-digest-folder.c (digest_append_message, digest_transfer_messages_to): Update for API changes. * camel-filter-driver.c (camel_filter_driver_filter_message, do_copy, do_move): Update for API changes. * camel-vee-folder.c (vee_append_message, vee_transfer_messages_to): Likewise. * camel-vtrash-folder.c (vtrash_append_message, vtrash_transfer_messages_to): Likewise. svn path=/trunk/; revision=16765
* Since the fix for #3357 uses 'order=0' to indicate tree structure nodes,Not Zed2002-05-132-2/+11
| | | | | | | | | | | | | 2002-05-13 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (camel_folder_thread_messages_new_summary): (camel_folder_thread_messages_new): Since the fix for #3357 uses 'order=0' to indicate tree structure nodes, make sure we dont actually set order=0 for valid messages, otherwise we silently lose duplicates of the first message (i==0). Fixes #19920. svn path=/trunk/; revision=16764
* Fetch the BODYSTRUCTURE rather than BODY since BODY seems to be lackingJeffrey Stedfast2002-05-112-1/+5
| | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Fetch the BODYSTRUCTURE rather than BODY since BODY seems to be lacking some of the data we need. This fixes bug #24131. svn path=/trunk/; revision=16762
* Might help if we called camel_transport_class_init.Jeffrey Stedfast2002-05-112-1/+6
| | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * camel-transport.c (camel_transport_get_type): Might help if we called camel_transport_class_init. svn path=/trunk/; revision=16761
* If grabbed_item is NULL, cancel the timeout.Christopher James Lahey2002-05-111-0/+8
| | | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (grab_cancelled_check): If grabbed_item is NULL, cancel the timeout. svn path=/trunk/; revision=16760
* Update for the new message-browser api.Jeffrey Stedfast2002-05-114-278/+45
| | | | | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Update for the new message-browser api. * message-browser.c (message_browser_new): A brand new implementation that just shows the message, none of that next/prev crap that always caused problems anyway. svn path=/trunk/; revision=16759
* updated Vietnamese filePablo Saratxaga2002-05-112-13223/+11453
| | | | svn path=/trunk/; revision=16758
* Added SimpleCard interface.Christopher James Lahey2002-05-116-12/+455
| | | | | | | | | | | | | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: Added SimpleCard interface. * gui/component/select-names/Makefile.am: Added e-simple-card-bonobo.c and e-simple-card-bonobo.h. * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Added SIMPLE_CARD_LIST arg. * gui/component/select-names/e-simple-card-bonobo.c, gui/component/select-names/e-simple-card-bonobo.h: New class to represent an ECardSimple across Bonobo. svn path=/trunk/; revision=16757
* Don't add any shortcuts here. (mail_config_remove_account): And don'tJeffrey Stedfast2002-05-114-194/+26
| | | | | | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_add_account): Don't add any shortcuts here. (mail_config_remove_account): And don't remove them here. This code has never worked properly. * mail-ops.c (save_part_save): Use the exception enum names rather than '1' since it makes the code clearer. svn path=/trunk/; revision=16756
* Add members `parent' and `shell' in DiscoveryData.Ettore Perazzoli2002-05-112-16/+89
| | | | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c: Add members `parent' and `shell' in DiscoveryData. (shell_view_destroy_callback): Callback for destruction of ->parent; set ->parent to NULL. (shell_destroy_callback): Callback for the desctruction of the shell; clean up everything. (discover_folder): Initialize ->parent and shell, and add the corresponding destruction handlers. (shared_folder_discovery_listener_callback): Open the discovered folder. (setup_progress_dialog): Renamed from `show_progress_dialog'. Set up a timeout for displaying the dialog instead of displaying it right away. (progress_dialog_show_timeout_callback): Callback for showing the dialog after the callback. svn path=/trunk/; revision=16754
* Add the Addressbook-SelectNames interface stuff.Ettore Perazzoli2002-05-111-0/+4
| | | | svn path=/trunk/; revision=16752
* Updated for FolderResult instead of DiscoverSharedFolderResult.Ettore Perazzoli2002-05-114-17/+15
| | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Updated for FolderResult instead of DiscoverSharedFolderResult. * Evolution-Storage.idl: Remove struct DiscoverSharedFolderResult; we want to just use FolderResult for asyncDiscoverSharedFolder. svn path=/trunk/; revision=16751
* Include string.h here.Christopher James Lahey2002-05-111-0/+2
| | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * e-table-search.c: Include string.h here. svn path=/trunk/; revision=16749
* New. New.Ettore Perazzoli2002-05-112-0/+505
| | | | | | | * e-shell-shared-folder-picker-dialog.c: New. * e-shell-shared-folder-picker-dialog.h: New. svn path=/trunk/; revision=16748
* Add FileOpenOtherUsersFolder.Ettore Perazzoli2002-05-112-0/+9
| | | | | | * evolution.xml: Add FileOpenOtherUsersFolder. svn path=/trunk/; revision=16747
* Added some tests for the custom storage.Ettore Perazzoli2002-05-1110-49/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
* Simplify. Use transfer_messages_to instead of picking between copy andDan Winship2002-05-113-35/+12
| | | | | | | | | | | | * mail-ops.c (transfer_messages_transfer): Simplify. Use transfer_messages_to instead of picking between copy and move. Remove vtrash special-casing since it's all in camel-vtrash-folder.c now. Remove duplicate source == dest check. * mail-local.c (mail_local_folder_reconfigure): Use transfer_messages_to instead of copy_messages_to. svn path=/trunk/; revision=16745
* Replace copy_messages_to and move_messages_to with a single function thatDan Winship2002-05-1112-273/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-folder.c (camel_folder_transfer_messages_to): Replace copy_messages_to and move_messages_to with a single function that just takes a "delete_originals" flag. Also, use the vtrash implementation if *either* folder is a vtrash. (transfer_messages_to): Make this use camel_operation_progress (previously move_messages_to did but copy_messages_to didn't), and freeze/thaw the folder(s) if doing multiple messages. * camel-vtrash-folder.c (vtrash_transfer_messages_to): Update for move/copy merge. Move the "move messages into vtrash" code here from mail-ops.c. Now all of the vtrash move/copy special casing is in camel instead of half of it being here and half in mail/. (This should also make it so that "Move to Trash" will work in filter rules.) * camel-vee-folder.c (vee_transfer_messages_to): Make this just return an exception, since it will only be called when trying to move/copy messages from one vfolder to another. (vee_append_message): Add this too so we get a nicer error message than the default "unimplemented" one in camel-folder.c. * camel-digest-folder.c: Replace copy_messages_to and move_messages_to with transfer_messages_to. * camel-disco-folder.c: Likewise * camel-disco-diary.c (camel_disco_diary_log, camel_disco_diary_replay): replace MOVE/COPY with TRANSFER. * providers/imap/camel-imap-folder.c (imap_transfer_offline, imap_transfer_online, imap_transfer_resyncing): Update for changes. (This ends up being a bit more complicated than it was before for now, but later disconnected operation changes should resimplify it.) * camel-filter-driver.c (camel_filter_driver_filter_message, do_copy, do_move): Use transfer_messages_to instead of copy. svn path=/trunk/; revision=16744
* New filter function to pipe a message to another program. (run_command):Jeffrey Stedfast2002-05-102-13/+7
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (shell_exec): New filter function to pipe a message to another program. (run_command): Fixed some bugs to make this work. svn path=/trunk/; revision=16742
* Set the path in the entry widget.Jeffrey Stedfast2002-05-102-0/+4
| | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (get_widget): Set the path in the entry widget. svn path=/trunk/; revision=16741
* New filter function to pipe a message to another program.Jeffrey Stedfast2002-05-102-0/+135
| | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (shell_exec): New filter function to pipe a message to another program. svn path=/trunk/; revision=16740
* Add filter-file.[c,h] to the build.Jeffrey Stedfast2002-05-106-20/+66
| | | | | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Add filter-file.[c,h] to the build. * filtertypes.xml: Add a "Command" filter rule. * filter-element.c (filter_element_new_type_name): Add support for type "command" which uses the new FilterFile widget. svn path=/trunk/; revision=16739
* Switch from gnome_canvas_item_grab to e_canvas_item_grab.Christopher James Lahey2002-05-105-31/+149
| | | | | | | | | | | | | | | | | | | 2002-05-09 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to e_canvas_item_grab. * gal/widgets/e-canvas.c, gal/widgets/e-canvas.h (e_canvas_item_grab, e_canvas_item_ungrab): Added these functions. From gal/e-table/ChangeLog: 2002-05-09 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Switched from gnome_canvas_item_grab to e_canvas_item_grab. svn path=/trunk/; revision=16738
* Make sure that even if the new source url is NULL, that we preserve theJeffrey Stedfast2002-05-102-3/+10
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Make sure that even if the new source url is NULL, that we preserve the enabledness of the source. svn path=/trunk/; revision=16737
* Bump file version to 2. (This will make older versions of gal ignore theDan Winship2002-05-101-4/+12
| | | | | | | | | | | | | | * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): Bump file version to 2. (This will make older versions of gal ignore the file, fixing the problem where going from evo HEAD to evo 1.0.x makes the folder tree disappear.) Store the default expanded state in the file now to prevent this from happening again in the future. (e_tree_table_adapter_load_expanded_state): Deal with version 2. If the model's default expansion state doesn't match the saved state, ignore the save file. svn path=/trunk/; revision=16736
* New filter widgets for choosing files and/or command-line's (?). Not yetJeffrey Stedfast2002-05-103-0/+375
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.[c,h]: New filter widgets for choosing files and/or command-line's (?). Not yet hooked up or anything, just for future use. svn path=/trunk/; revision=16735
* Added "first_email" property.Christopher James Lahey2002-05-102-0/+26
| | | | | | | | | 2002-05-09 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Added "first_email" property. svn path=/trunk/; revision=16734
* Pass %FALSE as @has_shared_folders to evolution_storage_new().Ettore Perazzoli2002-05-109-22/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-local-storage.c (construct): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * evolution-storage.c: New member has_shared_folders in EvolutionStoragePrivate. (init): Initialize to FALSE. (evolution_storage_new): New arg @has_shared_folders. (evolution_storage_construct): Likewise. (impl_Storage__get_folderList): Renamed from impl_Storage__get_folder_list. (impl_Storage__get_hasSharedFolders): New, implementation for ::hasSharedFolders. (evolution_storage_get_epv): Install the CORBA method implementation. * Evolution-Storage.idl: Make Storage::name a readonly attribute. New attribute Storage:: * component-factory.c (add_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). svn path=/trunk/; revision=16733
* Rename NotPrepared to notPrepared and NotSyncing to notSyncing.Ettore Perazzoli2002-05-096-11/+29
| | | | | | | | | | | | | | | | | | * Evolution-Offline.idl: Rename NotPrepared to notPrepared and NotSyncing to notSyncing. * evolution-storage.c (impl_Storage__get_folder_list): Renamed from impl_Storage_get_folder_list(). * Evolution-Storage.idl: Don't typedef FolderList here. Replace `getFolderList' method with a readonly attribute. * gui/e-itip-control.c (get_servers): use GNOME_Evolution_Storage__get_folderList instead of GNOME_Evolution_Storage_getFolderList since I have now changed that to be an attribute instead of a method. svn path=/trunk/; revision=16732
* dist Spell.idlJP Rosevear2002-05-092-0/+5
| | | | | | | | 2002-05-09 JP Rosevear <jpr@ximian.com> * Makefile.am: dist Spell.idl svn path=/trunk/; revision=16731
* Instead of testing for SERVICE_CONNECTED, we need to also handleNot Zed2002-05-093-2/+12
| | | | | | | | | | | | | 2002-05-09 Not Zed <NotZed@Ximian.com> * camel-service.c (camel_service_disconnect): Instead of testing for SERVICE_CONNECTED, we need to also handle SERVICE_CONNECTING too, as it will often have setup some details before it failed. Make it !DISCONNECTED (and !DISCONNECTING for recursive calls, which happen). Fixes #23782, and maybe also #21604 and many other random crashes. svn path=/trunk/; revision=16730
* Implemented. (digest_getv): Implemented.Jeffrey Stedfast2002-05-0912-23/+364
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-08 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-store.c (digest_setv): Implemented. (digest_getv): Implemented. * camel-disco-store.c (disco_setv): Implemented. (disco_getv): Implemented. * camel-remote-store.c (remote_store_setv): Implemented. (remote_store_getv): Implemented. * camel-transport.c (camel_transport_class_init): Implemented. (transport_setv): Implemented. (transport_getv): Implemented. * camel-store.c (store_setv): Implemented. (store_getv): Implemented. * camel-service.c (service_setv): Implemented. (service_getv): Implemented. svn path=/trunk/; revision=16729
* implemented (c'n'p-ed and updated) spell checking settingsRadek Doulik2002-05-098-38/+378
| | | | | | | | | 2002-05-08 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: implemented (c'n'p-ed and updated) spell checking settings svn path=/trunk/; revision=16728
* Revert zh_CN and zh_TW changes because gettext sucksJP Rosevear2002-05-093-27321/+9244
| | | | | | | | 2002-05-08 JP Rosevear <jpr@ximian.com> * Revert zh_CN and zh_TW changes because gettext sucks svn path=/trunk/; revision=16727
* Add an explanation/warning about why we want Berkeley DB 3.1.17 andEttore Perazzoli2002-05-092-0/+44
| | | | | | | * README: Add an explanation/warning about why we want Berkeley DB 3.1.17 and nothing else. svn path=/trunk/; revision=16726
* Pretty pixmap buttonsIain Holmes2002-05-092-2/+31
| | | | svn path=/trunk/; revision=16725
* Make the mail folders work okay.Iain Holmes2002-05-082-13/+95
| | | | svn path=/trunk/; revision=16724
* Change so there's no race conditions between the folder info and the session ↵Iain Holmes2002-05-083-44/+119
| | | | | | stuff svn path=/trunk/; revision=16723
* link against the libtool version of libversitJP Rosevear2002-05-082-1/+6
| | | | | | | | | 2002-05-08 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: link against the libtool version of libversit svn path=/trunk/; revision=16722
* Update the po files to cut down on dist timeJP Rosevear2002-05-0839-152937/+376347
| | | | | | | | 02-05-08 JP Rosevear <jpr@ximian.com> * Update the po files to cut down on dist time svn path=/trunk/; revision=16721
* Changed for rule_context_rename_uri api changes. (mail_filter_delete_uri):Not Zed2002-05-082-2/+39
| | | | | | | | | | | | 2002-05-08 Not Zed <NotZed@Ximian.com> * mail-autofilter.c (mail_filter_rename_uri): Changed for rule_context_rename_uri api changes. (mail_filter_delete_uri): Same. Also, popup a dialogue similar to vfolder deleted dialogue to notify the user something has changed. Partial fix for #18826. svn path=/trunk/; revision=16720
* camel_pop3_engine_iterate doesn't return the state, it returns -1 on fail,Jeffrey Stedfast2002-05-082-7/+15
| | | | | | | | | | | | 2002-05-08 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): camel_pop3_engine_iterate doesn't return the state, it returns -1 on fail, 0 when finished processing request or >0 if more ops are in the queue, so don't check status against CAMEL_POP3_STATE_OK, instead check pcp->state against that. svn path=/trunk/; revision=16719
* Changed to return a GList *, a list of the names of the rules affected byNot Zed2002-05-085-42/+126
| | | | | | | | | | | | | | | | | 2002-05-08 Not Zed <NotZed@Ximian.com> * rule-context.c (rule_context_delete_uri): Changed to return a GList *, a list of the names of the rules affected by the delete, fixed all implementors. (rule_context_rename_uri): Similarly for delete_uri, for api consistency. (rule_context_free_uri_list): Util function to free the return from above. * filter-context.c (filter_delete_uri): Actually implement it, fix for #18826, and some related bugs. svn path=/trunk/; revision=16718
* font.png: Add for the font config prefs.Larry Ewing2002-05-081-0/+1
| | | | | | | | | 2002-04-25 Larry Ewing <lewing@ximian.com> * Makefile.am (images_DATA): font.png: Add for the font config prefs. svn path=/trunk/; revision=16716
* propose spell checking settings UIRadek Doulik2002-05-081-101/+98
| | | | svn path=/trunk/; revision=16715
* oops, add the NULL back at the end of possible_types.Chris Toshok2002-05-082-1/+7
| | | | | | | | | | 2002-05-07 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_config_control_new): oops, add the NULL back at the end of possible_types. svn path=/trunk/; revision=16714
* New interface SyncFolderProgressListener. (Offline::cancelSyncFolder):Ettore Perazzoli2002-05-082-2/+32
| | | | | | | | * Evolution-Offline.idl: New interface SyncFolderProgressListener. (Offline::cancelSyncFolder): New. (Offline::syncFolder): New. svn path=/trunk/; revision=16713
* s/class/klass for arguments so that c++ developers don't complain later.Jeffrey Stedfast2002-05-082-16/+22
| | | | | | | | | 2002-05-07 Jeffrey Stedfast <fejj@ximian.com> * camel-object.h: s/class/klass for arguments so that c++ developers don't complain later. svn path=/trunk/; revision=16712
* bleah, need to pass the GtkWindow here so we can pop up the a modalChris Toshok2002-05-082-22/+48
| | | | | | | | | | | | | | | 2002-05-07 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_ldap_init): bleah, need to pass the GtkWindow here so we can pop up the a modal parented dialog (gtk modal dialogs suck?). (addressbook_ldap_auth): same. (addressbook_root_dse_query): same. (do_ldap_root_dse_query): same. (addressbook_config_control_new): add "ldap-contacts" to the list of possible types. svn path=/trunk/; revision=16711
* fixed the glade file so that the management page would show up in the ↵Jeffrey Stedfast2002-05-082-4/+4
| | | | | | account druid. svn path=/trunk/; revision=16710
* start a server a uri (start_default_server): start a default serverJP Rosevear2002-05-087-42/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (start_calendar_server): start a server a uri (start_default_server): start a default server (get_servers): get all clients for all folders of the given type(s) (find_server): locate a server for a particular uid (init): get_servers, listen for object_requested signal (destroy): destroy all clients (write_html): put options is there own cell (get_publish_options): place selector in if param is true (get_request_options): ditto (get_real_item): only try and look up the item if we know its in the server (show_current_event): find the server (if any) for the current comp (show_current_todo): ditto (update_attendee_status): if there is no server for the comp, it doesn't exist (remove_item): ditto (button_selected_cb): get a client for the selected folder (object_requested_cb): draw the folder button in * gui/calendar-config.h: new protos * gui/calendar-config.c (calendar_config_default_tasks_folder): get default tasks uri (calendar_config_default_calendar_folder): get default calendar uri * cal-client/cal-client.c (get_default_uri): use cal_util_expand_uri * cal-util/cal-util.h: new proto * cal-util/cal-util.c (cal_util_expand_uri): tack on the file name if its a file uri svn path=/trunk/; revision=16709
* add every folder to the sequence except the root folderJP Rosevear2002-05-087-2/+165
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * evolution-storage.c (get_folder_list_foreach): add every folder to the sequence except the root folder (impl_Storage_get_folder_list): implement corba method (evolution_storage_get_epv): set new method implementation * evolution-folder-selector-button.h: fix signal prototype * e-folder-tree.h: new proto * e-folder-tree.c (e_folder_tree_get_count): count nodes (count_nodes): bump count foreach path * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): implement idl method (corba_class_init): set epv method * Evolution-Storage.idl: add getStorageList and getFolderList methods svn path=/trunk/; revision=16708
* Use the new evolution_shell_client_create_storage_set_view() call.Ettore Perazzoli2002-05-084-24/+76
| | | | | | | | | | * evolution-test-component.c (create_new_folder_selector): Use the new evolution_shell_client_create_storage_set_view() call. * evolution-shell-client.c (evolution_shell_client_create_storage_set_view): New. svn path=/trunk/; revision=16707
* Minor fix on spanish translationHector Garcia2002-05-081-1/+1
| | | | svn path=/trunk/; revision=16706
* Fix a crash in a g_warning.Dan Winship2002-05-082-4/+8
| | | | | | | * camel-object.c (camel_object_class_cast): Fix a crash in a g_warning. svn path=/trunk/; revision=16705
* Put the EStorageSetView in an EScrollFrame.Ettore Perazzoli2002-05-0811-59/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Put the EStorageSetView in an EScrollFrame. * e-shell.c (impl_Shell_createStorageSetView): CORBA_Object_duplicate the object before returning. * evolution-test-component.c (create_new_folder_selector): New function to create a simple test environment for the new checkbox-enabled StorageSetView. (register_component): Add user-creatable type FolderSelector. (user_create_new_item_callback): Handle FolderSelector. (dialog_clicked_callback): Print out the checked items in the folder selector. (main): Print out a message before going into bonobo_main(). * evolution-storage-set-view.c (impl_StorageSetView__get_showFolders): Renamed from impl_StorageSetView__get_show_folders. (impl_StorageSetView__set_showFolders): Renamed from impl_StorageSetView__set_show_folders. (impl_StorageSetView__set_showCheckboxes): New, write the showCheckboxes CORBA attribute. (impl_StorageSetView__get_showCheckboxes): New, read the showCheckboxes CORBA attribute. (impl_StorageSetView__get_checkedFolders): New, read the checkedFolders CORBA attribute. (corba_class_init): Install the new CORBA methods methods. * e-storage-set-view.c (essv_add_to_list): strdup() the path. (e_storage_set_view_get_storage_set): New. * e-folder.c (e_folder_to_corba): New. * Evolution-StorageSetView.idl: Add showCheckboxes and checkedFolders attributes. * Evolution-common.idl: Add typedef for FolderList. svn path=/trunk/; revision=16704
* s/ldap_config/addressbook_config/ so this compiles again.Dan Winship2002-05-072-1/+6
| | | | | | | * gui/component/addressbook-storage.c (create_ldap_folder): s/ldap_config/addressbook_config/ so this compiles again. svn path=/trunk/; revision=16703
* New.Ettore Perazzoli2002-05-073-1/+12
| | | | | | * e-corba-utils.c (e_safe_corba_string_dup): New. svn path=/trunk/; revision=16702
* Check for LOGIN xxxx as well if debug is on, so we dont print passwords toNot Zed2002-05-0749-850/+1119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 Not Zed <NotZed@Ximian.com> * camel-remote-store.c (remote_send_string): Check for LOGIN xxxx as well if debug is on, so we dont print passwords to evolution logs. * providers/imap/camel-imap-utils.c (imap_is_atom_char): This was really broken. 1. isprint() is locale dependent, and 2. it looked up an 8 bit value in a 7 bit table without truncating it. I've removed the isprint() stuff and just put it directly into the special table, which i've expanded to the right size too. * providers/imap/*: Applied patch from Preston Elder <prez@magick.tm> to make camel only use literals if it needs to for simple strings. Changed slightly to use imap_is_atom() and more consistent formatting. providers/imap/camel-imap-utils.c (imap_is_atom): Chagned from imap_needs_quoting(). ** Merged in camel-object2 branch. Simpler camelobject implementation + object args interface. * camel.c (camel_init): Call camel_object_get_type() to make sure camel_object_type is initialised. * camel-object.h (CAMEL_OBJECT_TYPE): Changed to return global camel_object_type pointer, not call camel_object_get_type. svn path=/trunk/; revision=16701
* If the pop3 command status is -1, then we probably have a TCP error (?) soJeffrey Stedfast2002-05-073-15/+29
| | | | | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): If the pop3 command status is -1, then we probably have a TCP error (?) so set a SYSTEM exception so our caller can distinguish between a "bad password" and a "tcp error". (pop3_connect): Only uncache the password on "bad password" errors. svn path=/trunk/; revision=16700
* Use CamelMimeFilterBestenc to get a more appropriate encoding rather thanJeffrey Stedfast2002-05-072-7/+33
| | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-mime.c (pgp_mime_part_sign_prepare_part): Use CamelMimeFilterBestenc to get a more appropriate encoding rather than just blindling assigning QP. svn path=/trunk/; revision=16699
* Call camel_mime_message_encode_8bit_parts() which fixes bug #10885.Jeffrey Stedfast2002-05-072-3/+4
| | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (do_append): Call camel_mime_message_encode_8bit_parts() which fixes bug #10885. svn path=/trunk/; revision=16698
* Change this directory to include the $(VERSION).Christopher James Lahey2002-05-071-6/+2
| | | | | | | | | | | | | | | | | | | 2002-05-06 Christopher James Lahey <clahey@ximian.com> * gal/widgets/Makefile.am (imagesdir): Change this directory to include the $(VERSION). * gal/widgets/e-reflow.c (set_empty): Don't switch from utf8 to widget encoding, since EText takes utf8. From art/ChangeLog: 2002-05-06 Christopher James Lahey <clahey@ximian.com> * Makefile.am (imagesdir): Change this directory to include the $(VERSION). svn path=/trunk/; revision=16697
* Flush the filter log to make Tuomas happy :-)Jeffrey Stedfast2002-05-075-8/+29
| | | | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_free): Flush the filter log to make Tuomas happy :-) * mail-session.c (mail_session_flush_filter_log): New convenience function to flush the session's filter log file. svn path=/trunk/; revision=16696
* Set the Seen flag as well since it's safe to assume that if the user hasJeffrey Stedfast2002-05-072-2/+6
| | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_reply): Set the Seen flag as well since it's safe to assume that if the user has replied to an email message that he has read it. Not always true, but usually ;-) svn path=/trunk/; revision=16693
* If we are in a Sent/Drafts/Outbox folder, don't show the "Add Sender toJeffrey Stedfast2002-05-072-4/+23
| | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): If we are in a Sent/Drafts/Outbox folder, don't show the "Add Sender to Addressbook" menu item. svn path=/trunk/; revision=16692
* Don't bother with counting down the timeout.Jeffrey Stedfast2002-05-072-7/+7
| | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-raw.c (socket_connect): Don't bother with counting down the timeout. svn path=/trunk/; revision=16690
* minor feature change in Evolution w/r/t Exchange calendars.Aaron Weber2002-05-074-8/+64
| | | | | | | | | | | | | | 2002-05-06 Aaron Weber <aaron@ximian.com> * C/usage-mainwindow.sgml: minor feature change in Evolution w/r/t Exchange calendars. * C/usage-exchange.sgml: minor feature change in Evolution w/r/t Exchange calendars. * C/usage-calendar.sgml: minor feature change in Evolution w/r/t Exchange calendars. * C/usage-mainwindow.sgml: validation issue. svn path=/trunk/; revision=16687
* Replaced ldap-config.c with addressbook-config.c.Christopher James Lahey2002-05-072-1/+5
| | | | | | | | 2002-05-06 Christopher James Lahey <clahey@ximian.com> * POTFILES.in: Replaced ldap-config.c with addressbook-config.c. svn path=/trunk/; revision=16686
* Check all threads are idle as well, using new e_thread_busy call. ShouldNot Zed2002-05-062-2/+8
| | | | | | | | | | 2002-05-06 Not Zed <NotZed@Ximian.com> * component-factory.c (idle_quit): Check all threads are idle as well, using new e_thread_busy call. Should fix #22553? Also sleep a little bit, to let the other threads run. svn path=/trunk/; revision=16684