aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use "saved" gtkhtml commandRadek Doulik2002-07-182-0/+8
| | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (save_draft_done): use "saved" gtkhtml command svn path=/trunk/; revision=17494
* use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved"Radek Doulik2002-07-182-3/+11
| | | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (save): use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved" gtkhtml command svn path=/trunk/; revision=17493
* Oops, Don't comment out the mail_note_store call.Jeffrey Stedfast2002-07-182-2/+7
| | | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (add_storage): Oops, Don't comment out the mail_note_store call. svn path=/trunk/; revision=17492
* use util function to see if the user is the organizer72002-07-1811-55/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-17 <jpr@ximian.com> * gui/calendar-model.c (calendar_model_value_at): use util function to see if the user is the organizer * gui/dialogs/cancel-comp.c (cancel_component_dialog): add deleting proto to indicate whether cancelling or deleting is the primary operation * gui/dialogs/cancel-comp.h: update proto * gui/dialogs/comp-editor.c (delete_cmd): offer to cancel * gui/dialogs/task-editor.c (cancel_task_cmd): call cancel_component_dialog with new param * gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): only update request if user is organizer (e_week_view_show_popup_menu): disable the meeting and meeting organizer mask if appropriate (e_week_view_delete_event_internal): offer to cancel the meeting (e_week_view_on_cut): ditto (selection_received): send request if its a meeting * gui/e-day-view.h: add meeting icon/mask * gui/e-day-view.c (e_day_view_on_event_right_click): disable the meeting and meeting organizer mask if appropriate (e_day_view_delete_event_internal): offer to cancel meeting (e_day_view_on_cut): ditto (e_day_view_finish_long_event_resize): only update request if user is organizer (e_day_view_reshape_long_event): add meeting icon to count (e_day_view_reshape_day_event): ditto (e_day_view_on_top_canvas_drag_data_received): only update request if user is organizer (e_day_view_on_main_canvas_drag_data_received): ditto (selection_received): offer to send meeting info * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): draw meeting icon if appropriate (using dummy icon atm) svn path=/trunk/; revision=17491
* (setup_standard_verbs): Set the <commands> partEttore Perazzoli2002-07-182-5/+41
| | | | | | | | | | | | | | | | of the XML manually with bonobo_ui_component_set() otherwise the verbs don't get added on the other side for us to be able to do bonobo_ui_component_set_prop(). (setup_bonobo_menus): New, menu setup code taken from update_bonobo_menus(). (remove_bonobo_menus): New; removes the Bonobo menus. (update_bonobo_menus): Rewritten, just call remove_bonobo_menus() first and setup_bonobo_menus() then. (e_search_bar_set_ui_component): Call setup_bonobo_menus() and remove_bonobo_menus() as appropriate instead of just update_bonobo_menus(). svn path=/trunk/; revision=17490
* remove debug printfDan Winship2002-07-171-2/+0
| | | | svn path=/trunk/; revision=17489
* Got rid of the stupid "tryagain" semantics, which didn't work.Not Zed2002-07-172-31/+38
| | | | | | | | | | 2002-07-17 Not Zed <NotZed@Ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Got rid of the stupid "tryagain" semantics, which didn't work. (pop3_connect): Fixed here to only retry under proper conditions. svn path=/trunk/; revision=17488
* Set the from-account last so that auto-cc/bcc recipients don't getJeffrey Stedfast2002-07-172-1/+7
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_headers): Set the from-account last so that auto-cc/bcc recipients don't get overwritten when setting the cc/bcc recipient fields. svn path=/trunk/; revision=17487
* Added final large versions of the InboxEttore Perazzoli2002-07-173-0/+5
| | | | | | and Outbox icons. svn path=/trunk/; revision=17486
* When CRLF encoding, "empty" (after stripping trailing whitespaceJeffrey Stedfast2002-07-172-0/+10
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-canon.c (filter): When CRLF encoding, "empty" (after stripping trailing whitespace characters) lines need to end in CRLF also, not just lines with data in them. svn path=/trunk/; revision=17485
* remove the option menu and browse button, and add a custom widgetChris Toshok2002-07-173-377/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-16 Chris Toshok <toshok@ximian.com> * gui/component/select-names/select-names.glade: remove the option menu and browse button, and add a custom widget placeholder for the folder-selector. * gui/component/select-names/e-select-names.c (addressbook_model_set_uri): move the "append /addressbook.db" stuff here. (e_addressbook_create_ebook_table): remove the code setting initial uri from here. (e_select_names_folder_free): gone. (e_select_names_option_activated): gone. (add_menu_item): gone. (update_option_menu): gone. (new_folder): gone. (removed_folder): gone. (folder_browse): gone. (hookup_listner): gone. (add_additional_select_names_uris): gone. (e_select_names_hookup_listners): gone. (e_addressbook_create_folder_selector): new function, create the folder selector button. (folder_selected): new function, callback for the folder selector. just calls addresbook_model_set_uri. (e_select_names_init): get the folder selector and initialize it to show /local/Contacts. also, set the model's uri here to the same folder. nuke the code involving the old option menu and browse button. svn path=/trunk/; revision=17484
* Re-enable some #if 0'd code.Jeffrey Stedfast2002-07-176-18/+32
| | | | | | | | | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code. * mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE for an auto_connect argument since that argument no longer exists. * mail-account-gui.c (add_new_store): Updated to not pass an auto_connect argument. * component-factory.c (add_storage): Don't ever auto-connect here. (mail_add_storage): No longer takes an auto_connect argument. (mail_load_storages): Only load the account storages that are enabled. svn path=/trunk/; revision=17483
* Clean up some improper usage of CamelExceptions (looking atPeter Williams2002-07-174-10/+27
| | | | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Clean up some improper usage of CamelExceptions (looking at camel_exception_is_set when ex = NULL). * providers/imap/camel-imap-store.c (get_folder_online): Here too. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_new): Nothing sets the exception so don't bother to check it at the end of this function. Prevents a warning about checking a NULL exception's value. svn path=/trunk/; revision=17482
* Remove a stray conflict marker.Peter Williams2002-07-171-1/+0
| | | | svn path=/trunk/; revision=17481
* Instead of doing this with a weakref, do it by connecting to the destroyPeter Williams2002-07-173-9/+24
| | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * e-msg-composer.c (create_composer): Instead of doing this with a weakref, do it by connecting to the destroy signal. The weakref was not getting notified in certain conditions that I could never really pin down, and this caused problems at exit. * e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to before from, because create_from_optionmenu causes from_changed to be called, which expects reply_to.entry to exist. svn path=/trunk/; revision=17480
* Make the standard AUTH format take priority over the AUTH= priority, sinceJeffrey Stedfast2002-07-173-18/+43
| | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_helo): Make the standard AUTH format take priority over the AUTH= priority, since sometimes servers only list a subset of the supported authtypes in the AUTH= response while they list all authtypes in the standard AUTH response. Fixes "bug" #27841. svn path=/trunk/; revision=17479
* Forgot part of the patchPeter Williams2002-07-171-1/+2
| | | | svn path=/trunk/; revision=17478
* Install the SelectNames IDL and ancillary changes.Peter Williams2002-07-172-4/+10
| | | | | | | | | 2002-07-08 Peter Williams <peterw@ximian.com> * gui/component/select-names/Makefile.am (idl_DATA): Install the SelectNames IDL and ancillary changes. svn path=/trunk/; revision=17477
* add folder.png, folder-mini.png, public-folder.png, andDan Winship2002-07-166-0/+14
| | | | | | | | | | | | * Makefile.am (images_DATA): add folder.png, folder-mini.png, public-folder.png, and public-folder-mini.png * folder-mini.png: Renamed from local-16.png * folder.png, public-folder.png, public-folder-mini.png: New, from Jakub. svn path=/trunk/; revision=17476
* If we're not online and the message isn't in our cache, give up.Peter Williams2002-07-162-1/+12
| | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): If we're not online and the message isn't in our cache, give up. svn path=/trunk/; revision=17475
* Cast to a string type. (term_eval_castint): Cast to an int type.Not Zed2002-07-163-3/+83
| | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * e-sexp.c (term_eval_caststring): Cast to a string type. (term_eval_castint): Cast to an int type. (symbols[]): Add to symbol table. * e-memory.c: Some more profiling for epoolv's. svn path=/trunk/; revision=17474
* Lookup the label colour based on the label token, not an integer.Not Zed2002-07-163-17/+19
| | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * message-list.c (ml_tree_value_at): Lookup the label colour based on the label token, not an integer. * folder-browser.c (on_right_click): Lookup the label name from the filter type. Sigh, a bunch of other code should do similar but i'm going to leave it as integers. (set_msg_label): Set the label directly. svn path=/trunk/; revision=17473
* cvs remove.Not Zed2002-07-167-132/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h * vfoldertypes.xml: Fix label vfolder rule as below, also add score and size rules from filtertypes.xml. * filtertypes.xml (score): Use (cast-int (user-tag "score")) to get the value directly, rather than (get-score). (label): Use (user-tag "label") to get the value directly, rather than (get-label). The label is now a string too. * filter-label.c (filter_label_get_type): Make filter-label inherit from filter-option. Which makes more sense doesn't it ... surely. (validate): Removed, optionlists are self-validating. (xml_create): Initialise the list of options from our configuration database. If it isn't working, ignore it and set it up anyway. (filter_label_init): Override the xml type. (filter_label_count): (filter_label_label): (filter_label_index): Some helper functions for external interfaces. All of the mail config/etc should use this. * filter-option.c (free_option): (xml_create): (clone): Made the "value" type in glib memory rather than xml memory space. (filter_option_add): Utility function to add a new option to the list. (clone): Use above function to simplify code. (xml_create): Same here. (xml_encode): Allow subclasses to override the type. svn path=/trunk/; revision=17472
* Removed. (get_score): Removed. Labels & scores are stored in tags, weNot Zed2002-07-162-36/+15
| | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * camel-filter-search.c (get_label): Removed. (get_score): Removed. Labels & scores are stored in tags, we already have a function to get tags. (user_tag): Fail if we dont get valid arguments, it must be a string type. (system_flag): Same here. svn path=/trunk/; revision=17471
* Try to get the FQDN from the results of gethostname(). If that fails, thenJeffrey Stedfast2002-07-162-9/+26
| | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_msgid_generate): Try to get the FQDN from the results of gethostname(). If that fails, then fall back to the results gotten from gethostname() or if that fails just use "localhost.localdomain". Addresses bug #17416. (header_decode_param): Protect against a NULL value. svn path=/trunk/; revision=17470
* updatedRadek Doulik2002-07-161-448/+433
| | | | svn path=/trunk/; revision=17469
* Pass 'info' into mail_append_mail(), seems I created the info but forgotJeffrey Stedfast2002-07-162-18/+28
| | | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_cb): Pass 'info' into mail_append_mail(), seems I created the info but forgot to pass it in. (composer_send_queued_cb): If the message is successfully queued, we destroy the composer, otherwise we unref it. Don't ever destroy and then unref it. svn path=/trunk/; revision=17468
* use new save_header_state flagRadek Doulik2002-07-162-3/+7
| | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * mail-callbacks.c: use new save_header_state flag svn path=/trunk/; revision=17467
* added save_html_object_data parameter, use gtkhtml command to save objectRadek Doulik2002-07-163-6/+22
| | | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (build_message): added save_html_object_data parameter, use gtkhtml command to save object data when wanted svn path=/trunk/; revision=17466
* Get rid of the constant 'required' variable, just use the value whenJeffrey Stedfast2002-07-162-3/+5
| | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of the constant 'required' variable, just use the value when calling set_best_encoding. svn path=/trunk/; revision=17465
* Changed the mbox and spool provider descriptions to try and be more clear.Jeffrey Stedfast2002-07-162-7/+18
| | | | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-provider.c: Changed the mbox and spool provider descriptions to try and be more clear. I'm not sure I like the mention of Evolution in the mbox provider description, but there was no other way to make it clear that it MOVED mail out of the mbox folder into a folder managed by Evolution without mentioning Evolution. *sigh* Anyways, to me "retrieve" means move, but apparently this isn't clear to the weak minded. svn path=/trunk/; revision=17464
* Fixes #8001Rodrigo Moya2002-07-164-37/+107
| | | | | | | | | | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #8001 * importers/icalendar-importer.c (connect_to_shell): new function for connecting the importers (both iCal and vCal) to the shell, needed for some information retrieval about the folders we're importing to. (ical_importer_new, vcal_importer_new): call connect_to_shell. (importer_destroy_cb): unref the shell client object. (get_uri_from_folder_path): retrieve the uri from the storage registry. (check_folder_type): removed. * importers/Makefile.am: included libeshell to LIBS. svn path=/trunk/; revision=17463
* Add a Control-Return accel for "FileSaveClose".Ettore Perazzoli2002-07-164-3/+16
| | | | | | | | | | | | | * evolution-signature-editor.xml: Add a Control-Return accel for "FileSaveClose". * evolution-contact-list-editor.xml: Add a Control-Return accel for "ContactListEditorSaveClose". * evolution-contact-editor.xml: Add a Control-Return accel for "ContactEditorSaveClose". svn path=/trunk/; revision=17462
* no need to convert the value returned by e_folder_tree_get_folder to aRodrigo Moya2002-07-162-7/+23
| | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> * evolution-storage.c (impl_Storage_getFolderAtPath): no need to convert the value returned by e_folder_tree_get_folder to a GNOME_Evolution_Folder, since it already is, and duplicate it before returning. svn path=/trunk/; revision=17461
* >= is not appropriate here because the sequences are 1-based; so seq =Peter Williams2002-07-162-2/+11
| | | | | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): >= is not appropriate here because the sequences are 1-based; so seq = summary_len is valid. Hopefully addresses 15646, because this caused the last message in a folder to be reloaded, replacing its CamelMessageInfo, and the tree view was using the old CamelMessageInfo. svn path=/trunk/; revision=17460
* Account for the case that when a disco store is "online" but actuallyPeter Williams2002-07-154-3/+20
| | | | | | | | | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * mail-offline-handler.c (service_is_relevant): Account for the case that when a disco store is "online" but actually offline and we're going online, we should actually connect it. * component-factory.c (mail_load_storages): Always set auto_connect to FALSE, same reason as below. * mail-session.c (mail_session_init): Initialize our session to not be online, since the shell will tell us to go online if we need to. svn path=/trunk/; revision=17459
* remove a stray conflict markerPeter Williams2002-07-151-1/+0
| | | | svn path=/trunk/; revision=17458
* Define a versioned library directory that we can use for things that arePeter Williams2002-07-155-3/+25
| | | | | | | | | | | | | | | | | | | | | 2002-07-10 Peter Williams <peterw@ximian.com> * configure.in (privlibdir): Define a versioned library directory that we can use for things that are ABI-sensitive: camel providers, importers... Define camel_providerder in terms of this, resulting in a new location for the providers. Camel will have to be rebuilt for it to get the new -D flag. mail: 2002-07-10 Peter Williams <peterw@ximian.com> * Makefile.am (importerdir): Define this in terms of the new privlibdir, again resulting in a new directory name. * importers/Makefile.am (importersdir): Here too. svn path=/trunk/; revision=17457
* Another fix for the IDL rename, ugh.Peter Williams2002-07-152-1/+6
| | | | svn path=/trunk/; revision=17456
* Replace filter-score with filter-int.Not Zed2002-07-152-21/+31
| | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * netscape-importer.c: Replace filter-score with filter-int. svn path=/trunk/; revision=17455
* Changelog is pending some other patch approval so i'm not commiting.Not Zed2002-07-153-290/+0
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h svn path=/trunk/; revision=17454
* Set the vfolder_editor variable to null before we close the dialogue,Not Zed2002-07-152-4/+8
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor variable to null before we close the dialogue, otherwise the close destroys it and reverts the file. svn path=/trunk/; revision=17453
* Oops, accidentally checked in some unfinished, unworking code. Reverted.Not Zed2002-07-152-46/+12
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * component-factory.c (populate_folder_context_menu): Oops, accidentally checked in some unfinished, unworking code. Reverted. svn path=/trunk/; revision=17452
* set corba_folder.customIconName so we don't crash.Chris Toshok2002-07-152-1/+11
| | | | | | | | | | | 2002-07-14 Chris Toshok <toshok@ximian.com> * e-shell.c (folder_selection_dialog_folder_selected_cb): set corba_folder.customIconName so we don't crash. (impl_Shell_selectUserFolder): remove the default_type parameter to fix a compiler warning. svn path=/trunk/; revision=17451
* Only assign a uid if indexing is enabled. This stops us always assigning aNot Zed2002-07-153-3/+34
| | | | | | | | | | | | | | | | | | | | | 2002-07-13 Not Zed <NotZed@Ximian.com> * camel-folder-summary.c (camel_folder_summary_info_new_from_message): Only assign a uid if indexing is enabled. This stops us always assigning a uid in the imap folder and disco folder? * providers/imap/camel-imap-folder.c (imap_update_summary): Also check the uid is set at all, another bit of a fix for #15667. 2002-07-09 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_update_summary): Check for existing messages of the same uid before doing anything. If it exists, do nothing (perhaps it should merge?). A dirty hack for #15667. svn path=/trunk/; revision=17450
* ** fixes for #10781Not Zed2002-07-157-27/+139
| | | | | | | | | | | | | | | | | | | | 2002-07-10 Not Zed <NotZed@Ximian.com> ** fixes for #10781 * mail-callbacks.c (filter_edit): Add back a cancel button. We dont need to do anything special to 'undo' here, as the rules are loaded every time they're used. * mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked, revert the ruleset. (vfolder_editor_destroy): Fake a button of -1 if we get destroyed with no click. (context_rule_removed): Unref the folder after we delete it. If we're the last ref to the folder, unrefing it means it no longer exist,s which means no delte processing occurs ... svn path=/trunk/; revision=17449
* ** fixes for #10781Not Zed2002-07-1524-139/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Not Zed <NotZed@Ximian.com> ** fixes for #10781 * filter-int.c (xml_encode): (xml_decode): Handle encoding/decoding with a type name, in a manner compatible with the score/label elemtns. (filter_int_new_type): New constructor to create a generic 'int' type. * filter-score.c: Removed. Now relies on using a filter-int with appropriate settings. * filter-label.[ch]: Now inherits from filter-int. * rule-context.c (rule_context_revert): New method to revert a filter context back to a user-file's definition. (revert): implementation. * filter-rule.h: Added new virtual method _eq and wrapper, and fixed all subclasses to implement it. * filter-element.h: Added new virtual method _eq and wrapper. Fixed all subclasses to implement it. svn path=/trunk/; revision=17448
* free the full_name (as well as given_name. oops.)Chris Toshok2002-07-132-31/+48
| | | | | | | | | | | | | | | | | | 2002-07-12 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (free_summary_item): free the full_name (as well as given_name. oops.) (pas_backend_summary_new): new summaries are version 3.0 now. (pas_backend_summary_load_item): all loaded summaries should be 3.0+, as we fail to load versions lower than that. (pas_backend_summary_load_header): if the summary isn't version 3.0 fail out, as we need to rebuild the entire file to cache the full_name fields. (pas_backend_summary_save_item): save out the full_name. (pas_backend_summary_add_card): put the item's full_name in the card. svn path=/trunk/; revision=17447
* Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, althoughDan Winship2002-07-132-1/+8
| | | | | | | | | * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although there's still something wrong. svn path=/trunk/; revision=17446
* On error, do not unref the parts gotten using camel_multipart_get_part()Jeffrey Stedfast2002-07-132-8/+16
| | | | | | | | | | | | 2002-07-12 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt): On error, do not unref the parts gotten using camel_multipart_get_part() since that function does not ref the parts. Also don't forget to reset the decrypted stream before trying to parse it ;-) svn path=/trunk/; revision=17445
* dup the listener, for consistency with the other signalsDan Winship2002-07-132-1/+8
| | | | | | | * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder): dup the listener, for consistency with the other signals svn path=/trunk/; revision=17444
* Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. AtPeter Williams2002-07-132-1/+7
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * pcs/cal.c: Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. At least grep indicates that's all that needs to be fixed. svn path=/trunk/; revision=17443
* e-util relies on bonobo-conf in e-passwords.c andPeter Williams2002-07-132-2/+2
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf in e-passwords.c and e-categories-master-list-wombat.c, so reflect that here. ** And the e-port code needs THREADS_LIBS. ** svn path=/trunk/; revision=17442
* (clicked): Ref the parent_window and then unref after you are done usingEttore Perazzoli2002-07-132-0/+8
| | | | | | | | (clicked): Ref the parent_window and then unref after you are done using it. [#27673] svn path=/trunk/; revision=17441
* e-util relies on bonobo-conf in e-passwords.c andPeter Williams2002-07-132-1/+7
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf in e-passwords.c and e-categories-master-list-wombat.c, so reflect that here. svn path=/trunk/; revision=17440
* Install some headers that weren't getting installed.Peter Williams2002-07-132-2/+7
| | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (eshellinclude_HEADERS): Install some headers that weren't getting installed. svn path=/trunk/; revision=17439
* Oops, change wombat.h -> Evolution-Wombat.hPeter Williams2002-07-132-1/+5
| | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * wombat-client.h: Oops, change wombat.h -> Evolution-Wombat.h svn path=/trunk/; revision=17438
* libwombat:Peter Williams2002-07-125-7/+22
| | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the renamed Evolution-Wombat.idl instead of wombat.idl. wombat: 2002-07-08 Peter Williams <peterw@ximian.com> * wombat.idl: Renamed to Evolution-Wombat.idl, since we're installing it now and should play nice namespacily. * Makefile.am: Rename wombat.idl and install it. svn path=/trunk/; revision=17437
* Updated to not use camel_type_get_global_classfuncs() since this is just aJeffrey Stedfast2002-07-122-1/+5
| | | | | | | | | | 2002-07-12 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart.c (camel_multipart_class_init): Updated to not use camel_type_get_global_classfuncs() since this is just a cast macro now. svn path=/trunk/; revision=17436
* oops, changed the location of where we check for multipart/encryptedJeffrey Stedfast2002-07-121-4/+7
| | | | svn path=/trunk/; revision=17435
* Handle multipart/encrypted parts too.Jeffrey Stedfast2002-07-123-9/+26
| | | | | | | | | | | | | 2002-07-12 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): Handle multipart/encrypted parts too. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Handle multipart/encrypted types too. svn path=/trunk/; revision=17434
* Don't let any parts have a binary encoding.Jeffrey Stedfast2002-07-122-1/+6
| | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_data): Don't let any parts have a binary encoding. svn path=/trunk/; revision=17433
* added missing glade files from shell/gladeRadek Doulik2002-07-121-0/+3
| | | | svn path=/trunk/; revision=17432
* updatedRadek Doulik2002-07-121-2746/+2846
| | | | svn path=/trunk/; revision=17431
* updatedRadek Doulik2002-07-121-202/+201
| | | | svn path=/trunk/; revision=17430
* oops, apparently I didn't save?Jeffrey Stedfast2002-07-121-0/+1
| | | | svn path=/trunk/; revision=17429
* Fixes bug #27672Jeffrey Stedfast2002-07-125-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27672 * camel-mime-filter-bestenc.c: Conditionally #include <config.h> * camel-mime-filter-linewrap.c: Same here... although we could probably just get rid of this filter? We don't seem to use it anywhere since we try to QP/Base64 encode any text parts with long lines. Besides, we couldn't use this filter for SMTP anyway since we can't risk possibly linewrapping a binary mime part. I dunno, maybe this could be useful in the composer though? *shrug* * providers/smtp/camel-smtp-transport.c (smtp_data): Always call camel_mime_message_set_best_encoding() even if the server allows 8BITMIME and even if we don't have any 8bit parts because we may have parts with long lines (>998 octets) which also need to be encoded. * camel-mime-message.c (check_8bit): Don't forget to check for the binary encoding here as well. svn path=/trunk/; revision=17428
* Add an accelerator for "FileClose".Ettore Perazzoli2002-07-122-1/+5
| | | | svn path=/trunk/; revision=17427
* Allow a NULL icon [remove the precondition].Ettore Perazzoli2002-07-123-5/+13
| | | | | | | | | | * e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon): Allow a NULL icon [remove the precondition]. * e-shell-view.c (update_folder_title_bar): Only unref the folder_icon if not NULL. svn path=/trunk/; revision=17426
* Actually pass the evolution URI, not the path, in Folder.evolutionUriEttore Perazzoli2002-07-124-14/+18
| | | | | | | | | | | | | | * e-summary-preferences.c (set_selected_folders): Actually pass the evolution URI, not the path, in Folder.evolutionUri (since now the shell StorageSetView implementation has been fixed to handle this field properly). * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Handle Folder.evolutionUri as a URI, not as a path. Also use e_free_string_list(). svn path=/trunk/; revision=17425
* If we are fetching HEADERs, don't cache the stream - instead just create aJeffrey Stedfast2002-07-122-23/+39
| | | | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (parse_fetch_response): If we are fetching HEADERs, don't cache the stream - instead just create a mem-stream and return that. This reduces a significant amount of overhead due to disk i/o. svn path=/trunk/; revision=17424
* (set_selected_folders): Set theEttore Perazzoli2002-07-123-4/+19
| | | | | | | customIconName part to the empty string. [#27616] Also, set_release on the sequence to TRUE. svn path=/trunk/; revision=17423
* Rename "Save to disk..." to "Save Attachment..."Jeffrey Stedfast2002-07-123-7/+12
| | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixmap_press): Rename "Save to disk..." to "Save Attachment..." svn path=/trunk/; revision=17422
* (update_folder_title_bar): Ref the folder_iconEttore Perazzoli2002-07-122-0/+6
| | | | | | that we get from e_folder_type_registry_get_icon_for_type(). svn path=/trunk/; revision=17421
* (get_folder_list_foreach): CopyEttore Perazzoli2002-07-122-6/+14
| | | | | | | customIconName and sortingPriority in the new_corba_folder. [#27670] svn path=/trunk/; revision=17420
* Remove some `#if 0'ed broken code. New members title_icon andEttore Perazzoli2002-07-125-167/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c: Remove some `#if 0'ed broken code. New members title_icon and title_button_icon in struct EShellFolderTitleBarPrivate. Remove member icon_widget. New static global variable empty_pixbuf. (init): Initialize these new members to NULL. Don't initialize icon_widget anymore since it's gone. (e_shell_folder_title_bar_construct): Create the title_button_icon and pack it into the title_button_hbox. Also, create the title_icon and pack that one as well. Retouched some of the hardcoded padding values. (size_allocate_icon): Rewritten to use the title_icon and return the allocated space like size_allocate_navigation_buttons. (e_shell_folder_title_bar_set_icon): Remove bogus const from the @icon arg. Ref the pixbuf, and update the two pixmap widgets from it. If @icon is NULL, use the empty_pixbuf. (impl_destroy): Renamed from destroy(). (realize): Removed. (unrealize): Removed. (impl_size_allocate): Renamed from size_allocate(). (class_init): Call it. (add_icon_widget): Removed. (new_empty_pixbuf): New. (new_empty_pixmap_widget): New. (size_allocate_navigation_buttons_and_title_icon): Renamed from size_allocate_navigation_buttons; set up the title_icon too. * e-shell-view.c (update_folder_title_bar): Unref the folder_icon after using it. * e-icon-factory.c (e_icon_factory_get_icon): Ref the returned pixbuf. svn path=/trunk/; revision=17419
* Don't forget to set an appropriate exception before returning NULL.Jeffrey Stedfast2002-07-122-0/+8
| | | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt): Don't forget to set an appropriate exception before returning NULL. svn path=/trunk/; revision=17418
* e_book_get_book_view => e_book_get_completion_view, so the backends haveChris Toshok2002-07-112-3/+11
| | | | | | | | | | | 2002-07-10 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): e_book_get_book_view => e_book_get_completion_view, so the backends have the option of using a pregenerated summary. svn path=/trunk/; revision=17417
* actually remove the items from the pointer array too, so an error whileChris Toshok2002-07-112-17/+68
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (clear_items): actually remove the items from the pointer array too, so an error while loading doesn't leave the memory summary corrupted. (pas_backend_summary_load_header): bleah, load the num_items and summary_mtime in the right order :) Also, set upgraded to TRUE if we loaded a v1.0 summary. (pas_backend_summary_open): make this return a gboolean, return TRUE if the summary is already open (priv->fp != NULL). return FALSE in error conditions. (pas_backend_summary_load): if summary_open returns FALSE, return FALSE, also set the dirty flag to FALSE after we load, and if the summary was upgraded write it out. (pas_backend_summary_save): update the in memory mtime to that of the file when we save. (summary_flush_func): if we're not dirty, do nothing and return. (pas_backend_summary_is_up_to_date): make sure we've opened the summary. (pas_backend_summary_get_summary_vcard): fix compiler warning. svn path=/trunk/; revision=17416
* Make sure message is non-NULL before setting the source on it.Jeffrey Stedfast2002-07-112-1/+4
| | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (get_message_cb): Make sure message is non-NULL before setting the source on it. svn path=/trunk/; revision=17415
* Modified to use a single list of UI node elements with an enable-maskJeffrey Stedfast2002-07-112-226/+201
| | | | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Modified to use a single list of UI node elements with an enable-mask rather than split into groups. This allows much more control and easier modification to get the desired enable/disable effects. svn path=/trunk/; revision=17414
* If we unref'd a current_message, clear the datalist. Don't botherJeffrey Stedfast2002-07-112-15/+16
| | | | | | | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_set_message): If we unref'd a current_message, clear the datalist. Don't bother connecting to the message's finalise signal because something else may own a ref to the original message when we replace it with a new one. (mail_display_destroy): Only clear the datalist if we have a current_message, otherwise it's safe to assume that it is already cleared. svn path=/trunk/; revision=17413
* Oops, missed this one.Peter Williams2002-07-113-2/+10
| | | | | | | | | | | 2002-07-10 Peter Williams <peterw@ximian.com> * backend/ebook/e-book-view-listener.h: Oops, missed this one. * backend/ebook/Makefile.am (libebookinclude_HEADERS): Also put addressbook.h here because several headers reference it. svn path=/trunk/; revision=17412
* Add include lines to get ebook headers relative to <ebook/foo.h>, notPeter Williams2002-07-1130-33/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * tools/Makefile.am (INCLUDES): Add include lines to get ebook headers relative to <ebook/foo.h>, not "foo.h". addressbook: 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so that the installed headers will work sanely. * backend/ebook/e-card-cursor.h: * backend/ebook/e-book-view.h: * backend/ebook/e-card-simple.h: * backend/ebook/e-card.h: * backend/ebook/e-destination.h: Same. * printing/Makefile.am (INCLUDES): add -Iaddressbook/backend to access the ebook headers. Also the builddir version to get the generated addressbook.h * gui/widgets/Makefile.am (INCLUDES): Same builddir fix. * gui/merging/e-card-merging.c: Fix an ebook #include. * gui/merging/Makefile.am (INCLUDES): Same idea. * gui/contact-list-editor/Makefile.am (INCLUDES): Same. * gui/contact-editor/Makefile.am (INCLUDES): Same builddir change. calendar: 2002-07-08 Peter Williams <peterw@ximian.com> * gui/Makefile.am (INCLUDES): Change the -I flags to get it to play nicely with the new Ebook header paradigm. * gui/dialogs/Makefile.am: Same. * gui/e-meeting-model.c: More of the same. * gui/dialogs/e-delegate-dialog.c: * gui/dialogs/e-meeting-model.c: * gui/dialogs/comp-editor-util.c: Fix include lines to get ebook headers. * pcs/Makefile.am: Same. composer: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Fix cflags for ebook header namespacing. importers: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Fix cflags to get at ebook headers correctly. * pine-importer.c: Fix include lines to get ebook headers the "right" way. * evolution-gnomecard-importer.c: Same. mail: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I flags to get the ebook headers. svn path=/trunk/; revision=17411
* (update_folder_title_bar): Get a @folder argEttore Perazzoli2002-07-112-33/+47
| | | | | | | | instead of a @type arg. Use the custom icon if the folder has one. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=17410
* Renamed stdin to stdin_fd, stdout to stdout_fd, and stderr to stderr_fd inJeffrey Stedfast2002-07-112-33/+40
| | | | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c: Renamed stdin to stdin_fd, stdout to stdout_fd, and stderr to stderr_fd in struct _GpgCtx since Solaris' stdin/stdout/etderr variables seem to be macros and are thus breaking the compilation. svn path=/trunk/; revision=17409
* Add accelerators. [#10069]Ettore Perazzoli2002-07-112-2/+6
| | | | svn path=/trunk/; revision=17408
* Add accelerators. [#10067]Ettore Perazzoli2002-07-112-4/+8
| | | | svn path=/trunk/; revision=17407
* Add accelerators. [#10068]Ettore Perazzoli2002-07-112-3/+7
| | | | svn path=/trunk/; revision=17406
* Add accelerator for "Print Preview", "Delete".Ettore Perazzoli2002-07-113-3/+13
| | | | | | | | | | * evolution-mail-message.xml: Add accelerator for "Print Preview", "Delete". * evolution-addressbook.xml: Add accelerator for "Print Preview", "Delete". svn path=/trunk/; revision=17405
* Pass zero as the @sorting_priority to evolution_storage_new_folder().Ettore Perazzoli2002-07-1017-56/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass zero as the @sorting_priority to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. * subscribe-dialog.c (recursive_add_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass @sorting_priority to evolution_storage_new_folder() so we test it. Also make /FirstFolder have an "inbox" custom icon. * e-local-storage.c (new_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-storage.c (evolution_storage_new_folder): New arg @sorting_priority; put it in the CORBA folder struct. * evolution-shell-client.c (impl_FolderSelectionListener_selected): Copy the sortingPriority as well. * e-folder.c (e_folder_to_corba): Set sortingPriority. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set sortingPriority in the new CORBA Folder struct. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the custom_icon if folder->customIconName is not an empty string. Likewise, set the sorting_priority * Evolution-common.idl: New member sortingPriority in struct Folder. * e-storage-set-view.c (folder_sort_callback): Sort according to the sorting_priorities. * e-folder.c: New member sorting_priority in EFolderPrivate. (init): Init to zero. (e_folder_set_custom_icon): Emit "changed" if required. (e_folder_set_sorting_priority): New. svn path=/trunk/; revision=17404
* bleah, i hate this keyboard.Chris Toshok2002-07-101-1/+1
| | | | svn path=/trunk/; revision=17403
* add Book.getCompletionView.Chris Toshok2002-07-1010-110/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Chris Toshok <toshok@ximian.com> * backend/idl/addressbook.idl: add Book.getCompletionView. * backend/ebook/e-book.c (e_book_get_completion_view): new function, basically c&p of e_book_get_book_view, but call getCompletionView. * backend/ebook/e-book.h: add prototype for e_book_get_completion_view. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_client_requests): add a GetCompletionView case here that just calls the same code as GetBookView (since we don't build summaries for the ldap backend.) * backend/pas/pas-backend-file.c (do_summary_query): add @completion_search. If it's TRUE, just create the vcards from the summary using pas_backend_summary_get_summary_vcard instead of looking them up from the db. (pas_backend_file_search): add @completion_search and pass it on to do_summary_query. (pas_backend_file_process_get_book_view): pass FALSE to pas_backend_file_search. (pas_backend_file_process_get_completion_view): new function, basically c&p pas_backend_file_process_get_book_view, but pass TRUE to pas_backend_file_search. (pas_backend_file_process_client_requests): add a case for GetCompletionView. (pas_backend_file_load_uri): track the change to the summary api - create the summary filename * backend/pas/pas-book.c (pas_book_queue_get_completion_view): new function, queue a GetCompletionView request to our queue. (impl_GNOME_Evolution_Addressbook_Book_getCompletionView): new function, call pas_book_queue_get_completion_view. (pas_book_respond_get_completion_view): new function, just call notifyViewRequested. (pas_book_free_request): add a case for GetCompletionView. (pas_book_get_epv): fill in epv->getCompletionView. * backend/pas/pas-book.h: add a GetCompletionView PASOperation, and a new structure (PASGetCompletionViewRequest). Also, add get_completion_view to PASRequest. * backend/pas/pas-backend-summary.c (clear_items): remove the items from the hash table. (pas_backend_summary_new): db_path -> summary_path. (pas_backend_summary_destroy): db_.path -> summary_path, and destroy the hash table. (pas_backend_summary_init): db_path = summary_path, and initialize the id_to_item hashtable. (pas_backend_summary_load_header): handle the upgrading from version 1.0 to version 2.0 (the addition of an mtime field in the header) (pas_backend_summary_load_item): version 1.0 and 2.0 have the same format for items. (pas_backend_summary_open): new function. open the summary so we can load the header (and get the mtime). (pas_backend_summary_load): rework this a bit since the header has already been loaded, and also add the items to the hashtable. (pas_backend_summary_add_card): add the new item to the hashtable. (pas_backend_summary_remove_card): remove the item from the hash table. (pas_backend_summary_is_up_to_date): new function, chekc @t against the summary's mtime. (pas_backend_summary_get_summary_vcard): create a vcard from the fields we have in the summary. * backend/pas/pas-backend-summary.h: add prorotypes for pas_backend_summary_is_up_to_date and pas_backend_summary_get_summary_vcard. svn path=/trunk/; revision=17402
* Added note about set status filter action.Kevin Breit2002-07-102-0/+13
| | | | | | * C/usage-mail-org.sgml: Added note about set status filter action. svn path=/trunk/; revision=17400
* (load_icon): Ooops. Swapped the large/smallEttore Perazzoli2002-07-102-6/+10
| | | | | | pixbufs here. Also, plug a leak. svn path=/trunk/; revision=17399
* s/Edit as New Message/Resend - this was confusing people. Also moved it toJeffrey Stedfast2002-07-102-2/+4
| | | | | | | | | | 2002-07-09 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-message.xml: s/Edit as New Message/Resend - this was confusing people. Also moved it to the Actions menu. Fixes bug #27454. svn path=/trunk/; revision=17398
* Pass NULL @custom_icon_name to evolution_storage_new_folder().Ettore Perazzoli2002-07-1014-24/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass NULL @custom_icon_name to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. [Note we could be passing a nice custom here. ;-)] * subscribe-dialog.c (recursive_add_folder): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass the custom_icon_name here to evolution_storage_new_folder(). * evolution-shell-client.c (impl_FolderSelectionListener_selected): Set customIconName here too. * e-folder.c (e_folder_to_corba): Set customIconName too. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set customIconName. Also, use e_safe_corba_string() to clean up the code a bit. * evolution-storage.c (evolution_storage_new_folder): New arg @custom_icon_name. * Evolution-common.idl: New member customIconName in struct Folder. svn path=/trunk/; revision=17397
* fixed a compile warningJeffrey Stedfast2002-07-101-1/+1
| | | | svn path=/trunk/; revision=17396
* #include <string.h>Dan Winship2002-07-102-0/+5
| | | | | | * e-categories-config.c: #include <string.h> svn path=/trunk/; revision=17395
* If the custom_icon_name is not NULL, return the pixbuf for it.Ettore Perazzoli2002-07-1010-61/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): If the custom_icon_name is not NULL, return the pixbuf for it. * e-storage-set-view.c: #include "e-icon-factory.h". * e-shortcuts-view.c (impl_shortcut_dropped): Pass the custom_icon_name. (get_shortcut_info): New arg @custom_icon_name_return. (rename_shortcut_cb): Pass the custom_icon_name here. * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb): Pass the custom_icon_name for the folder's shortcut. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Pass the custom_icon_name for the folder's shortcut. * e-corba-shortcuts.c (impl_add): Use the customIconName member in struct ::Shortcuts::Shortcut. (shorcut_list_to_corba): Set the customIconName member on the returned shortcuts. (impl_get): Likewise. * Evolution-Shortcuts.idl: New member customIconName in struct Shortcut. * e-shortcuts.c (shortcut_item_new): New arg @custom_icon_name; initialize the member in EShortcutItem from it. (shortcut_item_update): New arg @custom_icon_name; set the custom_icon_name from it. Also remove some braindeadness from this code. (update_shortcut_and_emit_signal): New arg @custom_icon_name. (load_shortcuts): Load the custom icon name from the XML [eg. <item name="foo" type="mail" icon="inbox">]. (save_shortcuts): Save the custom icon name in the XML. (e_shortcuts_add_shortcut): New arg @custom_icon_name. (update_shortcuts_by_path): Pass the custom_icon_name to update_shortcut_and_emit_signal(). (e_shortcuts_update_shortcut): New arg @custom_icon_name; pass it to update_shortcut_and_emit_signal(). (e_shortcuts_add_default_group): Pass "inbox" as the custom_icon_name for the inbox shortcut, and NULL for the other shortcuts. * e-shortcuts.h: New member custom_icon_name in EShortcutItem. svn path=/trunk/; revision=17394
* s/Edit as New Message/Resend - this was confusing people.Jeffrey Stedfast2002-07-102-1/+6
| | | | | | | | | 2002-07-09 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-message.xml: s/Edit as New Message/Resend - this was confusing people. svn path=/trunk/; revision=17393
* Remove debugging message. (impl_shortcut_drag_motion): Likewise.Ettore Perazzoli2002-07-105-9/+11
| | | | | | | | | | | | | * e-shortcuts-view.c (impl_shortcut_drag_motion): Remove debugging message. (impl_shortcut_drag_motion): Likewise. * e-local-storage.c (remove_folder_step): Remove debugging message. * e-folder-dnd-bridge.c (e_folder_dnd_bridge_data_received): Remove debugging message. svn path=/trunk/; revision=17392
* Call e_icon_factory_init().Ettore Perazzoli2002-07-109-57/+330
| | | | | | | | | | | | | | | | | | | * main.c (main): Call e_icon_factory_init(). * e-local-storage.c (setup_folder_as_stock): New arg @icon_name; if not NULL, set up a custom icon for the folder. (setup_stock_folders): Set up custom icons for inbox and outbox. * e-storage-set-view.c (get_pixbuf_for_folder): If the folder has a custom icon, return the custom icon. * e-folder.c: New member custom_icon_name. (init): Initialize to NULL. (destroy): Free. (e_folder_get_custom_icon): New. (e_folder_set_custom_icon): New. svn path=/trunk/; revision=17391
* (images_DATA): inbox-mini.png instead ofEttore Perazzoli2002-07-106-4/+12
| | | | | | | | | inbox-16.png, outbox-mini.png instead of outbox-16.png. Also add inbox.png and outbox.png. (inbox.png): New. (outbox.png): New. svn path=/trunk/; revision=17390
* re-order nss and nspr flags92002-07-102-2/+6
| | | | | | | | 2002-07-09 <jpr@ximian.com> * configure.in: re-order nss and nspr flags svn path=/trunk/; revision=17389
* (remove_folder): Remove unused variable.Ettore Perazzoli2002-07-092-1/+4
| | | | svn path=/trunk/; revision=17388
* Don't ever use the mail-display's current_message, this can causeJeffrey Stedfast2002-07-096-33/+53
| | | | | | | | | | | | | | | | | 2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (redirect): Don't ever use the mail-display's current_message, this can cause problems. * mail-ops.c (get_message_free): Unref the gotten message. All of the callers seemed to think that they didn't have to unref the message. * mail-display.c (mail_display_set_message): Now refs the message. (mail_display_destroy): Unref the current_message if we still have ownership of it. svn path=/trunk/; revision=17387
* Change the group icon size using e_shortcuts_set_group_uses_small_icons()Ettore Perazzoli2002-07-096-33/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view.c (toggle_large_icons_cb): Change the group icon size using e_shortcuts_set_group_uses_small_icons() instead of changing it on the widget directly. (toggle_small_icons_cb): Likewise. (group_change_icon_size_callback): New, callback for the "group_change_icon_size" signal on the EShortcuts object. (e_shortcuts_view_construct): Connect. Also, initialize the icon sizes in the icon bars from the EShortcuts object. * e-shell-view.c (e_shell_view_load_settings): Don't set the shortcut group icon modes here anymore. * e-shortcuts.c: New member use_small_icons in struct ShortcutGroup. (shortcut_group_new): Init to FALSE. (e_shortcuts_set_group_uses_small_icons): New. (e_shortcuts_get_group_uses_small_icons): New. (class_init): Install "group_change_icon_size" signal. (save_shortcuts): Save the icon size per-group here, i.e. <group title="foo" icon_size="small">. (load_shortcuts): Set the icon size from the group's definition here. * e-shortcuts.h: New signal "group_change_icon_size" in EShortcutsClass. svn path=/trunk/; revision=17386
* Make the sound type for (play-sound ) a "file" type rather than "string"Jeffrey Stedfast2002-07-094-3/+20
| | | | | | | | | | | | | | | | | 2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Make the sound type for (play-sound ) a "file" type rather than "string" since users will want to use a filesel to select it most likely. Fixes bug #26921. * filter-file.c (validate): If the type is "file" check that it is a valid file, otheriwse if it is a command-line just ignore it for now. * filter-element.c (filter_element_new_type_name): A filter type of "file" should also use the filter-file object. svn path=/trunk/; revision=17385
* removed the news editor widget since it sucked.Jeffrey Stedfast2002-07-091-113/+0
| | | | svn path=/trunk/; revision=17384
* New helper function. (e_folder_to_corba): Use it here.Ettore Perazzoli2002-07-096-10/+67
| | | | | | | | | | | | | | | | | | * e-folder.c (safe_corba_string_dup): New helper function. (e_folder_to_corba): Use it here. * Makefile.am (libeshell_la_SOURCES): Move e-folder.c here, from evolution_SOURCES. (eshellinclude_HEADERS): Likewise, move e-folder.h here. * evolution-storage.c (impl_Storage_getFolderAtPath): New, implementation for Evoluiton::Storage::getFolderAtPath. (evolution_storage_get_epv): Install CORBA method here. * Evolution-Storage.idl (getFolderAtPath): New method in Evolution::Storage. svn path=/trunk/; revision=17383
* Only queue a send operation if we are in Online mode, otherwise don'tJeffrey Stedfast2002-07-062-2/+10
| | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_queued_cb): Only queue a send operation if we are in Online mode, otherwise don't bother wasting our time. svn path=/trunk/; revision=17381
* s/now// for "Send this message now" tooltipJeffrey Stedfast2002-07-061-1/+1
| | | | svn path=/trunk/; revision=17380
* No longer need to pass a postpone_cb function into the composerJeffrey Stedfast2002-07-069-81/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): No longer need to pass a postpone_cb function into the composer factory_init. * mail-send-recv.c (get_receive_type): If the provider is a transport, return SEND_SEND. * mail-config.c (mail_config_get_default_transport): If the default account doesn't have a transport, find the first account that does. * mail-callbacks.c (append_mail_cleanup): Don't bother freeing the appended_uid here. (composer_send_internal): New helper function that does all the similar work that composer_send_cb and composer_postpone_cb did. (composer_send_cb): Append the message to Outbox and in the async callback, queue a message send operation. (composer_postpone_cb): Removed. (composer_send_queued_cb): The new async callback for composer_send_cb(). If the append is successful, queue a message send operation and destroy the composer otherwise re-show the composer. (save_draft_done): g_strdup the appended uid. (compose_msg): Don't connect to the postpone signal anymore as it no longer exists. (send_to_url): Same. (mail_reply): Here too. (forward_get_composer): And here. (redirect_get_composer): Again here. (do_edit_messages): And finally here. * mail-ops.c (append_mail_free): Free the appended uid. svn path=/trunk/; revision=17379
* oops, forgot to saveJeffrey Stedfast2002-07-061-1/+1
| | | | svn path=/trunk/; revision=17378
* Don't connect to the postpone signal, but do connect to the save-draftJeffrey Stedfast2002-07-065-58/+24
| | | | | | | | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (init): Don't connect to the postpone signal, but do connect to the save-draft signal. (evolution_composer_factory_init): No longer takes a postpone_cb argument, but does now take a save_draft_cb argument. * e-msg-composer.c (menu_file_send_later_cb): Removed. (class_init): Removed the POSTPONE signal. (setup_ui): Don't need to swap the Send/SendLater tooltips and accels anymore, since SendLater no longer exists. svn path=/trunk/; revision=17377
* Removed the Send Later verb.Jeffrey Stedfast2002-07-062-4/+4
| | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-message-composer.xml: Removed the Send Later verb. svn path=/trunk/; revision=17376
* (startup_wizard_cancel): Unref theEttore Perazzoli2002-07-062-0/+24
| | | | | | | ETimezoneDialog. (finish_func): Likewise. svn path=/trunk/; revision=17375
* (e_timezone_dialog_init):Ettore Perazzoli2002-07-062-0/+7
| | | | | | Make not floating. svn path=/trunk/; revision=17374
* cleaned up mail-config.glade to remove the notebook tab for the accounts_tabJeffrey Stedfast2002-07-051-257/+100
| | | | svn path=/trunk/; revision=17373
* Removed mail/mail-account-news-editor.cJeffrey Stedfast2002-07-052-1/+4
| | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed mail/mail-account-news-editor.c svn path=/trunk/; revision=17372
* Removed.Jeffrey Stedfast2002-07-053-265/+2
| | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor-news.[c,h]: Removed. svn path=/trunk/; revision=17371
* changed a commentJeffrey Stedfast2002-07-051-1/+2
| | | | svn path=/trunk/; revision=17370
* Set the IS_SOURCE provider flag.Jeffrey Stedfast2002-07-052-1/+5
| | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * providers/nntp/camel-nntp-provider.c: Set the IS_SOURCE provider flag. svn path=/trunk/; revision=17369
* Removed special-case code for NNTP support.Jeffrey Stedfast2002-07-059-364/+31
| | | | | | | | | | | | | | | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Removed special-case code for NNTP support. * mail-account-gui.c (mail_account_gui_setup): Allow configuration of both mail and news accounts. * component-factory.c (mail_load_storages): No longer need the is-account argument. * subscribe-dialog.c (populate_store_list): Don't special-case news accounts anymore. * mail-config.c (mail_config_get_default_news): Removed. (mail_config_get_news): Removed. (mail_config_add_news): Removed. (mail_config_remove_news): Removed. svn path=/trunk/; revision=17368
* Change all exceptions to report which POP server failed (and tried to makeJeffrey Stedfast2002-07-052-21/+31
| | | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c: Change all exceptions to report which POP server failed (and tried to make a few of the exceptions a bit more clear). svn path=/trunk/; revision=17367
* Updated Ukrainian translationYuri Syrota2002-07-041-3785/+2872
| | | | svn path=/trunk/; revision=17366
* Convert back to native encoding.Abel Cheung2002-07-042-4538/+4542
| | | | | | | | 2002-07-04 Abel Cheung <maddog@linux.org.hk> * zh_TW.po: Convert back to native encoding. svn path=/trunk/; revision=17365
* Pass TRUE as the auto_connect argument to mail_load_storage_from_uri().Jeffrey Stedfast2002-07-046-14/+32
| | | | | | | | | | | | | | | | | | | | | 2002-07-03 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_load_storage): Pass TRUE as the auto_connect argument to mail_load_storage_from_uri(). * mail-account-gui.c (add_new_store): Pass FALSE as the auto_connect value to mail_load_storage_from_uri(). * mail-format.c (handle_multipart_encrypted): Pass the correct pointer into camel_multipart_encrypted_decrypt(). * component-factory.c (mail_add_storage): Now takes an auto-connect argument which it passes along to add_storage(). (mail_load_storage_from_uri): Same. (add_storage): Only call mail_note_store() if we plan on auto-connecting. svn path=/trunk/; revision=17363
* Invoke e_folder_dnd_bridge_drop().Ettore Perazzoli2002-07-044-15/+82
| | | | | | | | | | | | * e-storage-set-view.c (impl_tree_drag_drop): Invoke e_folder_dnd_bridge_drop(). * e-folder-dnd-bridge.c (find_matching_target_for_drag_context): New arg @atom_return. Return the GdkAtom associated with the type through it. (e_folder_dnd_bridge_drop): New. svn path=/trunk/; revision=17362
* Fix the URL for the DB 3.1.17 package; it's moved.Peter Williams2002-07-042-1/+5
| | | | | | | | 2002-07-03 Peter Williams <peterw@ximian.com> * README: Fix the URL for the DB 3.1.17 package; it's moved. svn path=/trunk/; revision=17361
* If we get an exception from the child sync, update the exception string soNot Zed2002-07-035-31/+75
| | | | | | | | | | | | | | | | | | | | 2002-07-03 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_sync): If we get an exception from the child sync, update the exception string so we know where it really was. * camel-vee-store.c (change_folder): Util to emit created/deleted events. (vee_get_folder): If the folder has path elements, and its parents dont exist, create dummy no-select nodes. This is for bug #4246. (vee_delete_folder): Use change_folder() to save code. * providers/local/camel-mbox-folder.c (mbox_set_message_flags): Only set xevchange if we're storing status headers in pine format, so we dont do a full sync every time any flag changes. svn path=/trunk/; revision=17360
* Take a void object arg. (camel_object_remove_event): "Not Zed2002-07-033-12/+25
| | | | | | | | | | | | 2002-06-27 Not Zed <NotZed@Ximian.com> * camel-object.c (camel_object_hook_event): Take a void object arg. (camel_object_remove_event): " (camel_object_unhook_event): " (camel_object_trigger_event): ", also, execute events in the same order they were added, i.e. reverse hook-list order. svn path=/trunk/; revision=17359
* *** empty log message ***Rodrigo Moya2002-07-031-1/+1
| | | | svn path=/trunk/; revision=17358
* Fixes #16034Rodrigo Moya2002-07-035-12/+62
| | | | | | | | | | | | | | | | 2002-07-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #16034 * gui/e-day-view.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-week-view.c (e_week_view_reshape_event_span): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): Don't assume all categories have icons when allocating space for the icons. svn path=/trunk/; revision=17357
* Ñchanged to return a gboolean (TRUE if the icon is found, FALSE if not).Rodrigo Moya2002-07-033-7/+14
| | | | | | | | | 2002-07-02 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for):Ñchanged to return a gboolean (TRUE if the icon is found, FALSE if not). svn path=/trunk/; revision=17356
* updatedRadek Doulik2002-07-031-2634/+2722
| | | | svn path=/trunk/; revision=17355
* Increase the size of the escapped mlist buffer, we can't assume that thereJeffrey Stedfast2002-07-032-0/+2
| | | | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Increase the size of the escapped mlist buffer, we can't assume that there can only ever be a single '_' in the mlist name afaik. (filter_type_uid): Ugh, we need to copy the fdata->source here. svn path=/trunk/; revision=17354
* Increase the size of the escapped mlist buffer, we can't assume that thereJeffrey Stedfast2002-07-032-1/+5
| | | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Increase the size of the escapped mlist buffer, we can't assume that there can only ever be a single '_' in the mlist name afaik. svn path=/trunk/; revision=17353
* Fixes bug #27263.Jeffrey Stedfast2002-07-034-15/+56
| | | | | | | | | | | | | | | | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27263. * folder-browser.c (filter_subject): Decide the filter source type based on the folder we are in (Sent/Outbox folders use FILTER_SOURCE_OUTGOING). (filter_sender): Same. (filter_recipient): Here too. (filter_mlist): And here. (on_right_click): Set the fdata->source. (filter_type_got_message): Pass fdata->source into filter_gui_add_from_message(). (filter_mlist_uid): Same. * mail-autofilter.c (filter_gui_add_from_message): Now takes a source argument so that we don't always add incoming rules. (filter_gui_add_from_mlist): Same. svn path=/trunk/; revision=17352
* Remove Bcc headers too.Jeffrey Stedfast2002-07-033-1/+10
| | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_make_message_attachment): Remove Bcc headers too. svn path=/trunk/; revision=17351
* (e_shell_show_settings): Don't set up the settingsEttore Perazzoli2002-07-032-2/+5
| | | | | | dialog as a transient. [#25776] svn path=/trunk/; revision=17350
* (bonobo_interface_remove_folder_cb): AddEttore Perazzoli2002-07-032-1/+7
| | | | | | parameter @listener to match the signal's signature. [#24413] svn path=/trunk/; revision=17349
* (update_sensitivity): Removed.Ettore Perazzoli2002-07-032-43/+58
| | | | | | | | | | | | (set_find_now_sensitive): New. (entry_changed_cb): Always make the "Find Now" button and menu item sensitive here. (emit_search_activated): ...And here, always insensitive. (setup_standard_verbs): Always start up insensitive. (activate_button_clicked_cb): Make the entry grab the focus. (clear_button_clicked_cb): Likewise. svn path=/trunk/; revision=17348
* (folder_browser_gui_init): Don't connectEttore Perazzoli2002-07-022-3/+8
| | | | | | | | folder_browser_search_do_search to "query_changed" since we don't want the search to happen unless the user clicks "Find Now", for consistency. svn path=/trunk/; revision=17347
* (subitem_activated_cb): Don't emitEttore Perazzoli2002-07-022-3/+7
| | | | | | | | "search_activated" here. (e_search_bar_set_subitem_id): And not here either. (e_search_bar_set_text): Same. svn path=/trunk/; revision=17346
* (activate_by_subitems): Don't set the entry to beEttore Perazzoli2002-07-022-2/+7
| | | | | | an empty string here. svn path=/trunk/; revision=17345
* Added a bunch of tooltips.Ettore Perazzoli2002-07-022-3/+13
| | | | svn path=/trunk/; revision=17344
* New arg @tooltip; pass it toEttore Perazzoli2002-07-0213-8/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): New arg @tooltip; pass it to evolution_shell_component_add_user_creatable_item() [which now has a @tooltip arg]. * gui/component-factory.c (add_creatable_item): New arg @tooltip. Pass it to evolution_shell_component_add_user_creatable_item(), which now has a @tooltip arg. (create_object): Added tooltips. * component-factory.c (create_component): Pass a tooltip to evolution_shell_component_add_user_creatable_item. * e-shell-user-creatable-items-handler.c: New member tooltip in struct MenuItem. (ensure_menu_items): Initialize the tooltip member. (shell_view_view_changed_callback): Set the tooltip for the "New" button. (ensure_menu_xml): Set up the tooltip here as well. * evolution-shell-component.c: Add tooltip member to struct UserCreatableItemType. (user_creatable_item_type_new): New arg @tooltip. (evolution_shell_component_add_user_creatable_item): New arg @tooltip. (impl__get_userCreatableItemTypes): Put the tooltip in the struct as well. * e-shell-user-creatable-items-handler.c (setup_toolbar_button): Create a GtkTooltips object and attach it to the combo_button using gtk_object_set_data(). (shell_view_view_changed_callback): Set up a tooltip for the button, according to the default. * Evolution-ShellComponent.idl: Add a tooltip member to struct UserCreatableItemType. svn path=/trunk/; revision=17343
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-07-022-30/+27
| | | | | | | | 2002-07-03 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17341
* remove dependency on removed file camel/camel-pgp-context.hSean Atkinson2002-07-022-2/+5
| | | | | | | | | 002-07-02 Sean Atkinson <sean@cantab.net> * mail-preferences.c: remove dependency on removed file camel/camel-pgp-context.h svn path=/trunk/; revision=17340
* Make sure that cid is non-NULL.Jeffrey Stedfast2002-07-022-1/+6
| | | | | | | | | 2002-07-01 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_related): Make sure that cid is non-NULL. svn path=/trunk/; revision=17338
* Remove debugging message.Ettore Perazzoli2002-07-024-23/+39
| | | | | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Remove debugging message. * e-shell-view.c (setup_verb_sensitivity_for_folder): Set sensitivity of /commands/AddFolderToShortcutBar, /commands/OpenFolder and /commands/OpenFolderInNewWindow too, depending on whether the node that was right-clicked can be opened as a folder. * e-storage-set-view.c (popup_folder_menu): Pop up the right-click menu even if we are not clicking on a folder with a proper handler. svn path=/trunk/; revision=17337
* New member preparing_to_quit in EShellPrivate.Ettore Perazzoli2002-07-022-1/+22
| | | | | | | | | | (init): Initialize to FALSE. (e_shell_prepare_for_quit): Set preparing_to_quit to TRUE on entering, and set it to FALSE on return. (view_delete_event_cb): Don't call e_shell_prepare_for_quit() if preparing_for_quit is TRUE. svn path=/trunk/; revision=17336
* listen for timezone config change (property_change_cb): set the timezoneJP Rosevear2002-07-013-2/+31
| | | | | | | | | | | | | 2002-07-01 JP Rosevear <jpr@ximian.com> * gui/calendar-config.c (config_read): listen for timezone config change (property_change_cb): set the timezone if it changed elsewhere * gui/main.c (init_bonobo): call bonobo_activate because we make bonobo related calls before the bonobo_main call svn path=/trunk/; revision=17335
* don't unref selection_model (otherwise 3 clicks of "Show Supported Bases"Sean Atkinson2002-07-012-2/+6
| | | | | | | | | | 2002-06-27 Sean Atkinson <sean@cantab.net> * gui/component/addressbook-config.c (query_for_supported_bases): don't unref selection_model (otherwise 3 clicks of "Show Supported Bases" crashes if LDAP server isn't running). svn path=/trunk/; revision=17333
* Removed some conflict indicators i missed.Michael Zucci2002-07-011-1/+0
| | | | svn path=/trunk/; revision=17332
* Removed. The folder's deleted event isn't needed since we're listening toNot Zed2002-07-012-14/+12
| | | | | | | | | | | | | | 2002-07-01 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (folder_deleted): Removed. The folder's deleted event isn't needed since we're listening to the store's folder_deleted signal. Also, the code was wrong, it cleared the folder without disconnecting events, etc. See #16486, and probably others. (mail_note_folder): Dont hook onto deleted anymore. (unset_folder_info): Or unhook from it. svn path=/trunk/; revision=17331
* add pas-backend-summary.[ch].Chris Toshok2002-06-305-68/+1226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-29 Chris Toshok <toshok@ximian.com> * backend/pas/Makefile.am (libpas_a_SOURCES): add pas-backend-summary.[ch]. * backend/pas/pas-backend-file.c (string_to_dbt): move this to the top of the file so it can be used in.. (build_summary): loop over the db, adding cards ot the summary. (do_summary_query): call pas_backend_summary_search and loop over the returned id's looking them up in the db. (pas_backend_file_search): call pas_backend_summary_is_summary_query, and either call do_summary_query if it's a query over just the set of attributes in the summary or use the old, slow method if not. (pas_backend_file_process_create_card): call pas_backend_summary_add_card. (pas_backend_file_process_remove_card): call pas_backend_summary_remove_card. (pas_backend_file_process_modify_card): call remove_card/add_card. (pas_backend_file_load_uri): try to load the summary file, and if it doesn't exist create it. (pas_backend_file_destroy): unref the summary. * backend/pas/pas-backend-summary.[ch]: new files, reading and writing (and querying) summaries. svn path=/trunk/; revision=17330
* Don't skip over disabled accounts - put them in the folder tree too.Jeffrey Stedfast2002-06-293-9/+14
| | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Don't skip over disabled accounts - put them in the folder tree too. svn path=/trunk/; revision=17329
* (Categories): Added.Ettore Perazzoli2002-06-292-0/+7
| | | | svn path=/trunk/; revision=17328
* Fixage/updateageAaron Weber2002-06-292-43/+55
| | | | svn path=/trunk/; revision=17327
* (impl_Storage_updateFolder): Don't stopEttore Perazzoli2002-06-292-14/+12
| | | | | | | notifying the listeners if ::notifyFolderUpdated() fails. Should fix #25598. svn path=/trunk/; revision=17326
* Ooops. Fix date in ChangeLog.Ettore Perazzoli2002-06-291-1/+1
| | | | svn path=/trunk/; revision=17325
* *** empty log message ***Ettore Perazzoli2002-06-292-45/+133
| | | | svn path=/trunk/; revision=17324
* Fixes bug #27055.Jeffrey Stedfast2002-06-293-3/+22
| | | | | | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27055. * mail-accounts.c (account_add_finished): Unref the main accounts widget. (account_add_clicked): Ref the main accounts widget. (account_edit_finished): Unref the main accounts widget. (account_edit_clicked): Ref the main accounts widget. svn path=/trunk/; revision=17323
* Add this, to call e_summary_mail_get_info from an idle handler.Dan Winship2002-06-292-16/+31
| | | | | | | | | | * e-summary-mail.c (e_summary_mail_idle_get_info): Add this, to call e_summary_mail_get_info from an idle handler. (new_folder_cb, update_folder_cb): Use idle_get_info rather than making another corba call from inside the corba handler. (Fixes a three-way deadlock between mail, summary, and exchange.) svn path=/trunk/; revision=17322
* Don't use --no-auto-key-retrieve, this option has apparently beenJeffrey Stedfast2002-06-292-4/+16
| | | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_get_argv): Don't use --no-auto-key-retrieve, this option has apparently been deprecated in gpg 1.0.7. svn path=/trunk/; revision=17321
* Loop on our reads while errno is EINTR or EAGAIN. Also make sure toJeffrey Stedfast2002-06-282-19/+55
| | | | | | | | | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. Also make sure to completely read stdout and stderr by keeping better state. (gpg_ctx_parse_status): In the case of a NODATA response from gpg, try to use the diagnostics that gpg may have written to its stderr. (gpg_verify): Check that the gpg process has not exited. (gpg_ctx_op_wait): Make sure we haven't already exited (as by gpg_ctx_op_is_exited()) and if we have, retrieve the exit status from the gpg context. svn path=/trunk/; revision=17320
* Loop on our reads while errno is EINTR or EAGAIN. Also make sure toJeffrey Stedfast2002-06-282-3/+13
| | | | | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. Also make sure to completely read stdout and stderr by keeping better state. (gpg_ctx_parse_status): In the case of a NODATA response from gpg, try to use the diagnostics that gpg may have written to its stderr. svn path=/trunk/; revision=17319
* Recursively delete any subfolders.Jeffrey Stedfast2002-06-282-12/+46
| | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Recursively delete any subfolders. svn path=/trunk/; revision=17318
* Update .po files.JP Rosevear2002-06-2838-138845/+185436
| | | | svn path=/trunk/; revision=17317
* Hack around a libtool/make problem that was causing libversit.a to beDan Winship2002-06-281-0/+6
| | | | | | | | * libversit/Makefile.am: Hack around a libtool/make problem that was causing libversit.a to be rebuilt at "make install" time, causing further relinking down the line. svn path=/trunk/; revision=17316
* Removed camel/camel-pgp-context.c and added camel-gpg-context.c andJeffrey Stedfast2002-06-282-1/+1
| | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed camel/camel-pgp-context.c and added camel-gpg-context.c and camel-multipart-encrypted.c. Also removed camel/camel-spoold-store.c svn path=/trunk/; revision=17314
* add spanish OMF fileAaron Weber2002-06-281-0/+16
| | | | svn path=/trunk/; revision=17312
* Loop on our reads while errno is EINTR or EAGAIN. Also make sure toJeffrey Stedfast2002-06-282-23/+20
| | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. Also make sure to completely read stdout and stderr by keeping better state. svn path=/trunk/; revision=17311
* Removed camel/camel-pgp-context.c and added camel-gpg-context.c andJeffrey Stedfast2002-06-282-1/+7
| | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed camel/camel-pgp-context.c and added camel-gpg-context.c and camel-multipart-encrypted.c. svn path=/trunk/; revision=17310
* apply patch from owen taylorAaron Weber2002-06-274-10/+33
| | | | | | | | | | | | 2002-06-27 Aaron Weber <aaron@ximian.com> * C/evolution-C.omf: apply patch from owen taylor 2002-06-27 Aaron Weber <aaron@ximian.com> * evolution-no.omf: apply patch from otaylor. svn path=/trunk/; revision=17308
* Loop on our reads while errno is EINTR or EAGAIN.Jeffrey Stedfast2002-06-272-9/+25
| | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. svn path=/trunk/; revision=17307
* Use the new CamelMultipartEncrypted class to do our encryption work forJeffrey Stedfast2002-06-272-47/+165
| | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new CamelMultipartEncrypted class to do our encryption work for us. We also need to always get the user's userid before encrypting since pgp/gpg need that. (e_msg_composer_new_with_message): Handle multipart/signed and multipart/encrypted parts by adding the (decrypted) content and setting the composer to pgp sign/encrypt the message when the user re-sends it. svn path=/trunk/; revision=17306
* updatedRadek Doulik2002-06-271-96/+98
| | | | svn path=/trunk/; revision=17305
* slight build fixesJeffrey Stedfast2002-06-273-19/+20
| | | | svn path=/trunk/; revision=17304
* Removed.Jeffrey Stedfast2002-06-277-1934/+41
| | | | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.[c,h]: Removed. * camel-pgp-mime.c (pgp_mime_part_sign_restore_part): Removed. (pgp_mime_part_sign_prepare_part): Removed. (camel_pgp_mime_part_sign): Removed. (camel_pgp_mime_part_verify): Removed. (camel_pgp_mime_part_encrypt): Removed. (camel_pgp_mime_part_decrypt): Removed. (camel_pgp_mime_is_rfc2015_signed): Documented. (camel_pgp_mime_is_rfc2015_encrypted): Same. svn path=/trunk/; revision=17303
* updatedRadek Doulik2002-06-271-63/+71
| | | | svn path=/trunk/; revision=17302
* Don't allow the pgp type to be anything except NONE or GPG.Jeffrey Stedfast2002-06-277-139/+80
| | | | | | | | | | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Don't allow the pgp type to be anything except NONE or GPG. * mail-preferences.c (mail_preferences_apply): Don't allow someone to use anything other than GnuPG. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): No need to handle pgp5 or pgp6 types anymore since we are no longer supporting them. Ding dong the witch is dead! * mail-format.c (handle_multipart_encrypted): Rewritten to use camel_multipart_encrypted_decrypt. * mail-crypto.c (mail_crypto_pgp_mime_part_verify): Removed. (mail_crypto_pgp_mime_part_encrypt): Removed. (mail_crypto_pgp_mime_part_decrypt): Are we seeing a trend yet? svn path=/trunk/; revision=17301
* Use the new CamelMultipartEncrypted class to do our encryption work forJeffrey Stedfast2002-06-272-31/+56
| | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new CamelMultipartEncrypted class to do our encryption work for us. We also need to always get the user's userid before encrypting since pgp/gpg need that. svn path=/trunk/; revision=17300
* Oops, this needs to take a userid argument.Jeffrey Stedfast2002-06-273-5/+8
| | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt): Oops, this needs to take a userid argument. svn path=/trunk/; revision=17299
* remove the search-refining feature, which isn't actually true, i think.Aaron Weber2002-06-275-96/+73
| | | | | | | | | | | | | | | 2002-06-26 Aaron Weber <aaron@ximian.com> * C/usage-contact.sgml: remove the search-refining feature, which isn't actually true, i think. * C/apx-authors.sgml: update slightly. * C/apx-bugs.sgml: remove list of 1.1.x features. * C/usage-mainwindow.sgml: minor tweaks svn path=/trunk/; revision=17298
* Removed (never did anything anyway).Jeffrey Stedfast2002-06-275-240/+11
| | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_clearsign): Removed (never did anything anyway). * camel-pgp-context.c (pgp_clearsign): Removed. * camel-cipher-context.c (camel_cipher_clearsign): Removed unused method. svn path=/trunk/; revision=17297
* New class implementing the multipart/encrypted content type. ContainsJeffrey Stedfast2002-06-275-0/+420
| | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.[c,h]: New class implementing the multipart/encrypted content type. Contains methods for encrypting and decrypting a multipart/encrypted MIME object. svn path=/trunk/; revision=17296
* Check for NODATA too.Jeffrey Stedfast2002-06-273-2/+15
| | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_parse_status): Check for NODATA too. svn path=/trunk/; revision=17295
* Only let the dialog be opened onceIain Holmes2002-06-272-0/+20
| | | | svn path=/trunk/; revision=17294
* Fix crash on "broken" rdfsIain Holmes2002-06-272-0/+9
| | | | svn path=/trunk/; revision=17293
* Fix a typo in the Locations fileIain Holmes2002-06-273-9/+10
| | | | svn path=/trunk/; revision=17292
* Sort the states in the right orderIain Holmes2002-06-273-8/+12
| | | | svn path=/trunk/; revision=17291
* Fix bugs, make the folder list be a storage set view and add a delete url buttonIain Holmes2002-06-2610-66/+573
| | | | svn path=/trunk/; revision=17290
* Changes for an importer bug and to get the storagesetselector in the summaryIain Holmes2002-06-267-29/+216
| | | | svn path=/trunk/; revision=17289
* Fixes #25410Rodrigo Moya2002-06-262-0/+16
| | | | | | | | | | | | 2002-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #25410 * gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper cleanup on removal of clients. (alarm_notify_add_calendar): ditto. svn path=/trunk/; revision=17287
* Remove the #include for camel-spoold-store.hJeffrey Stedfast2002-06-262-1/+5
| | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-provider.c: Remove the #include for camel-spoold-store.h svn path=/trunk/; revision=17285
* Include <sys/time.h> for struct timeval.Not Zed2002-06-2622-2418/+1045
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-26 Not Zed <NotZed@Ximian.com> * camel-gpg-context.c: Include <sys/time.h> for struct timeval. * providers/local/camel-local-provider.c (camel_provider_module_init): Removed spoold provider. The spool provider does it now. 2002-06-25 Not Zed <NotZed@Ximian.com> * providers/local/camel-spool-folder.c (camel_spool_folder_new): Support a new xstatus option - folders update/honour the Status/X-Status headers in addition to X-Evolution. * providers/local/camel-local-summary.c (camel_local_summary_write_headers): If supplied with an additional status or xstatus arg, write a Status header and/or X-Status. Also fix the case of properly terminating the headers if an xev line isn't supplied. * providers/local/Makefile.am (libcamellocalinclude_HEADERS,SOURCES): Removed spoold-store.[ch]. * providers/local/camel-local-provider.c (camel_provider_module_init): For the spoold type, just use the spool store instead. * providers/local/camel-spool-store.h: Added a type field, so the 1 store can implement different types without having to subclass. * providers/local/camel-spool-store.c (camel_spool_store_get_toplevel_dir): Removed, inherits from local store now. (construct): If we're pointing to a file, treat it as mbox mode, otherwise treat it as 'elm' mode. (get_folder): Only test for INBOX in mbox mode. (get_folder_info_elm): (get_folder_info_mbox): Two alternatives for getting folder info, depending on the type of folder we're looking at. (get_folder_info_mbox): Make the url include the protocol. (scan_dir): " * providers/local/camel-spoold-store.c (camel_spoold_store_get_toplevel_dir): Removed, inherits from local store now. * camel-folder.c (get_message_user_tag): Dont use a g_return_if_fail for info==NULL. This is not an error. (set_message_user_tag): And same here. (set_message_user_flag): Sigh, and here. (get_message_user_flag): And here. (set_message_flags): and here ... (get_message_flags): Dum de dum, de done at last. * providers/local/camel-mbox-folder.c (mbox_get_message): Check for new messages whenever we retrieve one. In the common no-update case, this is a single stat. (mbox_get_message): If we need to rescan, then force a full rescan to make sure it does the right thing. (mbox_get_message): Cleanup the exception handling a bit, if we do get an error, propagate any folder changes anyway as well. (mbox_set_message_user_flag): Argh more of these stupid g_returns taht shouldn't be. (mbox_set_message_user_tag): Here too. (mbox_set_message_flags): If the read flag is being changed, mark it as an xevchange (i.e. Status line change). * providers/local/camel-mbox-summary.c (summary_rebuild): Merged into summary_update. (summary_update): Changed to allow it to update existing lists of messages without clearing out the summary. (mbox_summary_check): Dont clear the summary, just re-scan. (message_info_new): Attempt to support the 'Status: RO' elm/pine thing. (camel_mbox_summary_encode_status): (camel_mbox_summary_decode_status): Util functions for creating/parsing the Status line. (camel_mbox_summary_sync_mbox): Write out the status line if we're going to try support it. (camel_mbox_summary_xstatus): Implement option to control read/write of (x-)status. (message_info_new): Do x-status stuff based on run-time option. (camel_mbox_summary_sync_mbox): " (mbox_summary_add): If x-status enabled, then always add status/x-status headers to message. * camel-folder-summary.c (summary_assign_uid): If the messageinfo is already in the summary, AND is the same messageinfo, dont do anything, return a value to indicate this. (camel_folder_summary_add): Do nothing if this info already in the summary, so we can perform updates. 2002-06-24 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-summary.c (camel_local_summary_check_force): New method to force the next summary check to be a full check, set if a mismatch occurs. * camel-folder-summary.c (camel_folder_summary_load): If we have no summary path set, dont do any i/o, rather than abort. (camel_folder_summary_save): " (camel_folder_summary_header_load): " * providers/local/camel-spool-store.h: Inherit from camel mbox store, even if we override almost everything. * providers/local/camel-local-folder.c (camel_local_folder_construct): If the base path points to a file, use that as the folder path as well. * providers/local/camel-spool-folder.h: Inherit from camel-mbox-folder. * providers/local/camel-spool-summary.c (spool_summary_sync_full): Use camel_mbox_summary_sync_mbox to do most of the work. * providers/local/camel-spool-summary.[ch]: Make spool-summary inherit from mbox summary rather than foldersummary. * providers/local/camel-mbox-summary.c (mbox_summary_sync): Make sync_full/quick virtual methods. (camel_mbox_summary_sync_mbox): The full sync method put into a simple function that sync's from fd to fd. (mbox_summary_sync_full): Use summary_sync_mbox to do the real work. (mbox_summary_check): Create removed events if the folder gets cleared. Also, dont clear the summary before a rebuild, try to merge. svn path=/trunk/; revision=17284
* #include <sys/time.h>Jeffrey Stedfast2002-06-263-1/+5
| | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c: #include <sys/time.h> svn path=/trunk/; revision=17283
* more improvem,ent.Aaron Weber2002-06-262-20/+17
| | | | | | | | 2002-06-25 Aaron Weber <aaron@ximian.com> * C/config-prefs.sgml: more improvem,ent. svn path=/trunk/; revision=17281
* Also handle https urls.Jeffrey Stedfast2002-06-262-1/+3
| | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): Also handle https urls. svn path=/trunk/; revision=17280
* reorder the adding of creatable items so the default is a new contact, notChris Toshok2002-06-262-3/+9
| | | | | | | | | | 2002-06-25 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (create_component): reorder the adding of creatable items so the default is a new contact, not a new contact list. svn path=/trunk/; revision=17279
* Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision isJeffrey Stedfast2002-06-262-1/+7
| | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision is done for us. svn path=/trunk/; revision=17278
* Some compiler warning fixes.Jeffrey Stedfast2002-06-269-63/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_add_storage): Some compiler warning fixes. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Removed. (mail_crypto_get_pgp_cipher_context): New convenience function to construct a pgp cipher context. (mail_crypto_pgp_mime_part_verify): Use the new get_pgp_cipher_context function. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): Here too. * mail-account-gui.c (mail_account_gui_new): Initialise the pgp_always_trust checkbox. (mail_account_gui_save): Get whether or not to always_trust the user's pgp keys. * mail-config.c (account_copy): Copy over the pgp_always_trust option. (config_read): Read in the always_trust option. (mail_config_write): Save the always_trust option. svn path=/trunk/; revision=17277
* Add example FAQ items in welcome email, as per danw's request in bug 18645Aaron Weber2002-06-252-11/+21
| | | | | | | | | 2002-06-25 Aaron Weber <aaron@ximian.com> * local/Inbox/mbox: Add example FAQ items in welcome email, as per danw's request in bug 18645 svn path=/trunk/; revision=17276
* plug leak and actually use the minimal comp we createJP Rosevear2002-06-252-1/+10
| | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_compliant): plug leak and actually use the minimal comp we create svn path=/trunk/; revision=17275
* add back protoJP Rosevear2002-06-2516-235/+625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.h: add back proto * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_needs_send): add page needs_send signal * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17274
* remove source argument (get it from the dialog). (edit_source_clicked):Sean Atkinson2002-06-252-6/+25
| | | | | | | | | | | | 2002-06-21 Sean Atkinson <sean@cantab.net> * gui/component/addressbook-config.c (addressbook_edit_server_dialog): remove source argument (get it from the dialog). (edit_source_clicked): same. (sources_table_double_click): added to edit server by double-clicking. (ldap_dialog_new): use sources_table_double_click. svn path=/trunk/; revision=17272
* Return the option as --digest-algo=<micalg> (gpg_ctx_parse_status): DecodeJeffrey Stedfast2002-06-252-20/+82
| | | | | | | | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_hash_str): Return the option as --digest-algo=<micalg> (gpg_ctx_parse_status): Decode more status information and keep track of trust and such. (gpg_ctx_op_complete): Make sure we aren't waiting for gpg to write data to stdout (such as encrypted/decrypted data or a signature). (gpg_encrypt): Remove the fejj@stampede.org hard-coded value (which had only meant to be for testing). svn path=/trunk/; revision=17271
* implemented camel_gpg_context_set_always_trust()Jeffrey Stedfast2002-06-252-0/+19
| | | | svn path=/trunk/; revision=17269
* Use --command-fd rather than --passphrase-fd since what we really want isJeffrey Stedfast2002-06-252-1/+8
| | | | | | | | | | | | | 2002-06-24 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_get_argv): Use --command-fd rather than --passphrase-fd since what we really want is an interactive mode (besides, --passphrase-fd requires a passphrase to be sent before --status-fd will send a NEED_PASSPHRASE status message). (gpg_ctx_parse_status): When we encounter a BAD_PASSPHRASE, tell the session to uncache it. svn path=/trunk/; revision=17268
* Use --command-fd rather than --passphrase-fd since what we really want isJeffrey Stedfast2002-06-252-100/+76
| | | | | | | | | | | 2002-06-24 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_get_argv): Use --command-fd rather than --passphrase-fd since what we really want is an interactive mode (besides, --passphrase-fd requires a passphrase to be sent before --status-fd will send a NEED_PASSPHRASE status message). svn path=/trunk/; revision=17267
* overhaul. still need to improve examples.Aaron Weber2002-06-255-276/+254
| | | | | | | | | | | | 2002-06-24 Aaron Weber <aaron@ximian.com> * C/config-prefs.sgml: overhaul. still need to improve examples. * C/usage-mail.sgml: link to somewhere i have deleted. * C/usage-contact.sgml: fix sharing section more svn path=/trunk/; revision=17266
* (impl_clicked): PassEttore Perazzoli2002-06-252-1/+7
| | | | | | | default_type to e_shell_show_folder_creation_dialog() properly. [Patch by Christian Kreibich <christian@whoop.org>.] svn path=/trunk/; revision=17265
* updatedRadek Doulik2002-06-251-165/+142
| | | | svn path=/trunk/; revision=17264
* Check for ERRSIG also. (gpg_ctx_op_step): Don't try writing a passphraseJeffrey Stedfast2002-06-242-6/+14
| | | | | | | | | | | 2002-06-23 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_parse_status): Check for ERRSIG also. (gpg_ctx_op_step): Don't try writing a passphrase unless our operation requires it. svn path=/trunk/; revision=17263
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-06-232-1079/+1283
| | | | | | | | 2002-06-23 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17259
* s/jeff/jeffreyJeffrey Stedfast2002-06-231-1/+1
| | | | svn path=/trunk/; revision=17258
* Return -1 on error. (gpg_decrypt): Same. (gpg_sign): Again here.Jeffrey Stedfast2002-06-233-56/+117
| | | | | | | | | | | | | | | 2002-06-22 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_encrypt): Return -1 on error. (gpg_decrypt): Same. (gpg_sign): Again here. (gpg_ctx_op_step): Only attenmpt to read from the status-fd if we are not already 'complete'. * camel-pgp-mime.c (camel_pgp_mime_part_encrypt): Flush the filtered stream. svn path=/trunk/; revision=17257
* more fixes, now verifying works and signing almost works as well, except gpg ↵Jeffrey Stedfast2002-06-221-7/+30
| | | | | | is running out of memory for me? not sure if that is a gpg or evo bug svn path=/trunk/; revision=17256
* yay, I get to hold more state because Unix pipes suck so badly. This isJeffrey Stedfast2002-06-221-101/+220
| | | | | | | | getting very close to working now... I think that as soon as I debug this segfault, it will work. Probably dereferencing a NULL pointer or something stupid like that. svn path=/trunk/; revision=17255
* Use the new gpg cipher context rather than the old pgp context.Jeffrey Stedfast2002-06-222-22/+30
| | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new gpg cipher context rather than the old pgp context. svn path=/trunk/; revision=17254
* If the pgp type is gpg, then use the gpg context.Jeffrey Stedfast2002-06-224-32/+88
| | | | | | | | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_verify): If the pgp type is gpg, then use the gpg context. (mail_crypto_pgp_mime_part_sign): Same. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): Same. * mail-format.c (handle_multipart_signed): Use the new gpg cipher context. svn path=/trunk/; revision=17253
* added camel_gpg_context_new which I had forgotten beforeJeffrey Stedfast2002-06-221-0/+28
| | | | svn path=/trunk/; revision=17252
* New source files implementing the CamelCipherContext class for gnupg.Jeffrey Stedfast2002-06-229-32/+1286
| | | | | | | | | | | | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.[c,h]: New source files implementing the CamelCipherContext class for gnupg. * camel-pgp-context.c (camel_pgp_context_new): Return a CamelCipherContext. * camel-pgp-mime.c (camel_pgp_mime_part_decrypt): Take a CamelCipherContext argument rather than a CamelPgpContext since we now have a CamelGpgContext also. (camel_pgp_mime_part_encrypt): Same. (camel_pgp_mime_part_verify): Same. (camel_pgp_mime_part_sign): Same. svn path=/trunk/; revision=17251
* Updated to support searching as well as making it use CamelDigestSummary.Jeffrey Stedfast2002-06-215-106/+325
| | | | | | | | | | | | | | | | | 2002-06-20 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-folder.c: Updated to support searching as well as making it use CamelDigestSummary. * camel-digest-summary.[c,h]: New class to handle the summary for CamelDigestFolder. * camel-tcp-stream-ssl.c (set_errno): PR_IO_TIMEOUT_ERROR should map to ETIMEDOUT and not EAGAIN. (stream_connect): Reset the PR_Poll() timeout back to 2 minutes as this wasn't the problem afterall. svn path=/trunk/; revision=17249
* Ignore more files. Removed obsolete files. Add missing files, removeAbel Cheung2002-06-216-118/+14
| | | | | | | | | | | | 2002-06-21 Abel Cheung <maddog@linux.org.hk> * .cvsignore: Ignore more files. * Makefile.i18npatch, update.sh: Removed obsolete files. * POTFILES.in: Add missing files, remove entries already present in POTFILES.skip. * POTFILES.skip: Remove non-existant entries. svn path=/trunk/; revision=17248
* PR_IO_TIMEOUT_ERROR should map to ETIMEDOUT and not EAGAIN.Jeffrey Stedfast2002-06-202-2/+9
| | | | | | | | | | | 2002-06-20 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (set_errno): PR_IO_TIMEOUT_ERROR should map to ETIMEDOUT and not EAGAIN. (stream_connect): Reset the PR_Poll() timeout back to 2 minutes as this wasn't the problem afterall. svn path=/trunk/; revision=17246
* Drop back to initial state if we came from eof state.Not Zed2002-06-202-1/+7
| | | | | | | | | 2002-06-19 Not Zed <NotZed@Ximian.com> * camel-mime-parser.c (folder_scan_drop_step): Drop back to initial state if we came from eof state. svn path=/trunk/; revision=17245
* don't convert text to html twiceRadek Doulik2002-06-202-7/+5
| | | | | | | | | 2002-06-19 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): don't convert text to html twice svn path=/trunk/; revision=17239
* Remove #include <config.h> Same Same gtk_widget_show() all items in theKjartan Maraas2002-06-207-21/+11
| | | | | | | | | | | | | | 2002-06-19 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.h: Remove #include <config.h> * e-shell-about-box.h: Same * e-history.h: Same * e-shell-importer.c: gtk_widget_show() all items in the optionmenu before showing it. * e-shell-offline-handler.h: Remove #include <config.h> * e-shell-settings-dialog.h: Same. svn path=/trunk/; revision=17235
* Set the poll timeout to be PR_INTERVAL_MIN, this one shouldn't need to beJeffrey Stedfast2002-06-202-1/+5
| | | | | | | | | | 2002-06-19 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (stream_connect): Set the poll timeout to be PR_INTERVAL_MIN, this one shouldn't need to be 2 minutes (plus it blocks my connection at home for far too long). svn path=/trunk/; revision=17234
* Make sure we hold the command_lock before accessing current_folder.Jeffrey Stedfast2002-06-203-2/+35
| | | | | | | | | | | | | | | | | | | 2002-06-19 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_refresh_info): Make sure we hold the command_lock before accessing current_folder. (imap_append_online): Same. (imap_transfer_online): Same. * providers/imap/camel-imap-store.c (delete_folder): We need to hold the command_lock before we can set the current_folder to NULL. (rename_folder): Same. (get_folder_info_online): We need to make sure we hold the command_lock in order to use current_folder. (everywhere): Same. svn path=/trunk/; revision=17233
* Don't bother trying to authenticate (and thus don't throw up an errorJeffrey Stedfast2002-06-193-6/+19
| | | | | | | | | | | | | | | | 2002-06-19 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_connect): Don't bother trying to authenticate (and thus don't throw up an error dialog) unless the server is an ESMTP server and supports authentication. * camel-sasl-plain.c: Change the user-friendly name to PLAIN, this is what it should be. Not "Password" because user's immediately think that they need authentication when they see "Password" even if they don't need it at all. svn path=/trunk/; revision=17232
* update for new zonesJP Rosevear2002-06-192-77/+4
| | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * zones.h: update for new zones svn path=/trunk/; revision=17231
* Reverse unintended changeJP Rosevear2002-06-191-0/+6
| | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: Reverse unintended change * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=17229
* New convenience function to find the first parent node that is visible andJeffrey Stedfast2002-06-193-11/+41
| | | | | | | | | | | | | | | | | 2002-06-18 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_change_first_visible_parent): New convenience function to find the first parent node that is visible and emit a changed signal on it. (main_folder_changed): If a message changed, call change_first_visible_parent() in case we are in a collapsed thread so that our first visible parent gets updated as well. Fixes bug #26263. * component-factory.c (storage_remove_folder): Simplify the error checking. svn path=/trunk/; revision=17228
* update for new zonesJP Rosevear2002-06-191-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * zones.h: update for new zones 2002-06-18 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17226
* (build_items): Put the numbers in front of theEttore Perazzoli2002-06-192-1/+6
| | | | | | rules only if type is zero [i.e. not in the option menu]. svn path=/trunk/; revision=17224
* Added info about non-organizer changes to calendar events.Aaron Weber2002-06-191-8/+34
| | | | svn path=/trunk/; revision=17223
* check for libsoftokn3 if we couldn't link the first timeJP Rosevear2002-06-192-0/+10
| | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * configure.in: check for libsoftokn3 if we couldn't link the first time svn path=/trunk/; revision=17220
* Patch by clahey.JP Rosevear2002-06-181-1/+37
| | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> Patch by clahey. * e-table.c (et_get_arg): get the use_click_to_add value (et_set_arg): set the use_click_to_add_value, and either display the item or destroy it (e_table_class_init): add the use_click_to_add arg svn path=/trunk/; revision=17218
* Update the freeze state of the new source folder.Jeffrey Stedfast2002-06-183-4/+37
| | | | | | | | | | | 2002-06-17 Jeffrey Stedfast <fejj@ximian.com> * camel-vee-folder.c (camel_vee_folder_add_folder): Update the freeze state of the new source folder. (camel_vee_folder_remove_folder): Undo any freeze state that we have imposed on this source folder. svn path=/trunk/; revision=17216
* Fixes wombat crash (for JP and myself)Rodrigo Moya2002-06-182-5/+14
| | | | | | | | | | | | | 2002-06-17 Rodrigo Moya <rodrigo@ximian.com> Fixes wombat crash (for JP and myself) * gui/gnome-cal.c (gnome_calendar_open): don't call add_alarms here, since the client is not yet attached to the backend, and the alarm daemon does unref the client before creating a new one. (client_cal_opened_cb): call add_alarms here. svn path=/trunk/; revision=17215
* New convenience function to get a cached normalised string.Jeffrey Stedfast2002-06-184-72/+164
| | | | | | | | | | | | | | | | | | 2002-06-17 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (get_normalised_string): New convenience function to get a cached normalised string. (subject_compare): Removed, as we strip Re:'s when normalising the subject strings now. (ml_tree_value_at): Added support for the normalised columns (used for a sorting optimisation). (message_list_init): Initialise normalised_hash. (message_list_destroy): Destroy normalised_hash. (message_list_create_extras): Removed subject_compare. (main_folder_changed): De-cache normalised strings for any removed uids. svn path=/trunk/; revision=17213
* pass NULL to e_contact_list_save_as. modality sucks. fixes broken build.Chris Toshok2002-06-182-4/+2
| | | | | | | | | | | 2002-06-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as): pass NULL to e_contact_list_save_as. modality sucks. fixes broken build. (save_as): same. svn path=/trunk/; revision=17212
* pass NULL to e_contact_list_save_as. modality sucks. fixes broken build.Chris Toshok2002-06-181-0/+9
| | | | | | | | | | | | | 2002-06-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as): pass NULL to e_contact_list_save_as. modality sucks. fixes broken build. (save_as): same. * gui/widgets/e-addressbook-reflow-adapter.c (save_as): same. svn path=/trunk/; revision=17210
* remove the camel-remote-store private structJeffrey Stedfast2002-06-181-17/+1
| | | | svn path=/trunk/; revision=17209