aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* If we dont support searching, dont try to.Not Zed2002-06-173-2/+11
| | | | | | | | | 2002-06-17 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regen): If we dont support searching, dont try to. svn path=/trunk/; revision=17208
* Use connect_while_alive, so we're not called after we've quit. See bugNot Zed2002-06-172-4/+10
| | | | | | | | | | 2002-06-07 Not Zed <NotZed@Ximian.com> * e-dialog-utils.c (e_gnome_warning_dialog_parented): (e_gnome_ok_cancel_dialog_parented): Use connect_while_alive, so we're not called after we've quit. See bug #15397. svn path=/trunk/; revision=17207
* updatedRadek Doulik2002-06-171-599/+734
| | | | svn path=/trunk/; revision=17204
* Edit the view after appending it to the model.Christopher James Lahey2002-06-171-0/+1
| | | | | | | | | 2002-06-16 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): Edit the view after appending it to the model. svn path=/trunk/; revision=17203
* Updated Slovenian translationAndraz Tori2002-06-161-2/+2
| | | | svn path=/trunk/; revision=17202
* [ fixes bug #26130 ] pass ce->app as parent_window.Chris Toshok2002-06-165-8/+37
| | | | | | | | | | | | | | | | | | | | | 2002-06-15 Chris Toshok <toshok@ximian.com> [ fixes bug #26130 ] * gui/contact-editor/e-contact-editor.c (file_save_as_cb): pass ce->app as parent_window. * gui/contact-list-editor/e-contact-list-editor.c (file_save_as_cb): same . * gui/contact-editor/e-contact-save-as.c (e_contact_list_save_as): if a parent_window is specified, the file selector should be modal/transient for that window. (e_contact_save_as): same. * gui/contact-editor/e-contact-save-as.h: track prototype changes (addition of GtkWindow *parent_window to both calls.) svn path=/trunk/; revision=17199
* use ldap_unbind_ext. (create_card_handler): don't leak the new vcard.Chris Toshok2002-06-162-6/+22
| | | | | | | | | | | 2002-06-15 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use ldap_unbind_ext. (create_card_handler): don't leak the new vcard. (pas_backend_ldap_process_authenticate_user): don't leak the dn. svn path=/trunk/; revision=17197
* up the max threshold to 3000 cards from 1000 cards.. seems to improveChris Toshok2002-06-162-4/+13
| | | | | | | | | | | | 2002-06-14 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_search): up the max threshold to 3000 cards from 1000 cards.. seems to improve performance a bit. also remove the g_list_reverse since it doesn't matter what order the cards arrive to the gui. (pas_backend_file_changes): plug memory leaks. svn path=/trunk/; revision=17196
* fix a braindead typo that caused us to leak strings in certainChris Toshok2002-06-161-1/+1
| | | | | | | | | | | 2002-06-14 Chris Toshok <toshok@ximian.com> * libversit/vobject.c (unUseStr): fix a braindead typo that caused us to leak strings in certain circumstances (when the string being freed was second in the list, the head of the list would get lost.) svn path=/trunk/; revision=17194
* fix a braindead typo that caused us to leak strings in certainChris Toshok2002-06-161-0/+7
| | | | | | | | | | | 2002-06-14 Chris Toshok <toshok@ximian.com> * libversit/vobject.c (unUseStr): fix a braindead typo that caused us to leak strings in certain circumstances (when the string being freed was second in the list, the head of the list would get lost.) svn path=/trunk/; revision=17193
* Made "" compare as not equal to "" for addresses. (use_common_book_cb):Christopher James Lahey2002-06-152-4/+14
| | | | | | | | | | | | 2002-06-14 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-compare.c (compare_email_addresses): Made "" compare as not equal to "" for addresses. (use_common_book_cb): Don't bother checking for nickname here since we don't use it as a match later. Don't add "" as an address to the list of query parts. svn path=/trunk/; revision=17191
* Don't draw or interact with the popup button if a cell isn't editableChristopher James Lahey2002-06-159-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-14 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact with the popup button if a cell isn't editable (based on a patch by JPR.) * e-table-col.c, e-table-col.h: Added the compare_col field to this structure. Added a GtkArg to set it. * e-table-column-specification.c, e-table-column-specification.h: Added the compare_col field here. Made it load properly from xml. * e-table-sorting-utils.c: Sort based on the compare_col in the ETableCol instead of the col_idx. * e-table-utils.c (et_col_spec_to_col): Set the compare_col field in the ETableCol properly. * e-table.c, e-table.h: Removed the drag_get_data_row and drag_get_data_col fields since they're not used any longer. (e_table_construct): If specification loading fails, return a NULL ETable instead of just ignoring it. (e_table_drag_highlight): Only destroy table->drop_highlight if it exists. svn path=/trunk/; revision=17190
* Freeze source folders. (vee_thaw): Thaw all source folders. Fixes bugJeffrey Stedfast2002-06-152-0/+56
| | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * camel-vee-folder.c (vee_freeze): Freeze source folders. (vee_thaw): Thaw all source folders. Fixes bug #24317. svn path=/trunk/; revision=17189
* Unlock the command_lock after each UID STORE command so that otherJeffrey Stedfast2002-06-152-5/+14
| | | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Unlock the command_lock after each UID STORE command so that other (probably more important) threads can send their requests. svn path=/trunk/; revision=17188
* Fixed compiler warnings.Jeffrey Stedfast2002-06-1510-15/+31
| | | | | | | | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * camel-arg.c: * camel-disco-diary.c: * camel-index-control.c: * camel-mime-part.c: * camel-pgp-mime.c: * camel-store.c: * camel-tcp-stream-ssl.c: * camel-text-index.c: Fixed compiler warnings. svn path=/trunk/; revision=17187
* Updated to use ctx->sign_protocol rather than ctx->protocol.Jeffrey Stedfast2002-06-155-10/+22
| | | | | | | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-signed.c: Updated to use ctx->sign_protocol rather than ctx->protocol. * camel-cipher-context.h: Add an ecnryption protocol member. * camel-pgp-context.c (camel_pgp_context_init): Set the encryption protocol. svn path=/trunk/; revision=17186
* Don't enable fields if the editor isn't editable and theChristopher James Lahey2002-06-142-0/+11
| | | | | | | | | | | 2002-06-13 Christopher James Lahey <clahey@ximian.com> * gui/contact-editor/e-contact-editor.c (enable_writable_fields): Don't enable fields if the editor isn't editable and the widget_field_mappings lists this field as being desensitize for read only. svn path=/trunk/; revision=17184
* UpdatedAndrew V. Samoilov2002-06-131-43/+29
| | | | svn path=/trunk/; revision=17183
* Use utf-8 instead of utf8 to avoid msgfmt's warning.Andrew V. Samoilov2002-06-132-155/+77
| | | | svn path=/trunk/; revision=17182
* Updated Ukrainian translation.Andrew V. Samoilov2002-06-132-143/+73
| | | | | | * uk.po: Updated Ukrainian translation. svn path=/trunk/; revision=17181
* Updated Russian translation.Andrew V. Samoilov2002-06-131-351/+148
| | | | | | * ru.po: Updated Russian translation. svn path=/trunk/; revision=17180
* Updated Russian translation.Andrew V. Samoilov2002-06-131-0/+4
| | | | | | * ru.po: Updated Russian translation. svn path=/trunk/; revision=17179
* added timeout_id to LoadedClient structure, to keep track of the timeoutRodrigo Moya2002-06-132-26/+33
| | | | | | | | | | | | | | 2002-06-12 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify.c: added timeout_id to LoadedClient structure, to keep track of the timeout function. (retry_timeout_cb): don't use RetryData, but the LoadedClient. (cal_opened_cb): ditto, and assigned lc->timeout_id to the return value of g_timeout_add(). (alarm_notify_add_calendar): destroy the timeout callback when destroying the LoadedClient structure. svn path=/trunk/; revision=17178
* Free the uri_string once we're done with it.Jeffrey Stedfast2002-06-132-1/+8
| | | | | | | | | 2002-06-12 Jeffrey Stedfast <fejj@ximian.com> * pcs/cal-factory.c (open_fn): Free the uri_string once we're done with it. svn path=/trunk/; revision=17176
* Fix a typo.Kjartan Maraas2002-06-132-1/+5
| | | | | | | | 2002-06-12 Kjartan Maraas <kmaraas@gnome.org> * gui/dialogs/cal-prefs-dialog.glade: Fix a typo. svn path=/trunk/; revision=17174
* [ fixes bug #17332 ] we shouldn't ever return NULL here. in error cases weChris Toshok2002-06-122-1/+8
| | | | | | | | | | | 2002-06-11 Chris Toshok <toshok@ximian.com> [ fixes bug #17332 ] * backend/ebook/e-book.c (e_book_get_static_capabilities): we shouldn't ever return NULL here. in error cases we need to return g_strdup(""); svn path=/trunk/; revision=17173
* Made double clicking on read only folders not do anything.Christopher James Lahey2002-06-122-8/+14
| | | | | | | | | 2002-06-11 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c (e_minicard_view_event): Made double clicking on read only folders not do anything. svn path=/trunk/; revision=17171
* Move m->complete = TRUE; to within the cancel-check block, this wayJeffrey Stedfast2002-06-122-2/+9
| | | | | | | | | | | 2002-06-11 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (regen_list_regen): Move m->complete = TRUE; to within the cancel-check block, this way complete only ever gets set to TRUE if we weren't cancelled. I assume this is how it was supposed to work. svn path=/trunk/; revision=17169
* removed already loaded client when asked to be opened again, and *really*Rodrigo Moya2002-06-122-11/+13
| | | | | | | | | | 2002-06-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed already loaded client when asked to be opened again, and *really* re-open it again. svn path=/trunk/; revision=17167
* UpdatedAndrew V. Samoilov2002-06-112-447/+310
| | | | svn path=/trunk/; revision=17166
* If we dont get a folder, dont try and get details off it. Should get ridNot Zed2002-06-114-43/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-11 Not Zed <NotZed@Ximian.com> * folder-info.c (do_get_info): If we dont get a folder, dont try and get details off it. Should get rid of most of those annoying summary warnings, but not the cause of them. 2002-06-06 Not Zed <NotZed@Ximian.com> * message-list.c (mail_regen_list): Keep track of the regeneration request in a list. (regen_list_free): Remove the request from the regenreation list. (message_list_set_folder): If there are any outstanding regneration requests, cancel them. (regen_list_regened): If we were cancelled, do nothing. (regen_list_regen): If we were cancelled, shortcut processing. This is all for #23571. * message-list.c (regen_list_regen): Change the way we calculate the hide deleted messages and tree view options. Do it based on a search and uid's rather than a summary. (regen_list_regened): Handle changes to tree storage. (mail_regen_list): The tree is now stored between updates, so we can update the tree structure incrementally. This blows out memory use some however. We need an etree that uses this as its model directly? (message_list_destroy): Free the thread tree. (message_list_set_folder): Clear the thread tree when changing folder. svn path=/trunk/; revision=17165
* Our parent class is camel_vee_folder, not camel_folder, fix setting ofNot Zed2002-06-114-180/+278
| | | | | | | | | | | | | | | | | | | | | | | 2002-06-11 Not Zed <NotZed@Ximian.com> * camel-vtrash-folder.c (camel_vtrash_folder_class_init): Our parent class is camel_vee_folder, not camel_folder, fix setting of parent folder (unused anyway, but removes a run-time warning). 2002-06-06 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (thread_summary): Do the work here. (camel_folder_thread_messages_remove): Implement. Remove some uid's from the tree. Disalbe from build, for now. (remove_uid_node_rec): Actually do the work. (camel_folder_thread_messages_add): Implement. Add some summary items to the tree. Disable from build though. (camel_folder_thread_messages_apply): Make a thread tree built using camel_folder_thread_new() map to a new set of uids, preserving some order. Meant primarily to manage deleted + added uids in a user-friendly manner. svn path=/trunk/; revision=17164
* Comment out the code to add/remove the store to the folder-tree when itJeffrey Stedfast2002-06-113-4/+11
| | | | | | | | | | 2002-06-10 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Comment out the code to add/remove the store to the folder-tree when it gets enabled/disabled. svn path=/trunk/; revision=17162
* call mail_config_init to be sure we have the db, save auto_signature asRadek Doulik2002-06-113-1/+11
| | | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_write_account_sig): call mail_config_init to be sure we have the db, save auto_signature as well svn path=/trunk/; revision=17161
* added "Set as default" menu itemRadek Doulik2002-06-114-14/+92
| | | | | | | | | | | | | | 2002-06-10 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): added "Set as default" menu item * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_from_omenu): new method (e_msg_composer_hdrs_set_from_account): use e_msg_composer_hdrs_get_from_omenu svn path=/trunk/; revision=17160
* Made expand_uri a bit more robust and readable.Christopher James Lahey2002-06-113-18/+33
| | | | | | | | | | | | | | 2002-06-10 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-book-util.c (e_book_expand_uri): Made expand_uri a bit more robust and readable. (e_book_get_default_book_uri): Made e_book_get_default_book_uri use e_book_expand_uri if using the bonobo_config value. * gui/component/e-address-popup.c (start_query): Handle the failure state here by acting as if there are no matches. svn path=/trunk/; revision=17159
* If we are doing Reply-to-All, do not include any of the user's emailJeffrey Stedfast2002-06-112-55/+82
| | | | | | | | | | | 2002-06-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we are doing Reply-to-All, do not include any of the user's email accounts in the To: field. If, after this, the To: field is empty - then promote the first recipient in the Cc: list to the To: field. svn path=/trunk/; revision=17158
* Updated Hungarian translation.Andras Timar2002-06-112-1636/+1585
| | | | | | | | 2002-06-09 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=17157
* some of this was shamefully inaccurate.Aaron Weber2002-06-114-83/+67
| | | | | | | | | | 2002-06-10 Aaron Weber <aaron@ximian.com> * C/usage-contact.sgml: some of this was shamefully inaccurate. * C/preface.sgml: add original location. svn path=/trunk/; revision=17156
* updatedRadek Doulik2002-06-101-83/+81
| | | | svn path=/trunk/; revision=17154
* Use CAMEL_EXCEPTION_SYSTEM rather than '1' for clarity.Jeffrey Stedfast2002-06-092-1/+6
| | | | | | | | | 2002-06-09 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-signed.c (camel_multipart_signed_verify): Use CAMEL_EXCEPTION_SYSTEM rather than '1' for clarity. svn path=/trunk/; revision=17151
* hook this to cancel button in signature script dialogRadek Doulik2002-06-082-0/+10
| | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_add_script_cancel): hook this to cancel button in signature script dialog svn path=/trunk/; revision=17150
* Updated Slovenian translationAndraz Tori2002-06-081-4243/+3292
| | | | svn path=/trunk/; revision=17149
* fix some typos, set label usize to 500, -2 (menu_help): added help link toRadek Doulik2002-06-082-2/+20
| | | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): fix some typos, set label usize to 500, -2 (menu_help): added help link to Help menu svn path=/trunk/; revision=17148
* script signaturesRadek Doulik2002-06-086-191/+310
| | | | svn path=/trunk/; revision=17144
* use new script signature interfaceRadek Doulik2002-06-082-6/+13
| | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): use new script signature interface svn path=/trunk/; revision=17143
* Up the timeout on the connect code to 2 minutes.Jeffrey Stedfast2002-06-072-2/+9
| | | | | | | | | 2002-06-07 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (stream_connect): Up the timeout on the connect code to 2 minutes. svn path=/trunk/; revision=17140
* Duh! The protocol is application/pgp-signature. TODO: need to have aNot Zed2002-06-071-1/+1
| | | | | | | | | | 2002-06-07 Not Zed <NotZed@Ximian.com> * camel-pgp-context.c (camel_pgp_context_init): Duh! The protocol is application/pgp-signature. TODO: need to have a signed and an encrypted protocol specified separately. svn path=/trunk/; revision=17139
* If this account is not a completely new account (ie, it is an editedJeffrey Stedfast2002-06-074-7/+92
| | | | | | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): If this account is not a completely new account (ie, it is an edited account), then remove any trace of it from the shell storages. If the new account belongs in the folder-tree, add it to the list of storages. * component-factory.c (mail_add_storage): New function to add a single storage. svn path=/trunk/; revision=17138
* Parse "From: Dan Winship <danw>" (with no domain) in the way the senderDan Winship2002-06-072-1/+7
| | | | | | | | * camel-mime-utils.c (header_decode_mailbox): Parse "From: Dan Winship <danw>" (with no domain) in the way the sender meant it, even though it's completely wrong. svn path=/trunk/; revision=17137
* Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hboxJeffrey Stedfast2002-06-072-1/+7
| | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hbox containing the GtkOptionMenu. svn path=/trunk/; revision=17136
* add a 'stop' menu item (fixes ximian #17242)jacob berkman2002-06-073-0/+8
| | | | | | | | | | 2002-06-06 jacob berkman <jacob@ximian.com> * evolution-addressbook.xml: * evolution-mail-global.xml: add a 'stop' menu item (fixes ximian #17242) svn path=/trunk/; revision=17135
* Remove the customize toolbar thingy since Michael said that this would fixJeffrey Stedfast2002-06-073-10/+21
| | | | | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (setup_ui): Remove the customize toolbar thingy since Michael said that this would fix bug #17952. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): Clean up the logic in this. For one, we don't need to do strstr using the account address (wtf??). svn path=/trunk/; revision=17134
* disable edit and delete when there are no signatures definedRadek Doulik2002-06-072-0/+9
| | | | | | | | | 2002-06-06 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): disable edit and delete when there are no signatures defined svn path=/trunk/; revision=17133
* enhanced signature editorRadek Doulik2002-06-065-18/+88
| | | | svn path=/trunk/; revision=17132
* Remove the CONF_DEFAULT_PATH entry, as this is handled by the url configNot Zed2002-06-0610-38/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-04 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-provider.c: Remove the CONF_DEFAULT_PATH entry, as this is handled by the url config stuff. This made it basically impossible to configure any local folder from the gui. * providers/local/camel-local-folder.c (local_refresh_info): Force a refresh. Should work for all local folders to force them to refresh. * providers/local/camel-maildir-folder.c (maildir_refresh_info): Removed, moved into camel-local-folder. * providers/local/camel-mh-summary.c (mh_summary_next_uid_string): Once we assign or get a uid, tell the summary of this, so the next uid we get will be higher than any previously. * camel-object.c (camel_object_ref, camel_object_unref): I got sick of casting, these now take void * like they should, and perform their own run-time type checking. * providers/local/camel-mh-store.c (recursive_scan): Changed to use stat, not lstat (*shrug* maybe someone wants to softlink their maildir tree?). (inode_hash): (inode_equal): (inode_free): Copied from camel-maildir store (should put into camel-local-store or utils?). (recursive_scan): Changed to check for re-visiting inodes. Also, it builds the tree itself, rather than using folder_info_build. (add_folder): Changed to folder_info_new. (recursive_scan): Properly honour the recursive flag. Also, lookup unread count from folder. (folder_info_new): Init unread message count to -1, since we dont know yet. (folder_info_new): Take the name as an argument, and perform the merging here. (folders_update): Util func to add/remove folders from .folders file. I'm assuming its sorted. (get_folder): Add the folder to .folders if we created a new one, and if it exists. (delete_folder): Remove from .folders, etc. (folders_scan): If we have a .folders file, read and use that instead. (recursive_scan): Handle scanning from a particular directory properly. (rename_folder): Implement so we can track any changes to the .folders file if its turned on. ** Applied patch below from Greg Hudson. 2002-05-10 Greg Hudson <ghudson@mit.edu> * camel-mh-store.c (get_inbox, get_folder_info, recursive_scan, add_folder): Implement support for MH stores. * camel-mh-summary.c (mh_summary_check, sort_uid_cmp): Sort MH messages by message number (uid), like we sort maildir messages by date. * camel-local-provider.c (mh_provider): Turn on source and store flags. svn path=/trunk/; revision=17130
* Keep track of the regeneration request in a list. (regen_list_free):Not Zed2002-06-063-18/+56
| | | | | | | | | | | | | | | 2002-06-06 Not Zed <NotZed@Ximian.com> * message-list.c (mail_regen_list): Keep track of the regeneration request in a list. (regen_list_free): Remove the request from the regenreation list. (message_list_set_folder): If there are any outstanding regneration requests, cancel them. (regen_list_regened): If we were cancelled, do nothing. (regen_list_regen): If we were cancelled, shortcut processing. This is all for #23571. svn path=/trunk/; revision=17129
* Avoid reentrancy during e_tree_selection_model_foreach. Fixes Ximian bugChristopher James Lahey2002-06-062-9/+45
| | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-summary-shown.c (maybe_move_to_shown, add_clicked, remove_from_shown, remove_clicked): Avoid reentrancy during e_tree_selection_model_foreach. Fixes Ximian bug #24987. svn path=/trunk/; revision=17128
* Don't forget to free the date string buffer.Jeffrey Stedfast2002-06-062-1/+7
| | | | | | | | | 2002-06-05 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_rfc822): Don't forget to free the date string buffer. svn path=/trunk/; revision=17127
* put option menu to hbox to make space for signatures menuRadek Doulik2002-06-065-100/+114
| | | | | | | | | | | | | 2002-06-05 Radek Doulik <rodo@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): put option menu to hbox to make space for signatures menu (e_msg_composer_hdrs_get_from_hbox): new helper function * e-msg-composer.c: moved signatures from menu to option menu next to From: svn path=/trunk/; revision=17126
* Call e_minicard_selected in the GDK_BUTTON_RELEASE case here.Christopher James Lahey2002-06-062-0/+14
| | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard.c (e_minicard_event): Call e_minicard_selected in the GDK_BUTTON_RELEASE case here. (e_minicard_drag_begin): Set E_REFLOW (parent)->maybe_in_drag = FALSE if it's an EReflow. svn path=/trunk/; revision=17124
* Changed the required version of gal to 0.19.99.17.Christopher James Lahey2002-06-062-1/+5
| | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the required version of gal to 0.19.99.17. svn path=/trunk/; revision=17123
* Bumped the version number to 0.19.99.17.Christopher James Lahey2002-06-062-1/+25
| | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.19.99.17. * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (e_reflow_selection_event_real): Made this function handle GDK_BUTTON_RELEASE. Added a maybe_in_drag variable that the API user can set to 0 to indicate that a drag has occurred. svn path=/trunk/; revision=17122
* use gtk string instead of utf8 oneRadek Doulik2002-06-062-2/+8
| | | | | | | | | 2002-06-05 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_fill_clist): use gtk string instead of utf8 one svn path=/trunk/; revision=17121
* updated version from JakubRadek Doulik2002-06-061-0/+0
| | | | svn path=/trunk/; revision=17120
* Added debugging printfs. (e_text_request_paste): Fixed the order ofChristopher James Lahey2002-06-061-2/+14
| | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Added debugging printfs. (e_text_request_paste): Fixed the order of setting last_type_request before calling gtk_selection_convert due to a reentrancy bug. svn path=/trunk/; revision=17119
* Added debugging printfs.Christopher James Lahey2002-06-053-1/+13
| | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Added debugging printfs. * e-table-header-item.c: Added debugging printfs. (ethi_drag_motion): Don't subtract widget->allocation.* here. It seems that this value is affected by whether the table is using a click to add field. Not sure why. * e-table-item.c (eti_realize): Check for NULL selection here. svn path=/trunk/; revision=17118
* signature editor reworked, WIPRadek Doulik2002-06-059-673/+472
| | | | svn path=/trunk/; revision=17117
* Added debugging printfs.Christopher James Lahey2002-06-053-2/+38
| | | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c (d): Added debugging printfs. * e-tree-sorted.c (ets_proxy_node_changed, ets_proxy_node_data_changed, ets_proxy_node_col_changed, ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change signals where appropriate. * e-tree-table-adapter.c (etta_proxy_node_changed): Added an e_table_model_no_change signal where appropriate. svn path=/trunk/; revision=17116
* Made it so that on realize we grab focus if we have the cursor, sinceChristopher James Lahey2002-06-051-0/+11
| | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_realize): Made it so that on realize we grab focus if we have the cursor, since otherwise, we'll change our selection on focus in. svn path=/trunk/; revision=17115
* Added a tip mentioning that gpg can automagically contact the server forKevin Breit2002-06-052-0/+14
| | | | | | | | 2002-06-04 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Added a tip mentioning that gpg can automagically contact the server for keys without having to use a console. svn path=/trunk/; revision=17114
* The following changes take a great leap toward fixing bug #1042.Jeffrey Stedfast2002-06-054-34/+142
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-04 Jeffrey Stedfast <fejj@ximian.com> The following changes take a great leap toward fixing bug #1042. * mail-display.c (mail_display_push_content_location): New function to push a Content-Location value onto the MailDisplay. (mail_display_get_content_location): Gets the current Content-Location CamelURL value. (mail_display_pop_content_location): Pop the Content-Location off the stack. * mail-format.c (get_location): Do URL merging if the Content-Location isn't a full URL. If the Content-Location doesn't exist, pretend the URL is actually the Content-Location URL of our parent multipart (assuming it exists). If that doesn't exist, then yes - return NULL. (handle_multipart_related): Push the Content-Location header value of the multipart/related so that we can do URL merging in get_location() as we process each of the subparts. When we're done, pop it back off the stack. svn path=/trunk/; revision=17113
* gal_view_menus_set_show_define_views (..., FALSE);Christopher James Lahey2002-06-052-0/+6
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): gal_view_menus_set_show_define_views (..., FALSE); svn path=/trunk/; revision=17112
* Added this function to let you disable the define views dialog.Christopher James Lahey2002-06-053-41/+73
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_set_show_define_views): Added this function to let you disable the define views dialog. svn path=/trunk/; revision=17111
* Added priorities.Christopher James Lahey2002-06-052-2/+6
| | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * message-list.etspec: Added priorities. svn path=/trunk/; revision=17110
* Added this function.Christopher James Lahey2002-06-057-125/+269
| | | | | | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_prioritized_column_selected): Added this function. * e-table-utils.c, e-table-utils.h (e_table_util_calculate_current_search_col): Added this function. * e-table.c, e-table.h, e-tree.c: Added a "always_search" argument. If this is off, then searches only occur if there's sort. If it's on, sort takes precendence in doing searches, followed by the highest priority column shown. svn path=/trunk/; revision=17109
* Don't show this dialog more than once per collection.Christopher James Lahey2002-06-052-9/+37
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (define_views): Don't show this dialog more than once per collection. svn path=/trunk/; revision=17106
* Commented out this unused function.Christopher James Lahey2002-06-043-3/+16
| | | | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_book_ready): Commented out this unused function. * gui/component/select-names/e-select-names-manager.c (open_book_cb): Ref if we're keeping the book. Don't unref if we're not keeping the book. (clean_cb): Commented out this unused function. svn path=/trunk/; revision=17105
* Set the title of our GalViewCollection.Christopher James Lahey2002-06-042-0/+7
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * folder-browser-ui.c (folder_browser_ui_setup_view_menus): Set the title of our GalViewCollection. svn path=/trunk/; revision=17104
* Set the title of our GalViewCollection.Christopher James Lahey2002-06-043-0/+10
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Set the title of our GalViewCollection. svn path=/trunk/; revision=17103
* Set the title of our GalVIewCollection.Christopher James Lahey2002-06-042-0/+7
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (init_collection): Set the title of our GalVIewCollection. svn path=/trunk/; revision=17102
* Changed the required version of gal to 0.19.99.16.Christopher James Lahey2002-06-042-1/+5
| | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the required version of gal to 0.19.99.16. svn path=/trunk/; revision=17101
* Added this function to set the user visible name of this collection.Christopher James Lahey2002-06-044-4/+45
| | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c, gal-view-collection.h (gal_view_collection_set_title): Added this function to set the user visible name of this collection. * gal-define-views-dialog.c (gal_define_views_dialog_init): Set the Define Views for %s label. Fixes Ximian bug #2100 and #4080. svn path=/trunk/; revision=17100
* Duh, we want to set the news_edit/delete buttons for the news page, notNot Zed2002-06-043-3/+11
| | | | | | | | | | | | | 2002-06-04 Not Zed <NotZed@Ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Duh, we want to set the news_edit/delete buttons for the news page, not overwrite the mail ones! That would've saved a bit of angst ... * mail-config-druid.c (extra_prepare): dont call build_extra_conf, otherwise it blows away any settings with defaults. svn path=/trunk/; revision=17098
* Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set.Christopher James Lahey2002-06-042-2/+3
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set. svn path=/trunk/; revision=17097
* Write the signature after the account has been added. (sig_new_html):Jeffrey Stedfast2002-06-042-16/+16
| | | | | | | | | | | 2002-06-04 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Write the signature after the account has been added. (sig_new_html): Don't write the signatures at this time. (sig_new_text): Same. svn path=/trunk/; revision=17096
* Correctly get the GtkWindow ancestor of the prefs widget.Jeffrey Stedfast2002-06-042-1/+9
| | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_delete_clicked): Correctly get the GtkWindow ancestor of the prefs widget. svn path=/trunk/; revision=17095
* Changed to check everything from the composer before the message isNot Zed2002-06-043-66/+72
| | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (composer_get_message): Changed to check everything from the composer before the message is requested. Otherwise we could end up signing/encrypting it twice, etc. * mail-format.c (handle_multipart_signed): removed some dead wood. svn path=/trunk/; revision=17094