aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* ops, revert array sizeRadek Doulik2002-05-252-1/+6
| | | | | | | | | 2002-05-24 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): ops, revert array size svn path=/trunk/; revision=17011
* If we can't find the mailing list address in the recipients list, justJeffrey Stedfast2002-05-242-2/+24
| | | | | | | | | | 2002-05-24 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we can't find the mailing list address in the recipients list, just Reply-to-All instead. svn path=/trunk/; revision=16998
* Set the ui to be the evolution-mail-global.xml file thingy. Still brokenJeffrey Stedfast2002-05-243-5/+18
| | | | | | | | | | | | 2002-05-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Set the ui to be the evolution-mail-global.xml file thingy. Still broken but oh well. I give up. bonobo-ui sucks. * message-browser.c (set_bonobo_ui): Fixed to not crash. svn path=/trunk/; revision=16994
* (mail_composer_prefs_construct): add auto smiley check buttonRadek Doulik2002-05-243-1/+8
| | | | svn path=/trunk/; revision=16990
* If the folder-browser has a parent, reparent it.Jeffrey Stedfast2002-05-246-38/+316
| | | | | | | | | | | | | 2002-05-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): If the folder-browser has a parent, reparent it. * message-browser.[c,h]: Revert back to the old broken implementation since that's what users want. They're not happy unless it's broken. svn path=/trunk/; revision=16989
* added smileys checkbuttonRadek Doulik2002-05-241-0/+14
| | | | svn path=/trunk/; revision=16988
* be more careful about language_str{_orig}Radek Doulik2002-05-242-4/+16
| | | | | | | | 2002-05-23 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: be more careful about language_str{_orig} svn path=/trunk/; revision=16987
* remove a #include "camel-remote-store.h"Jeffrey Stedfast2002-05-231-1/+0
| | | | svn path=/trunk/; revision=16981
* Only clear the text/html signature menus if they are non-NULL.Jeffrey Stedfast2002-05-221-0/+4
| | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_fill_options): Only clear the text/html signature menus if they are non-NULL. svn path=/trunk/; revision=16973
* Only clear the text/html signature menus if they are non-NULL.Jeffrey Stedfast2002-05-222-2/+9
| | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_fill_options): Only clear the text/html signature menus if they are non-NULL. svn path=/trunk/; revision=16972
* Use a new macro, STR_EQUAL, to tell if the 2 values are equal or notJeffrey Stedfast2002-05-222-1/+9
| | | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_save_values): Use a new macro, STR_EQUAL, to tell if the 2 values are equal or not rather than using strcmp since one or both strings could be NULL. svn path=/trunk/; revision=16971
* Forgot the changelog entry.Not Zed2002-05-211-0/+6
| | | | | | | | | | 2002-05-21 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): Split the search word up for a body search and add it to the tokeniser to highlight. svn path=/trunk/; revision=16962
* New functions to add additional search strings one at a time. Maybe itNot Zed2002-05-214-661/+896
| | | | | | | | | | | | | | | | 2002-05-18 Not Zed <NotZed@Ximian.com> * e-searching-tokenizer.c (e_searching_tokenizer_add_primary_search_string): (e_searching_tokenizer_add_secondary_search_string): New functions to add additional search strings one at a time. Maybe it should just split the word itself? (all): Basically, entirely rewritten. Now implements the Aho-Corasick multiple pattern search algorithm and handles multiple search strings and only ever has to decode any utf8 character once, etc etc. svn path=/trunk/; revision=16961
* Only get the contents of a mime part if it is marked as "inline". FixesJeffrey Stedfast2002-05-213-2/+9
| | | | | | | | | 2002-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_body): Only get the contents of a mime part if it is marked as "inline". Fixes bug #7527. svn path=/trunk/; revision=16957
* Fixed the "Overdue:" string to not contain any HTML tags.Jeffrey Stedfast2002-05-213-9/+16
| | | | | | | | | 2002-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Fixed the "Overdue:" string to not contain any HTML tags. svn path=/trunk/; revision=16950
* Set the can_sync_offline property on the EFolder based on theEttore Perazzoli2002-05-214-410/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947
* Always unref the composer [even when we are destroying it], otherwise weEttore Perazzoli2002-05-202-1/+7
| | | | | | | | * mail-callbacks.c (composer_sent_cb): Always unref the composer [even when we are destroying it], otherwise we leak it and we get the nasty bug where you can't quit. svn path=/trunk/; revision=16941
* Check for a label tag when doing a lookup on the COLOR column.Jeffrey Stedfast2002-05-176-45/+137
| | | | | | | | | | | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Check for a label tag when doing a lookup on the COLOR column. * mail-config.c (mail_config_get_label_color_string): Return the colour in string format. * folder-browser.c (set_msg_label): Replaces colourise_msg and sets the "label" tag rather than the "colour" tag. * mail-preferences.c (mail_preferences_apply): Call mail_config_write() so that the settings get synced to disk. svn path=/trunk/; revision=16938
* added folder-info.h to the buildJeffrey Stedfast2002-05-171-0/+1
| | | | svn path=/trunk/; revision=16935
* New. (create_component): Pass it as the @request_quit_fn toEttore Perazzoli2002-05-163-9/+16
| | | | | | | | | | | | | | | | | | | | | * component-factory.c (request_quit): New. (create_component): Pass it as the @request_quit_fn to evolution_shell_component_new(). * e-msg-composer.c: New local `all_composers'; keeps a list of all the composer windows created. Changed type of `parent_class' to BonoboWindowClass *. (do_exit): Cleaned up a bit. Raise the composer window before showing the message box dialog. (exit_dialog_cb): Removed. (e_msg_composer_request_close_all): New. (create_composer): Add the composer to the all_composers list and weakref it. (msg_composer_destroy_notify): GtkDestroyNotify function for the composer's weakref; remove the composer from the all_composers list. svn path=/trunk/; revision=16930
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-162-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* Implement prep_offline for an individual folder. (set_offline_do): OnlyNot Zed2002-05-154-55/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-15 Not Zed <NotZed@Ximian.com> * mail-ops.c (prep_offline_do): (prep_offline_done): (prep_offline_free): (mail_prep_offline): Implement prep_offline for an individual folder. (set_offline_do): Only call disco_store_set_status or disconnect for the store, dont do any offline prep stuff. * mail-offline-handler.c: Applied patch from Ettore to hook in extra offline interfaces. (impl_destroy): Dont free listener here anymore, its removed, but free sync table. (mail_offline_handler_init): Same for setup. (impl_syncFolder): Implement. (sync_done): handles finalising synchronisation of 1 folder. (sync_status): progress reporting, camel side. (sync_timeout): progress reporting, gmainloop side. (impl_cancelSyncFolder): Implement. (impl_goOffline, storage_go_offline, went_offline): Dont copy the listener to our struct - its an argument, not a member, so give each thread its own copy. svn path=/trunk/; revision=16799
* Instead of g_assert()ing that the msg_info is not NULL, if it is NULL justJeffrey Stedfast2002-05-152-1/+9
| | | | | | | | | | | 2002-05-15 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Instead of g_assert()ing that the msg_info is not NULL, if it is NULL just return NULL. This fixes a crash when ETree requests the value at a root node (I don't understand why it needs to do that??). svn path=/trunk/; revision=16796
* added a missing header fileJeffrey Stedfast2002-05-152-0/+46
| | | | svn path=/trunk/; revision=16794
* Added #include "folder-info.h".Christopher James Lahey2002-05-1511-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * component-factory.c: Added #include "folder-info.h". * folder-browser-window.c (folder_browser_window_new), mail-account-editor.c (apply_changes), mail-account-gui.c (mail_account_gui_save), message-tag-editor.c: Removed some unused variables. * folder-info.c: Added #include "folder-info.h". Removed static declaration of evolution_folder_info_get_type. * folder-info.c (destroy), mail-callbacks.c (confirm_goto_next_folder, find_current_folder, find_next_folder_r, find_next_folder, do_evil_kludgy_goto_next_folder_hack), mail-composer-prefs.c (sig_name_changed): Commented out these unused functions. * mail-config.c (add_new_storage): Removed this unused function. * mail-local.c (mlf_init): Fix the declaration of this function to match the required signature. svn path=/trunk/; revision=16788
* Added search="string" where appropriate.Christopher James Lahey2002-05-142-3/+7
| | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * message-list.etspec: Added search="string" where appropriate. svn path=/trunk/; revision=16773
* Update for camel_folder_append_message / camel_folder_transfer_messages_toDan Winship2002-05-149-35/+58
| | | | | | | | | | | | | | | | * (various places): Update for camel_folder_append_message / camel_folder_transfer_messages_to API change. * mail-ops.c (mail_append_mail): Pass the appended_uid to the callback. * mail-callbacks.c (composer_save_draft_cb, save_draft_done, do_edit_messages): Take advantage of the append_message change to keep track of the UID of the saved draft so that we can delete the old copy of the draft each time we save a new one. Remove the FIXME suggesting we should do that, since we're doing it now. :) svn path=/trunk/; revision=16766
* Update for the new message-browser api.Jeffrey Stedfast2002-05-114-278/+45
| | | | | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Update for the new message-browser api. * message-browser.c (message_browser_new): A brand new implementation that just shows the message, none of that next/prev crap that always caused problems anyway. svn path=/trunk/; revision=16759
* Don't add any shortcuts here. (mail_config_remove_account): And don'tJeffrey Stedfast2002-05-114-194/+26
| | | | | | | | | | | | | | 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_add_account): Don't add any shortcuts here. (mail_config_remove_account): And don't remove them here. This code has never worked properly. * mail-ops.c (save_part_save): Use the exception enum names rather than '1' since it makes the code clearer. svn path=/trunk/; revision=16756
* Simplify. Use transfer_messages_to instead of picking between copy andDan Winship2002-05-113-35/+12
| | | | | | | | | | | | * mail-ops.c (transfer_messages_transfer): Simplify. Use transfer_messages_to instead of picking between copy and move. Remove vtrash special-casing since it's all in camel-vtrash-folder.c now. Remove duplicate source == dest check. * mail-local.c (mail_local_folder_reconfigure): Use transfer_messages_to instead of copy_messages_to. svn path=/trunk/; revision=16745
* Make sure that even if the new source url is NULL, that we preserve theJeffrey Stedfast2002-05-102-3/+10
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Make sure that even if the new source url is NULL, that we preserve the enabledness of the source. svn path=/trunk/; revision=16737
* Pass %FALSE as @has_shared_folders to evolution_storage_new().Ettore Perazzoli2002-05-102-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-local-storage.c (construct): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * evolution-storage.c: New member has_shared_folders in EvolutionStoragePrivate. (init): Initialize to FALSE. (evolution_storage_new): New arg @has_shared_folders. (evolution_storage_construct): Likewise. (impl_Storage__get_folderList): Renamed from impl_Storage__get_folder_list. (impl_Storage__get_hasSharedFolders): New, implementation for ::hasSharedFolders. (evolution_storage_get_epv): Install the CORBA method implementation. * Evolution-Storage.idl: Make Storage::name a readonly attribute. New attribute Storage:: * component-factory.c (add_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). svn path=/trunk/; revision=16733
* dist Spell.idlJP Rosevear2002-05-092-0/+5
| | | | | | | | 2002-05-09 JP Rosevear <jpr@ximian.com> * Makefile.am: dist Spell.idl svn path=/trunk/; revision=16731
* implemented (c'n'p-ed and updated) spell checking settingsRadek Doulik2002-05-098-38/+378
| | | | | | | | | 2002-05-08 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: implemented (c'n'p-ed and updated) spell checking settings svn path=/trunk/; revision=16728
* Change so there's no race conditions between the folder info and the session ↵Iain Holmes2002-05-083-44/+119
| | | | | | stuff svn path=/trunk/; revision=16723
* Changed for rule_context_rename_uri api changes. (mail_filter_delete_uri):Not Zed2002-05-082-2/+39
| | | | | | | | | | | | 2002-05-08 Not Zed <NotZed@Ximian.com> * mail-autofilter.c (mail_filter_rename_uri): Changed for rule_context_rename_uri api changes. (mail_filter_delete_uri): Same. Also, popup a dialogue similar to vfolder deleted dialogue to notify the user something has changed. Partial fix for #18826. svn path=/trunk/; revision=16720
* propose spell checking settings UIRadek Doulik2002-05-081-101/+98
| | | | svn path=/trunk/; revision=16715
* fixed the glade file so that the management page would show up in the ↵Jeffrey Stedfast2002-05-082-4/+4
| | | | | | account druid. svn path=/trunk/; revision=16710
* Flush the filter log to make Tuomas happy :-)Jeffrey Stedfast2002-05-075-8/+29
| | | | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_free): Flush the filter log to make Tuomas happy :-) * mail-session.c (mail_session_flush_filter_log): New convenience function to flush the session's filter log file. svn path=/trunk/; revision=16696
* Set the Seen flag as well since it's safe to assume that if the user hasJeffrey Stedfast2002-05-072-2/+6
| | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_reply): Set the Seen flag as well since it's safe to assume that if the user has replied to an email message that he has read it. Not always true, but usually ;-) svn path=/trunk/; revision=16693
* If we are in a Sent/Drafts/Outbox folder, don't show the "Add Sender toJeffrey Stedfast2002-05-072-4/+23
| | | | | | | | | | 2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): If we are in a Sent/Drafts/Outbox folder, don't show the "Add Sender to Addressbook" menu item. svn path=/trunk/; revision=16692
* Check all threads are idle as well, using new e_thread_busy call. ShouldNot Zed2002-05-062-2/+8
| | | | | | | | | | 2002-05-06 Not Zed <NotZed@Ximian.com> * component-factory.c (idle_quit): Check all threads are idle as well, using new e_thread_busy call. Should fix #22553? Also sleep a little bit, to let the other threads run. svn path=/trunk/; revision=16684
* Update the code to actually work. (sig_new_html): Same.Jeffrey Stedfast2002-05-023-14/+21
| | | | | | | | | | | | | 2002-05-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_new_text): Update the code to actually work. (sig_new_html): Same. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Allow 'prefs' to be NULL. svn path=/trunk/; revision=16659
* Fix the filter_menu static array to use the E_POPUP_MENU_CC macros sinceJeffrey Stedfast2002-05-022-1/+3
| | | | | | | | | | | | 2002-05-01 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Fix the filter_menu static array to use the E_POPUP_MENU_CC macros since we plan on using custom closures for this. (on_right_click): Fixed so that you can "Edit as New" for any Sent folder and not just the local Sent folder. svn path=/trunk/; revision=16657
* Fix the filter_menu static array to use the E_POPUP_MENU_CC macros sinceJeffrey Stedfast2002-05-022-9/+16
| | | | | | | | | | 2002-05-01 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Fix the filter_menu static array to use the E_POPUP_MENU_CC macros since we plan on using custom closures for this. svn path=/trunk/; revision=16656
* Also check folder!=NULL. Fixes race where folder isn't setup yet, andNot Zed2002-05-013-2/+8
| | | | | | | | | | | 2002-05-01 Not Zed <NotZed@Ximian.com> * folder-browser.h (FOLDER_BROWSER_IS_DESTROYED): Also check folder!=NULL. Fixes race where folder isn't setup yet, and neither is bonobo menu status (because its delayed), and we get a menu event before we're setup yet. For bug #21939. svn path=/trunk/; revision=16653
* If the folder's permanent_flags don't include CAMEL_MESSAGE_DELETED, don'tDan Winship2002-05-012-0/+8
| | | | | | | | * mail-callbacks.c (delete_msg): If the folder's permanent_flags don't include CAMEL_MESSAGE_DELETED, don't do anything. (In particular, don't move the cursor.) svn path=/trunk/; revision=16645
* Convert UTF-8 to gtkstrings since we are using a clist and not an E-widgetJeffrey Stedfast2002-04-303-12/+43
| | | | | | | | | | | | | 2002-04-29 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (message_tag_followup_append_message): Convert UTF-8 to gtkstrings since we are using a clist and not an E-widget that takes UTF-8. * mail-display.c (mail_display_add_url): If the data-urls is NULL, add a data-urls hash to the datalist. This finishes up bug #90. svn path=/trunk/; revision=16640
* Strip leading/trailing whitespace from the username because usersJeffrey Stedfast2002-04-302-12/+29
| | | | | | | | | | | | | | 2002-04-29 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (save_service): Strip leading/trailing whitespace from the username because users sometimes accidently add extra spaces here and there. Fixes bug #24009 (along with a number of other "bugs"). (mail_account_gui_auto_detect_extra_conf): Use a CamelURL instead of a GHashTable *settings. Also parse out the port # from the hostname. svn path=/trunk/; revision=16633
* Strip leading/trailing whitespace from the username because usersJeffrey Stedfast2002-04-302-1/+8
| | | | | | | | | | | 2002-04-29 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (save_service): Strip leading/trailing whitespace from the username because users sometimes accidently add extra spaces here and there. Fixes bug #24009 (along with a number of other "bugs"). svn path=/trunk/; revision=16632
* clean up propmanager initialization code.Larry Ewing2002-04-293-32/+26
| | | | | | | | | | | | 2002-04-29 Larry Ewing <lewing@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): clean up propmanager initialization code. * mail-preferences.c (mail_preferences_construct): small clean ups to propmanager code. svn path=/trunk/; revision=16628
* handle requests for the font manager control.Larry Ewing2002-04-2910-430/+688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-29 Larry Ewing <lewing@ximian.com> * mail-config-factory.c (config_control_factory_cb): handle requests for the font manager control. * mail-config.glade: add fonts tabs and reorder composer options to match the new dialogs from anna. * GNOME_Evolution_Mail.oaf.in: add font manager control definition. * mail-composer-prefs.c (mail_composer_prefs_construct): hook to the gtkhtml propmanager. (mail_composer_prefs_apply): apply propmanager changes. (mail_composer_prefs_finalise): unref the propmanager. * mail-composer-prefs.h: add propmanager member. * mail-font-prefs.c: initialize gui properly. * mail-preferences.c (mail_preferences_construct): hook to gtkhtml's propmanager. (mail_preferences_apply): apply propmanager changes. (mail_preferences_finalise): unref the propmanager. * mail-preferences.h: add propmanager member. * Makefile.am (evolution_mail_SOURCES): add mail-font-prefs.[ch] to the build. svn path=/trunk/; revision=16627
* use the html reply logic even for plain parts so that we can test out theLarry Ewing2002-04-292-2/+8
| | | | | | | | | 2002-04-29 Larry Ewing <lewing@ximian.com> * mail-tools.c (mail_tool_quote_message): use the html reply logic even for plain parts so that we can test out the new gtkhtml cite logic. svn path=/trunk/; revision=16626
* add const to silence warning.Larry Ewing2002-04-293-1/+17
| | | | | | | | | | | | 2002-04-29 Larry Ewing <lewing@ximian.com> * importers/evolution-mbox-importer.c (process_item_fn): add const to silence warning. * mail-display.c: add gtkhtml.h include so to pick up the object_relative prototype. svn path=/trunk/; revision=16625
* Don't link with libibex anymore, it's been deprecated.Jeffrey Stedfast2002-04-272-1/+3
| | | | | | | | | 2002-04-26 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Don't link with libibex anymore, it's been deprecated. svn path=/trunk/; revision=16618
* Do away with the goto-next-folder stuff, it's very annoying.Jeffrey Stedfast2002-04-272-0/+5
| | | | | | | | | 2002-04-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (next_unread_msg): Do away with the goto-next-folder stuff, it's very annoying. svn path=/trunk/; revision=16607
* After building the extra config options into a Gtk form, auto-detect anyJeffrey Stedfast2002-04-274-6/+123
| | | | | | | | | | | | | | 2002-04-26 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (extra_prepare): After building the extra config options into a Gtk form, auto-detect any values that we can and populate them by calling mail_account_gui_auto_detect_extra_conf. * mail-account-gui.c (mail_account_gui_auto_detect_extra_conf): New function to auto-detect the extra config options for a source. svn path=/trunk/; revision=16598
* Add the font config dialog.Larry Ewing2002-04-262-0/+193
| | | | | | | | | | 2002-04-26 Larry Ewing <lewing@ximian.com> * mail-font-prefs.c: Add the font config dialog. * mail-font-prefs.h: add font config dialog headers. svn path=/trunk/; revision=16594
* Allow providers to override text entry boxes too. (source_type_changed):Jeffrey Stedfast2002-04-252-31/+57
| | | | | | | | | | | 2002-04-24 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_build_extra_conf): Allow providers to override text entry boxes too. (source_type_changed): Remove the logic to decide upon default paths, these paths can now be set by the provider. svn path=/trunk/; revision=16581
* Update to use E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback getsJeffrey Stedfast2002-04-252-6/+11
| | | | | | | | | | | 2002-04-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (label_menu): Update to use E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback gets called without per-item closure rather than being called with NULL and causing a segfault. svn path=/trunk/; revision=16578
* Set the default Username label and handle the newJeffrey Stedfast2002-04-252-6/+28
| | | | | | | | | | | 2002-04-24 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_build_extra_conf): Set the default Username label and handle the new CAMEL_PROVIDER_CONF_LABEL enum allowing the provider to setup a label. svn path=/trunk/; revision=16576
* Added back the checkmark icon for enabled accounts.Jeffrey Stedfast2002-04-243-7/+34
| | | | | | | | | | | 2002-04-23 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Added back the checkmark icon for enabled accounts. (account_able_clicked): Don't reload the accounts list, that was just lame. svn path=/trunk/; revision=16571
* Plug-in Anna's html for the flag-for-followup stuff. Finishes up bug #90.Jeffrey Stedfast2002-04-232-15/+34
| | | | | | | | | 2002-04-22 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Plug-in Anna's html for the flag-for-followup stuff. Finishes up bug #90. svn path=/trunk/; revision=16563
* Free the loading/pending/new/loaded_uid string buffers.Jeffrey Stedfast2002-04-202-2/+10
| | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_finalise): Free the loading/pending/new/loaded_uid string buffers. svn path=/trunk/; revision=16546
* Free some temporary path buffers.Jeffrey Stedfast2002-04-202-8/+13
| | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read_signature): Free some temporary path buffers. svn path=/trunk/; revision=16545
* Ref the html object here, this is an async handler so it's possible forJeffrey Stedfast2002-04-202-1/+22
| | | | | | | | | | | | | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (stream_write_or_redisplay_when_loaded): Ref the html object here, this is an async handler so it's possible for our caller (or someone else) to unref the html object before we finish. (load_content_free): Unref the async handler's ref of the html object here. (mail_display_new): Ref the html widget here so that we can be sure that so long as the mail-display is "alive", so is the html object. See bug #22328 for details. Basically, the message-browser is being closed before the message gets loaded and so the html object was being destroyed but the mail-display was still alive. (mail_display_destroy): Unref the html object when the mail-display is destroyed. svn path=/trunk/; revision=16544
* Added yet more accelerators for the new config dialog--this time for theAnna Marie Dirks2002-04-202-13/+22
| | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * mail-config.glade: Added yet more accelerators for the new config dialog--this time for the composer pages svn path=/trunk/; revision=16543
* would help if I didn't name 2 widgets the same for the colour tab in the ↵Jeffrey Stedfast2002-04-201-2/+2
| | | | | | preferences dialog ;-) svn path=/trunk/; revision=16541
* Added a bunch of accelerators for the new config dialogAnna Marie Dirks2002-04-202-109/+125
| | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * mail-config.glade: Added a bunch of accelerators for the new config dialog svn path=/trunk/; revision=16538
* Removed all Delivered-To headers before redirecting. Fixes bug #23635.Jeffrey Stedfast2002-04-192-0/+11
| | | | | | | | | 2002-04-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (redirect_get_composer): Removed all Delivered-To headers before redirecting. Fixes bug #23635. svn path=/trunk/; revision=16525
* use default paper name in case of wrong translationRadek Doulik2002-04-192-1/+10
| | | | | | | | | 2002-04-18 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): use default paper name in case of wrong translation svn path=/trunk/; revision=16516
* Turn off the code which downloads the part if we can't identify it. SeeNot Zed2002-04-182-0/+10
| | | | | | | | | | 2002-04-15 Not Zed <NotZed@Ximian.com> * mail-identify.c (mail_identify_mime_part): Turn off the code which downloads the part if we can't identify it. See discussion in #11778. svn path=/trunk/; revision=16504
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-183-54/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* Handle broken multipart/signed parts such as where the signature part isJeffrey Stedfast2002-04-182-9/+0
| | | | | | | | | | | | | 2002-04-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Handle broken multipart/signed parts such as where the signature part is not the last part (as it should be). Fixes bug #23583. * folder-browser.c (message_list_drag_data_get): Free the temp GByteArrays. svn path=/trunk/; revision=16495
* Handle broken multipart/signed parts such as where the signature part isJeffrey Stedfast2002-04-183-16/+57
| | | | | | | | | | | | | | | | | 2002-04-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Handle broken multipart/signed parts such as where the signature part is not the last part (as it should be). Fixes bug #23583. * folder-browser.c (message_list_drag_data_get): Free the temp GByteArrays. (setup_popup_icons): Connect to the destroy signal on the pixmap objects using gtk_object_unref as the callback - this way when the popup menu gets destroyed, the pixmaps clean themselves up. (on_right_click): Same idea for the label_menu. svn path=/trunk/; revision=16494
* Just use g_basename. (mlf_finalize): Free the real_path.Jeffrey Stedfast2002-04-183-6/+14
| | | | | | | | | | | | 2002-04-17 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_folder_construct): Just use g_basename. (mlf_finalize): Free the real_path. * folder-browser.c (on_right_click): Unref the GdkGC so we don't leak it. svn path=/trunk/; revision=16493
* Free the format string.Jeffrey Stedfast2002-04-174-2/+15
| | | | | | | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_destroy_xevolution): Free the format string. * mail-config.c (config_write_signature): Don't leak the path strings here. * mail-signature-editor.c (menu_file_save_cb): Free the dirname string. svn path=/trunk/; revision=16486
* Ref the prefs widget here since we unref in the destroy callback. CaughtJeffrey Stedfast2002-04-173-5/+14
| | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config-factory.c (config_control_factory_cb): Ref the prefs widget here since we unref in the destroy callback. Caught this thanks to purify. svn path=/trunk/; revision=16481
* s/ENABLE_NEWS/ENABLE_NNTPJeffrey Stedfast2002-04-141-1/+1
| | | | svn path=/trunk/; revision=16464
* compile fixesJeffrey Stedfast2002-04-143-19/+19
| | | | svn path=/trunk/; revision=16461
* Build fixes for --enable-nntp.Jeffrey Stedfast2002-04-142-4/+9
| | | | | | | | 2002-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Build fixes for --enable-nntp. svn path=/trunk/; revision=16459
* Updated French translation.Christophe Merlet2002-04-132-1/+5
| | | | svn path=/trunk/; revision=16458
* added a #include to fix a compile warningJeffrey Stedfast2002-04-131-0/+2
| | | | svn path=/trunk/; revision=16453
* Make it so that unchecking the "Enable Advanced Options" in the signatureJeffrey Stedfast2002-04-133-1/+27
| | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Make it so that unchecking the "Enable Advanced Options" in the signature tab disables the advanced settings and vise versa. svn path=/trunk/; revision=16452
* Setup News preferences too if it is enabled.Jeffrey Stedfast2002-04-135-1794/+262
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Setup News preferences too if it is enabled. svn path=/trunk/; revision=16451
* Set the text of the reply-to. (mail_account_gui_save): Get the reply-toJeffrey Stedfast2002-04-128-127/+380
| | | | | | | | | | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Set the text of the reply-to. (mail_account_gui_save): Get the reply-to text here. (mail_account_gui_identity_complete): If there is text in the reply-to widget make sure it's valid. * mail-config.c (identity_copy): Copy the reply-to. (config_read): Read in the reply-to for all the accounts. (mail_config_write): Save the reply-to. (impl_GNOME_Evolution_MailConfig_addAccount): Get the reply-to. (identity_destroy): Free the reply-to. svn path=/trunk/; revision=16446
* s/Sent/Date. This fixes bug #11159.Jeffrey Stedfast2002-04-112-1/+5
| | | | | | | | 2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * message-list.etspec: s/Sent/Date. This fixes bug #11159. svn path=/trunk/; revision=16437
* Set the 'No' button as the default.Jeffrey Stedfast2002-04-112-0/+8
| | | | | | | | | 2002-04-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (confirm_expunge): Set the 'No' button as the default. svn path=/trunk/; revision=16435
* Oops, put x_mailer_display_style in /Mail/Display, not /Mail/FormatDan Winship2002-04-111-2/+2
| | | | svn path=/trunk/; revision=16431
* Handle the X-Mailer display style. (There is currently no GUI forDan Winship2002-04-114-13/+102
| | | | | | | | | | | | | * mail-config.c (config_read, mail_config_write, mail_config_get_x_mailer_display_style, mail_config_set_x_mailer_display_style): Handle the X-Mailer display style. (There is currently no GUI for configuring this.) * mail-format.c (write_headers, write_xmailer_header): Show X-Mailer/User-Agent (and Rupert's stamp of approval) as appropriate. svn path=/trunk/; revision=16430
* removed an extra printfJeffrey Stedfast2002-04-101-1/+0
| | | | svn path=/trunk/; revision=16418
* Kludge around the brokeness that is GtkOptionMenu just like we kludgeJeffrey Stedfast2002-04-102-76/+87
| | | | | | | | | | 2002-04-09 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (setup_service): Kludge around the brokeness that is GtkOptionMenu just like we kludge around it for the authtype option menu. svn path=/trunk/; revision=16417
* Add view_info arg, but don't do anything with it.Dan Winship2002-04-092-0/+6
| | | | | | | * component-factory.c (create_view): Add view_info arg, but don't do anything with it. svn path=/trunk/; revision=16398
* Argh! get_folder_info owns and frees its *OWN* folder info, it shouldn'tNot Zed2002-04-092-2/+7
| | | | | | | | | | | 2002-04-08 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_got_folderinfo): Argh! get_folder_info owns and frees its *OWN* folder info, it shouldn't be free'd here! See mail-ops.c:get_folderinfo_free. This should fix #17259 and friends. svn path=/trunk/; revision=16395
* oops, I forgot to update the ChangeLog to be accurate for my last commitJeffrey Stedfast2002-04-091-4/+3
| | | | svn path=/trunk/; revision=16393
* Since bonobo doesn't seem to O_TRUNC the file stream before writing to it,Jeffrey Stedfast2002-04-092-26/+49
| | | | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Since bonobo doesn't seem to O_TRUNC the file stream before writing to it, write to a temp file first and then rename() it to the real filename. This also protects against losing data if the drive is full too. Also use a real mode, not 0, so that we can actually save/read the content ;-) svn path=/trunk/; revision=16392
* Re-added the config wizard interfaces. Ettore accidently removed themJeffrey Stedfast2002-04-094-47/+38
| | | | | | | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * GNOME_Evolution_Mail.oaf.in: Re-added the config wizard interfaces. Ettore accidently removed them thinking they were duplicates of the new mail-config interfaces. * mail-config.glade: Remove the OK, Apply, Cancel buttons from the keyboard shortcut tab in the composer_prefs dialog. * mail-account-gui.c: No need to check gui->source before using gui->source->url, since gui->source *has* to exist. svn path=/trunk/; revision=16391
* add config_item:typeJP Rosevear2002-04-072-1/+9
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * GNOME_Evolution_Mail.oaf.in: add config_item:type svn path=/trunk/; revision=16377
* Make the drafts and sent folder buttons be EvolutionFolderSelectorButtons.Dan Winship2002-04-059-170/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-account-gui.c (mail_account_gui_new): Make the drafts and sent folder buttons be EvolutionFolderSelectorButtons. Remove the code to deal with drafts_folder_name and sent_folder_name, since they were only used to construct the button and aren't needed now. (mail_account_gui_save): Remove drafts/sent name references. (mail_account_gui_destroy): Likewise (folder_selected): Handle the "selected" signal on the folder selector button by updating the URI in the MailAccountGui. (mail_account_gui_folder_selector_button_new): Glade custom widget constructor. * mail-callbacks.c (transfer_msg): Update for evolution_shell_client_user_select_folder change. * message-browser.c (transfer_msg): Likewise. (Sigh. Why is this cut+pasted?) * mail-config.glade: Make the drafts/sent folder buttons custom widgets. * mail-config.c (account_copy): Remove drafts/sent folder name handling. (account_destroy): Likewise. (config_read): Likewise. (mail_config_write): Likewise. * Mail.idl (MailConfig:Account): remove drafts_folder_name and sent_folder_name. svn path=/trunk/; revision=16353
* Set the window title/icon here instead.Jeffrey Stedfast2002-04-0410-88/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-03 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Set the window title/icon here instead. * message-tag-editor.c (message_tag_editor_init): Don't set the title or window icon here, this is a generic class. * mail-format.c (handle_multipart_signed): Replace get_url_for_icon with the new mail_display_get_url_for_icon function. (handle_multipart_digest): Here too. (get_cid): Use mail_display_add_url instead. (get_location): Same. (handle_text_enriched): Here too. (handle_multipart_signed): And here. * message-tag-followup.c (message_tag_followup_i18n_name): Use the U_() macro, not the _() macro as it is what we really want. * mail-ops.c (mail_send_message): Don't cast the message into a CamelMedium before sending anymore. * mail-callbacks.c (expunge_folder): Set the followup argument to NULL here. (done_message_selected): Get the followup value here and pass it to the mail-display here. (do_mail_fetch_and_print): Again with the NULL followup here. * folder-browser.c (folder_browser_set_message_preview): Update to pass in NULL as the followup since we are setting the message to NULL here. (done_message_selected): Get and set the appropriate followup value here. (do_message_selected): Update to pass in NULL as the followup since we are setting the message to NULL here. * mail-display.c (mail_display_set_message): Now takes a followup tag value. (mail_display_init): Set md->followup to NULL. (mail_display_destroy): Free md->followup. (mail_display_add_url): New: replaces the static add_url function originally in mail-format.c (mail_display_get_url_for_icon): New: replaces get_url_for_icon which was originally in mail-format.c svn path=/trunk/; revision=16334
* Changes to allow combined store/transport providers (like exchange andDan Winship2002-04-043-15/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-account-gui.c: Changes to allow combined store/transport providers (like exchange and nntp). You can only select the transport if the account is also using that provider for the source. (source_type_changed): If changing away from a combined store/transport type, disable that provider on the transport page. If change to a combined store/transport type, enable and select that provider on the transport page. (mail_account_gui_setup): Do some additional bookkeeping here to make the above stuff work. (transport_type_changed): If the provider is a combined store/transport type, pretend it doesn't need any additional URL configuration. (mail_account_gui_transport_complete): if the transport provider is also a store provider, then as long as it matches the source for the account, it's considered complete. (mail_account_gui_save): If the selected transport is a combined store/transport provider, use the source page's information to fill in the transport url. * mail-local.c (mail_local_provider_init): Don't set up service_cache. svn path=/trunk/; revision=16331
* Pass the UID of the message being edited to the save-draft signal handler.Jeffrey Stedfast2002-04-032-9/+36
| | | | | | | | | | | | | | 2002-04-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_edit_messages): Pass the UID of the message being edited to the save-draft signal handler. (composer_save_draft_cb): Pass the old draft uid to our async append_message function and let the append_message callback worry about deleting the old draft message on success. (save_draft_done): Delete the old draft message if we successfully appended the new draft message. svn path=/trunk/; revision=16328
* Removed an unused pixmap from Tools/Settings to avoid a big nasty bonoboJeffrey Stedfast2002-04-022-1/+3
| | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Removed an unused pixmap from Tools/Settings to avoid a big nasty bonobo warning. svn path=/trunk/; revision=16318
* Re-Implemented the signature editor stuff (mostly just copy/paste fromJeffrey Stedfast2002-04-027-46/+479
| | | | | | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Re-Implemented the signature editor stuff (mostly just copy/paste from Radeks original code). * mail-signature-editor.c (mail_signature_editor): Use the right oafiid for the html editor control. svn path=/trunk/; revision=16316
* Use -avoid-version -module. (From Max Horn <max@quendi.de>)Dan Winship2002-04-022-2/+8
| | | | | | | | * importers/Makefile.am (liboutlook_la_LDFLAGS, libmbox_la_LDFLAGS): Use -avoid-version -module. (From Max Horn <max@quendi.de>) svn path=/trunk/; revision=16306
* Don't shift the r, g and b values here either.Jeffrey Stedfast2002-03-303-6/+18
| | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (colorpicker_get_color): Don't shift the r, g and b values here either. * mail-composer-prefs.c (colorpicker_get_color): Don't shift the r, g, b values. svn path=/trunk/; revision=16297
* Restore the labels & colours options from the grave.Jeffrey Stedfast2002-03-304-3/+350
| | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Restore the labels & colours options from the grave. (mail_preferences_apply): Save these labels & colours options. svn path=/trunk/; revision=16296
* Added priorities for all the configuration pagesEttore Perazzoli2002-03-302-0/+11
| | | | | | | * GNOME_Evolution_Mail.oaf.in: Added priorities for all the configuration pages [evolution:config_item:priority]. svn path=/trunk/; revision=16294
* Same here.Jeffrey Stedfast2002-03-303-8/+46
| | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Same here. * mail-preferences.c (mail_preferences_construct): Do some gtk hackery action so we can detect if a option menu has changed. svn path=/trunk/; revision=16290
* Cleaned up a bunch [removing duplicates ;-)], set up icons for all theEttore Perazzoli2002-03-302-89/+8
| | | | | | | * GNOME_Evolution_Mail.oaf.in: Cleaned up a bunch [removing duplicates ;-)], set up icons for all the configuration pages. svn path=/trunk/; revision=16286
* (account_cursor_change): Make sure that event is non-NULL here.Jeffrey Stedfast2002-03-292-2/+3
| | | | svn path=/trunk/; revision=16279
* Use a GtkCList instead of an ETable, for some reason the etable wasJeffrey Stedfast2002-03-294-35/+183
| | | | | | | | | | | 2002-03-28 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Use a GtkCList instead of an ETable, for some reason the etable was getting into some infinite resize loop or something. I probably did something wrong but I can't figure out what so I'm using a clist for now. svn path=/trunk/; revision=16277
* Use gtk_container_add() to put the toplevel in the parent widget, insteadEttore Perazzoli2002-03-283-5/+4
| | | | | | | | | | * mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16271
* Use gtk_container_add() to put the toplevel in the parent widget, insteadEttore Perazzoli2002-03-282-2/+12
| | | | | | | | | | * mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16270
* Updated to respect the new mail-config options for default reply styleJeffrey Stedfast2002-03-282-1/+21
| | | | | | | | | | 2002-03-27 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Updated to respect the new mail-config options for default reply style that NotZed had started to implement before there was a gui. svn path=/trunk/; revision=16266
* unset GTK_CAN_FOCUS on the button so that it can't grab focus when youDan Winship2002-03-282-0/+9
| | | | | | | | * mail-display.c (do_attachment_header): unset GTK_CAN_FOCUS on the button so that it can't grab focus when you click it. (do_signature): Likewise on the signature button. #3904 svn path=/trunk/; revision=16261
* Sync with yet-another-mail-config branch.Jeffrey Stedfast2002-03-2724-1599/+3629
| | | | | | | | | | | | | | | | | | 2002-03-26 Jeffrey Stedfast <fejj@ximian.com> Sync with yet-another-mail-config branch. * mail-composer-prefs.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-preferences.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-accounts.etspec: New file needed by mail-accounts.c svn path=/trunk/; revision=16257
* Changed to get the address from the messageinfo of the current selectedNot Zed2002-03-266-79/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-26 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (addrbook_sender): Changed to get the address from the messageinfo of the current selected message rather than from the current_message. (requeue_mail_reply): Only re-queue if we got a message, could potentially cause an infinite loop trying to get a message it can't. (reply_to_sender, reply_to_list, reply_to_all): Always pass NULL as the msg to mail_replay, this forces mail_reply to always load the message anew. Fixes FIXME's and popup behaviour. Basically this and stuff below fixes #8542. Its probably not the nicest way, but it works. (mark_as_important): Use the flags properly, we can set all flags to any combination of on or off as we want, so we just need to call set_flags once, thats why its set flags and not set_option. (toggle_flags): Fixed the logic here also, so we dont have to call set_message_flags more than once, and also implement a true toggle for any number of simultaneous flags (whilst simplifying code). * mail-vfolder.c (vfolder_gui_add_from_mlist): Removed the 'msg' parameter, its not used, fixed callers. * folder-browser.c (on_right_click): Lookup the mlist from messageinfo, and change the 'no selected' logic slightly, fixes most of #8542. (filter_data_free): Free filter data struct. (vfolder_type_got_message): Actually create vfolder once we have the message we need to use for it. Code could probably be changed to use messageinfo instead. (vfolder_type_uid): Lookup a message based on uid, and use that to create a vfolder based on type. (vfolder_subject_uid, vfolder_sender_uid, vfolder_receipient_uid, vfolder_mlist_uid): Callbacks for the popup menu, used to create rules based on the uid rather than the message, which it loads as required. (filter_type_got_message, filter_*_uid): Similar to vfolder stuff above. (filter_menu[]): Changed callbacks to popup specific ones, not folderbrowser specific ones used by bonobo. (on_right_click): Initialise callback data for the filter submenu so it can look up messages for callback implementation. svn path=/trunk/; revision=16253
* New version from anna, with fixed widget names.Not Zed2002-03-262-165/+214
| | | | | | | | | 2002-03-26 Not Zed <NotZed@Ximian.com> * local-config.glade: New version from anna, with fixed widget names. svn path=/trunk/; revision=16252
* Move the ComponentActionsPlaceholder into the Actions menu, instead of theEttore Perazzoli2002-03-216-43/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution.xml: Move the ComponentActionsPlaceholder into the Actions menu, instead of the Actions menu being in the ComponentActionsPlaceholder. * evolution-addressbook.xml: Updated accordingly. * evolution-calendar.xml: Updated accordingly. * evolution-mail-global.xml: Updated accordingly. * evolution-mail-list.xml: Updated accordingly. * evolution-mail-message.xml: Updated accordingly. * evolution-mail-messagedisplay.xml: Updated accordingly. * evolution-tasks.xml: Updated accordingly. * evolution.xml: Add "SendReceive" verb, menu item and toolbar button. * evolution-mail-global.xml: Remove "MailGetSend" verb and menu item. * e-shell-view-menu.c (command_send_receive): New, implementation for the "SendReceive" verb. * e-shell.c (e_shell_send_receive): New. * evolution-shell-component.c (impl_sendReceive): Implementation of ShellComponent::sendReceive. (class_init): Add the "send_receive" signal. * evolution-shell-component.h: Added `send_receive' signal. * Evolution-ShellComponent.idl: Added ShellComponent::sendReceive. * component-factory.c (send_receive_cb): New, callback for the "send_receive" signal on the EvolutionShellComponent. (create_component): Connect. * folder-browser-ui.c: Remove verb "MailGetSend". * mail-callbacks.c (send_receive_mail): Removed. * mail-send-recv.c: Remove member current_folder from struct _send_data. (free_send_data): No need to unref here. (build_dialogue): Removed arg @current_folder. (mail_send_receive): Likewise. svn path=/trunk/; revision=16220
* Add accelerators for "Find Now" and "Clear".Ettore Perazzoli2002-03-212-2/+10
| | | | | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Add accelerators for "Find Now" and "Clear". * e-filter-bar.h: Change search labels as suggested in Anna's redesign [#16246]. * folder-browser.c: Reorder folder_browser_search_menu_items according to #16246. svn path=/trunk/; revision=16219
* add missing NULL closure data to popup menu initialization.Larry Ewing2002-03-202-4/+9
| | | | | | | | | 2002-03-19 Larry Ewing <lewing@ximian.com> * mail-display.c: add missing NULL closure data to popup menu initialization. svn path=/trunk/; revision=16212
* more fixes for libversit.la -> libversit.aDan Winship2002-03-202-1/+5
| | | | svn path=/trunk/; revision=16211
* Report a message before entering bonobo_main() to simplify debugging.Ettore Perazzoli2002-03-192-0/+7
| | | | | | | * main.c (main): Report a message before entering bonobo_main() to simplify debugging. svn path=/trunk/; revision=16204
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-192-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
* Draw colour rectangles for each of the colour items and set a closure onJeffrey Stedfast2002-03-164-15/+108
| | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Draw colour rectangles for each of the colour items and set a closure on each. (colourise_msg): colourise the message, yo. svn path=/trunk/; revision=16187
* New callback to set a colour on a message.Jeffrey Stedfast2002-03-1612-78/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (colour_msg): New callback to set a colour on a message. * folder-browser.c (on_right_click): Setup our popup icons and stuff. Also add a submenu for Labels. * mail-display.c (pixmap_press): Sync up with the new EPopupMenu API. Note: This code can probably now be fixed to use per-item closures - yay! * mail-accounts.c (construct): Connect to the label GtkEntry's and GnomeColorPickers and also to the Restore Defaults button. * mail-config.c (mail_config_get_label_name): New function to get a label's name. (mail_config_set_label_name): New function to set the label name. (mail_config_get_label_color): New function to get the label color. (mail_config_set_label_color): New function to set the label color. (config_read): Read in the config options for the labels and their colors. (mail_config_write_on_exit): Save the label options. svn path=/trunk/; revision=16186
* expand the relative urls of the object at the point so that relativeLarry Ewing2002-03-163-3/+17
| | | | | | | | | | | 2002-03-15 Larry Ewing <lewing@ximian.com> * mail-display.c: expand the relative urls of the object at the point so that relative images can be saved correctly. * folder-browser.c: add a closing quote in a comment. svn path=/trunk/; revision=16181
* Commit ChangeLog.Ettore Perazzoli2002-03-161-1/+0
| | | | svn path=/trunk/; revision=16179
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-162-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (init): Init various members to NULL. (set_dropdown): Removed. (add_dropdown): Removed. (set_menu): New. (add_menu_items): New. (set_option): No need to setup the dropdown size here anymore. (verb_cb): Function implementing the search menu verbs. (update_bonobo_menus): New. (e_search_bar_set_ui_component): New. * e-search-bar.h: Remove the dropdown button stuff from struct ESearchBar. Add `uic' and `items' members. * e-filter-bar.c (e_filter_bar_new): Get a @uic arg. * folder-browser-factory.c (control_activate): Set the UI component on the search bar. * gui/tasks-control.c (tasks_control_activate): Call `e_tasks_set_ui_component()' here to give it the BonoboUIComponent. (tasks_control_deactivate): Likewise, call it here to unset the BonoboUIComponent. * gui/e-tasks.c (e_tasks_set_ui_component): New. * gui/calendar-commands.c (calendar_control_activate): Call gnome_calendar_set_ui_component() here. (calendar_control_deactivate): ...And here, with a NULL BonoboUIComponent. * gui/gnome-cal.c (gnome_calendar_set_ui_component): New. * gui/component/addressbook.c (control_activate): Call `e_search_bar_set_ui_component()' to set the BonoboUIComponent for the search bar. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16178
* Remove "mailstorage", since it's not needed any more. (storage_activate):Dan Winship2002-03-153-44/+47
| | | | | | | | | | | | | | | | | | | | | | * component-factory.c (folder_types): Remove "mailstorage", since it's not needed any more. (storage_activate): Gone, although some of it is moved to storage_connect. (create_view): Remove mailstorage code. (add_storage): Connect to the storage's open_folder signal. Instead of creating a "mailstorage" folder, call evolution_storage_has_subfolders to let the shell know we haven't finished filling it in yet. (storage_connect): Handler for the storage's asyncOpenFolder signal. Call mail_note_store() to try to connect. (storage_connected): Callback for above. If the connection attempt failed, call evolution_storage_has_subfolders again to make the shell re-close the storage. * mail-folder-cache.c (update_folders): Remove a piece of mailstorage legacy code from here. svn path=/trunk/; revision=16170
* create new signature file (delete_unused_signature_file): be more carefulRadek Doulik2002-03-152-3/+21
| | | | | | | | | | | 2002-03-14 Radek Doulik <rodo@ximian.com> * mail-config.c (get_new_signature_filename): create new signature file (delete_unused_signature_file): be more careful about signature file path before unlinking svn path=/trunk/; revision=16167
* Implemented.Jeffrey Stedfast2002-03-156-2/+57
| | | | | | | | | | | 2002-03-14 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (next_thread): Implemented. * message-list.c (message_list_select_next_thread): New function to select the next thread. svn path=/trunk/; revision=16165
* Set a default size of the window, so we don't get this itty-bitty windowJeffrey Stedfast2002-03-142-0/+34
| | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Set a default size of the window, so we don't get this itty-bitty window the size of a quarter on the screen when it first gets shown. svn path=/trunk/; revision=16153
* Handle digest: urls.Jeffrey Stedfast2002-03-133-5/+64
| | | | | | | | | | | 2002-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_link_clicked): Handle digest: urls. * mail-format.c (setup_mime_tables): Add a handler for multipart/digest. (handle_multipart_digest): Handle multipart/digest parts. svn path=/trunk/; revision=16133
* Set the folder on a folder-browser object.Jeffrey Stedfast2002-03-138-5/+270
| | | | | | | | | | | | | | | 2002-03-12 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_set_folder): Set the folder on a folder-browser object. * folder-browser-window.c (folder_browser_window_new): Simple window to display a folder-browser. * mail-callbacks.c (view_digest): New callback to open a folder-browser-window with a digest folder. svn path=/trunk/; revision=16127
* removed forgotten FIXMERadek Doulik2002-03-131-2/+0
| | | | svn path=/trunk/; revision=16125
* truncate stream before savingRadek Doulik2002-03-092-2/+6
| | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): truncate stream before saving svn path=/trunk/; revision=15997
* new functionRadek Doulik2002-03-095-3/+54
| | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_set_html): new function * mail-accounts.c (sig_event_client): watch for HTML changed event * mail-signature-editor.c: added HTML check menu item to Format menu svn path=/trunk/; revision=15996
* Rewrite this to not use stpcpy, which isn't portable.Dan Winship2002-03-092-5/+11
| | | | | | | * mail-config-druid.c (management_prepare): Rewrite this to not use stpcpy, which isn't portable. svn path=/trunk/; revision=15991
* handle name changed event (sig_load_preview): don't run script before eachRadek Doulik2002-03-093-6/+57
| | | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-accounts.c (sig_event_client): handle name changed event (sig_load_preview): don't run script before each reload (sig_script_activate): run script only if script entry is activated * mail-signature-editor.c (mail_signature_editor): added signature name entry svn path=/trunk/; revision=15989
* Re-focus the account name entry widget. (identity_prepare): If a name isJeffrey Stedfast2002-03-083-15/+73
| | | | | | | | | | | | | 2002-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (management_changed): Re-focus the account name entry widget. (identity_prepare): If a name is not set, try and get the user's full name for them and set the text on the entry widget. (management_prepare): If the account name is already taken, generate a unique one by appending " (%d)". svn path=/trunk/; revision=15986
* make edit button sensitive after new signature is created (sig_new_text):Radek Doulik2002-03-082-0/+8
| | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-account-gui.c (sig_new_html): make edit button sensitive after new signature is created (sig_new_text): ditto svn path=/trunk/; revision=15984
* notify accounts dialog about signature content changeRadek Doulik2002-03-087-23/+60
| | | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c: notify accounts dialog about signature content change * mail-accounts.c (run_script): run script only if file regular file exists and has x flag svn path=/trunk/; revision=15979
* Made all the acclerators in the context menu on a message work. (There areAnna Marie Dirks2002-03-082-14/+19
| | | | | | | | 2002-03-07 Anna Marie Dirks <anna@ximian.com> * folder-browser.c: Made all the acclerators in the context menu on a message work. (There are 22 different menu items here, so picking a unique accelerator for each label was tricky, and some of the choices I made are different from the ones I would have made if there weren't so many stinking menu items.) svn path=/trunk/; revision=15978
* Don't use an uninitialized 'id'.Jeffrey Stedfast2002-03-082-4/+7
| | | | | | | | | 2002-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_import_old_signatures): Don't use an uninitialized 'id'. svn path=/trunk/; revision=15972
* set initial focus to editor (do_exit): use hasUndo to avoid questionRadek Doulik2002-03-082-4/+22
| | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): set initial focus to editor (do_exit): use hasUndo to avoid question dialog when content is unchanged svn path=/trunk/; revision=15970
* Update for storage changes: explicitly create a root folder.Dan Winship2002-03-085-14/+31
| | | | | | | | | | | | | | | | | * component-factory.c (add_storage): Update for storage changes: explicitly create a root folder. * mail-display.c (mail_display_render): Fix the "don't scroll back to the top of the HTML widget when opening an attachment" hack again by moving it here from mail_display_redisplay(). (It has to happen after the gtk_html_begin.) (mail_display_redisplay): Pass reset_scroll arg to mail_display_render. * mail-callbacks.c (do_mail_print): Pass reset_scroll (TRUE) to mail_display_render. svn path=/trunk/; revision=15967
* merge new signature handlingRadek Doulik2002-03-0716-425/+2288
| | | | svn path=/trunk/; revision=15960
* Don't try to set pixmap for /Toolbar/MailCompose, since it doesn't existDan Winship2002-03-062-1/+5
| | | | | | | * folder-browser-ui.c: Don't try to set pixmap for /Toolbar/MailCompose, since it doesn't exist any more. svn path=/trunk/; revision=15935
* "use_ssl" can now be 3 options, modify the code to handle this.Jeffrey Stedfast2002-03-064-46/+184
| | | | | | | | | | | | 2002-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (save_service): "use_ssl" can now be 3 options, modify the code to handle this. (setup_service): Toggle the correct ssl option. (source_type_changed): Show/hide the ssl hbox container widget. (transport_type_changed): Same. svn path=/trunk/; revision=15933
* Pull up assertion change from evolution-1-0-branch to allow externalDan Winship2002-03-062-1/+6
| | | | | | | * mail-folder-cache.c (mail_note_store): Pull up assertion change from evolution-1-0-branch to allow external storages. svn path=/trunk/; revision=15928
* If the clicked column was column 0, enable/disable it. (mail_select):Jeffrey Stedfast2002-03-052-7/+21
| | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_unselect): If the clicked column was column 0, enable/disable it. (mail_select): Same. svn path=/trunk/; revision=15914
* Added more debugging code to help figure out why a certain image isn'tJeffrey Stedfast2002-03-053-6/+17
| | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (load_http): Added more debugging code to help figure out why a certain image isn't loading - looks like gnome-vfs is getting a premature EOF? svn path=/trunk/; revision=15910
* Connect to the focus-in/out events on the message-list so that we canJeffrey Stedfast2002-03-056-7/+78
| | | | | | | | | | | | | | | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (my_folder_browser_init): Connect to the focus-in/out events on the message-list so that we can disable the EditInvertSelection and EditSelectThread menu items when the message-list is not in focus. * folder-browser-ui.c (folder_browser_ui_message_list_unfocus): New function to de-sensitize some items if the message-list is not in focus. (folder_browser_ui_message_list_focus): New function to sensitize some items if the message-list is not in focus. * mail-callbacks.c (invert_selection): Only invert the selection of the message-list if it is the widget in focus. * message-list.c (message_list_select): Do not explicitly grab the focus here. svn path=/trunk/; revision=15909
* Set X-Mailer to say "Ximian Evolution", not just "Evolution".Ettore Perazzoli2002-03-052-1/+8
| | | | | | | * mail-ops.c (mail_send_message): Set X-Mailer to say "Ximian Evolution", not just "Evolution". svn path=/trunk/; revision=15901
* Forward all selected messages. Fixes bug #21190.Jeffrey Stedfast2002-03-022-7/+18
| | | | | | | | | 2002-03-01 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_message): Forward all selected messages. Fixes bug #21190. svn path=/trunk/; revision=15882
* Get the Content-Base if the header exists and use gtk_html_set_base to setJeffrey Stedfast2002-02-274-44/+33
| | | | | | | | | | | | | | | | | | 2002-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_html): Get the Content-Base if the header exists and use gtk_html_set_base to set this base url. * mail-display.c (on_link_clicked): No longer need to calculate the full url. This is now handled by GtkHTML. (on_set_base): Removed. (on_url_requested): No longer need to calculate the full url. (mail_display_initialize_gtkhtml): Don't connect to the set_base signal anymore. We don't care. * mail-display.h: No longer need base_url (it was broken anyway). svn path=/trunk/; revision=15850
* If a related part is requested, remove it from the related undisplayedNot Zed2002-02-265-6/+49
| | | | | | | | | | | | 2002-02-26 Not Zed <NotZed@Ximian.com> * mail-display.c (on_url_requested): If a related part is requested, remove it from the related undisplayed list. * mail-format.c (handle_multipart_related): Check if related parts are displayed, if not, remove them. For #2741. svn path=/trunk/; revision=15837
* rename folder_browser_search_query_changed to this.Chris Toshok2002-02-252-2/+12
| | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * folder-browser.c (folder_browser_search_do_search): rename folder_browser_search_query_changed to this. (folder_browser_gui_init): hook both query_changed and search_activated up to folder_browser_search_do_search, preserving current behavior. svn path=/trunk/; revision=15829
* Removed, this wasn't working as intended and seemed to break otherJeffrey Stedfast2002-02-233-32/+6
| | | | | | | | | 2002-02-22 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (on_message_list_built): Removed, this wasn't working as intended and seemed to break other features. svn path=/trunk/; revision=15801
* Add an icon for the "New message" user creatable item.Ettore Perazzoli2002-02-222-2/+11
| | | | | | | * component-factory.c (create_component): Add an icon for the "New message" user creatable item. svn path=/trunk/; revision=15791
* Connect to our own message_list_built signal. Focus the list and selectJeffrey Stedfast2002-02-222-3/+35
| | | | | | | | | | 2002-02-21 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (on_message_list_built): Connect to our own message_list_built signal. Focus the list and select the first unread message (or frst message depending). Fixes bug #3900. svn path=/trunk/; revision=15784
* Gave the editor window a title and an icon.Anna Marie Dirks2002-02-212-0/+13
| | | | | | | | | 2002-02-20 Anna Marie Dirks <anna@ximian.com> * message-tag-editor.c (message_tag_editor_init): Gave the editor window a title and an icon. svn path=/trunk/; revision=15777
* Changed the policy for table2 so that it does not expand/fill. This wasAnna Marie Dirks2002-02-212-2/+10
| | | | | | | | | | | 2002-02-20 Anna Marie Dirks <anna@ximian.com> * message-tags.glade: Changed the policy for table2 so that it does not expand/fill. This was necessary to allow the message list as much growing room as possible. (And besides, there's no reason for table2 to expand/fill; its child widgets can't change size. svn path=/trunk/; revision=15771
* Prompt the user to find out if he/she wants to go to the next folder withJeffrey Stedfast2002-02-207-15/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (confirm_goto_next_folder): Prompt the user to find out if he/she wants to go to the next folder with unread mail in it. (find_current_folder): Find a given CamelFolderInfo node based on a given uri. (find_next_folder_r): Recursively look for a CamelFOlderInfo node which has unread messages. (find_next_folder): Given a currently selected CamelFolderInfo node, look for the next node containing unread messages. (do_evil_kludgy_goto_next_folder_hack): Find the currently selected folder and then find the very next folder after it that contains unread messages and then select it via a CORBA call to the shell. (next_unread_msg): If we fail to find an unread message in the message-list, prompt the user to find out if we should jump to the next fodler containing unread messages. If so, call do_evil_kludgy_goto_next_folder_hack(). * message-list.c (message_list_select): Return a boolean value based on whether the call was successfull or not. * mail-config.c (mail_config_get_confirm_goto_next_folder): (mail_config_set_confirm_goto_next_folder): (mail_config_get_goto_next_folder): (mail_config_set_goto_next_folder): All new functions, yay. (config_read): Read in the confirm_goto_next_folder and goto_next_folder config options. (mail_config_write_on_exit): Same the options here. svn path=/trunk/; revision=15770
* Ack, strip off the leading '/' char and also only translate if it is aJeffrey Stedfast2002-02-162-2/+2
| | | | | | | | | | | 2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (basename_from_uri): Ack, strip off the leading '/' char and also only translate if it is a local uri, imap folders and other external folders will be named by the user so no need to translate those. svn path=/trunk/; revision=15751
* Ack, strip off the leading '/' char and also only translate if it is aJeffrey Stedfast2002-02-162-2/+7
| | | | | | | | | | | 2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (basename_from_uri): Ack, strip off the leading '/' char and also only translate if it is a file: uri, imap folders and other external folders will be named by the user so no need to translate those. svn path=/trunk/; revision=15750
* Ack, strip off the leading '/' char.Jeffrey Stedfast2002-02-162-1/+4
| | | | | | | | | 2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (basename_from_uri): Ack, strip off the leading '/' char. svn path=/trunk/; revision=15749
* Don't display a down-arrow if the attachment is undisplayable. Fixes bugJeffrey Stedfast2002-02-162-4/+10
| | | | | | | | | | | 2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (do_attachment_header): Don't display a down-arrow if the attachment is undisplayable. Fixes bug #6919. (launch_cb): Some programs are buggy when it comes to parsing file: uris, so make sure we do file://%s. Fixes bug #20456. svn path=/trunk/; revision=15747
* Don't display a down-arrow if the attachment is undisplayable. Fixes bugJeffrey Stedfast2002-02-162-7/+12
| | | | | | | | | 2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (do_attachment_header): Don't display a down-arrow if the attachment is undisplayable. Fixes bug #6919. svn path=/trunk/; revision=15746
* Replacement for using g_basename and also translates the basename stringJeffrey Stedfast2002-02-152-3/+21
| | | | | | | | | | | | 2002-02-14 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (basename_from_uri): Replacement for using g_basename and also translates the basename string to fix bug #7160. (mail_account_gui_save): Use basename_from_uri(). (folder_picker_clicked): Here too. svn path=/trunk/; revision=15733
* Default the from-account to the source account. If that fails, then guessJeffrey Stedfast2002-02-153-14/+20
| | | | | | | | | | 2002-02-14 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Default the from-account to the source account. If that fails, then guess the from-account based on the recipients. Fixes bug #20479. svn path=/trunk/; revision=15728
* oops, Ximian is spelled Ximian, not Ximain. :-)Jeffrey Stedfast2002-02-157-7/+7
| | | | svn path=/trunk/; revision=15725
* added a kludge around a Nautilus bug that calls drag_data_get multiple times ↵Jeffrey Stedfast2002-02-141-1/+8
| | | | | | witht he same drag. svn path=/trunk/; revision=15722
* Implement. (drag_data_delete_cb): Implement. (do_attachment_header): SetupJeffrey Stedfast2002-02-143-22/+111
| | | | | | | | | | | 2002-02-13 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (drag_data_get_cb): Implement. (drag_data_delete_cb): Implement. (do_attachment_header): Setup Drag & Drop. This implements bugzilla bug #1066. svn path=/trunk/; revision=15721
* Set the followup icon to use the new flag icon rather than the exclamationJeffrey Stedfast2002-02-148-24/+124
| | | | | | | | | | | | | | | | | | | 2002-02-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Set the followup icon to use the new flag icon rather than the exclamation mark icon. * mail-callbacks.c (flag_for_followup): Append the selected messages to the clist in the followp editor. * message-list.c: Include the new flag-for-followup icon. * message-tag-followup.c (message_tag_followup_append_message): New method to add a message to the message-list. (construct): Get the message_list widget and load the flag icon pixmap. svn path=/trunk/; revision=15720
* Fixed a bug.Jeffrey Stedfast2002-02-136-14/+39
| | | | | | | | | | | | | | | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (set_widget_values): Fixed a bug. * mail-callbacks.c (flag_for_followup): If only 1 message is selected and it happens to already be marked for follow-up, set the value of the flag on the editor so the settings are restored. * folder-browser-ui.c: Set the pixmaps on MarkAsRead, MarkAsUnread and MarkAsImportant bonobo verbs. Also connect to flag-for-followup verb. (folder_browser_ui_set_selection_state): Added MessageFollowUpFlag verb to the array of verb strings. * folder-browser.c: Set key accelerators on the follow-up right-click menu items to match Outlook. svn path=/trunk/; revision=15702
* No longer need to call e_msg_composer_show_sig_file(). This gets handledJeffrey Stedfast2002-02-132-2/+10
| | | | | | | | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (create_msg_composer): No longer need to call e_msg_composer_show_sig_file(). This gets handled auto-magically by a signal emition when the default From address chooser gets created. (do_forward_non_attached): No longer need to call it here either because e_msg_composer_set_body_text() now makes sure to re-show the signature. svn path=/trunk/; revision=15693
* Show the signature.Jeffrey Stedfast2002-02-132-0/+5
| | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_forward_non_attached): Show the signature. svn path=/trunk/; revision=15689
* Get followup-up message-list values. Also highlight the message in red ifJeffrey Stedfast2002-02-126-107/+219
| | | | | | | | | | | | | | | | | | 2002-02-11 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Get followup-up message-list values. Also highlight the message in red if the due-by date is past due (this is what Outlook does). (ml_duplicate_value): Handle follow-up columns. (ml_free_value): Same. (ml_initialize_value): Here too. (ml_value_is_empty): And here. (ml_value_to_string): And finally here. * message-tag-followup.c (message_tag_followup_i18n_name): New convenience function. svn path=/trunk/; revision=15680
* added entries for latest changesRadek Doulik2002-02-121-0/+9
| | | | svn path=/trunk/; revision=15679
* use reset undo in editorRadek Doulik2002-02-121-0/+7
| | | | svn path=/trunk/; revision=15678
* Implemented. (on_right_click): Do better enabling/hiding of unwantedJeffrey Stedfast2002-02-123-15/+39
| | | | | | | | | | 2002-02-11 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (followup_tag_complete): Implemented. (on_right_click): Do better enabling/hiding of unwanted flag-for-followup options. svn path=/trunk/; revision=15675
* Set the correct drop-down menu item. (message_tag_followup_encode): ReturnJeffrey Stedfast2002-02-103-4/+34
| | | | | | | | | | | | | 2002-02-09 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (set_widget_values): Set the correct drop-down menu item. (message_tag_followup_encode): Return NULL if the type is NONE. (clear_clicked): Set the drop-down menu to None. (type_changed): Hide the None menu item. (construct): Create a None menu item and set it as the default. svn path=/trunk/; revision=15637
* New flag-for-followup tag editor dialog.Jeffrey Stedfast2002-02-098-11/+892
| | | | | | | | | | | | | | | | | | 2002-02-08 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.[c,h]: New flag-for-followup tag editor dialog. * mail-callbacks.c (flag_for_followup): New callback that pops up a flag-for-followup editor dialog. (flag_followup_completed): Marks all flag-for-followup'd messages as 'complete'. (flag_followup_clear): Clears all flag-for-followup tags from the selected messages. * message-tags.glade: glade file for tag editors. svn path=/trunk/; revision=15632
* Base class for a message tag editor.Jeffrey Stedfast2002-02-097-19/+304
| | | | | | | | | | | | | | | | | 2002-02-08 Jeffrey Stedfast <fejj@ximian.com> * message-tag-editor.[c,h]: Base class for a message tag editor. * folder-browser.c (on_right_click): Setup the hide/enable masks for "Flag for Follow-up" * mail-callbacks.c (confirm_expunge): Instead of hiding deleted messages and then expunging, disable the use of the message-list completely during the expunge operation. (expunged_folder): Re-enable the use of the message-list widget here. svn path=/trunk/; revision=15626
* removed more needs-reply cruftJeffrey Stedfast2002-02-081-6/+0
| | | | svn path=/trunk/; revision=15604
* call set_body later to allow ignored words to be sent to gtkhtml controlRadek Doulik2002-02-082-22/+27
| | | | | | | | | 2002-02-07 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (mail_generate_reply): call set_body later to allow ignored words to be sent to gtkhtml control ahead svn path=/trunk/; revision=15598
* remove "New" from user creatable menu itemJP Rosevear2002-02-082-1/+6
| | | | | | | | | 2002-02-07 JP Rosevear <jpr@ximian.com> * component-factory.c (create_component): remove "New" from user creatable menu item svn path=/trunk/; revision=15597
* Bumped the required version of gal.Christopher James Lahey2002-02-0711-188/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal. From addressbook/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Changed this function to use the new GalViewMenus which takes a GalViewInstance, instead of a GalViewCollection. From calendar/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Made these use the new GalViewMenus stuff. From mail/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c, folder-browser-ui.h (folder_browser_ui_setup_view_menus, folder_browser_ui_discard_view_menus): Changed this to use the new GalViewMenus stuff. Made these exported functions. * mail-callbacks.c, message-browser.c: Changed these to not pass the now removed row parameter to message_list_select. * mail-config.c, mail-config.h (mail_config_folder_to_safe_url): Refactored this out of mail_config_folder_to_cachename. * message-list.c, message-list.h (message_list_select): Removed the row argument. Changed this to use the new function in ETree for finding the next cursor row that matches a test. (message_list_construct): Handle a failed construction of the ETree here. (message_list_setup_etree, save_tree_state): Don't load or save the header state. folder-browser-ui.c deals with this now. From views/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * addressbook/galview.xml, calendar/galview.xml, mail/galview.xml, tasks/galview.xml: Added default-view parameters. * mail/As_Sent_Folder.galview: New galview. * mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder galview. From widgets/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_new): Made this take a GalViewInstance instead of a GalViewCollection. Reworked most of this to utilize the interfaces provided by GalViewInstance. svn path=/trunk/; revision=15592
* Rearranged the #if checks so that we don't ever try to access any smimeJeffrey Stedfast2002-02-072-3/+12
| | | | | | | | | | | 2002-02-06 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Rearranged the #if checks so that we don't ever try to access any smime widgets (since they are now being destroyed) if smime isn't enabled. (mail_account_gui_save): Same here. svn path=/trunk/; revision=15587
* Removed references to NEEDS_REPLY.Jeffrey Stedfast2002-02-076-68/+12
| | | | | | | | | | | | | | | | 2002-02-06 Jeffrey Stedfast <fejj@ximian.com> * message-list.c: Removed references to NEEDS_REPLY. * mail-callbacks.c (mark_as_needing_reply): Removed. (mark_as_not_needing_reply): Removed. (toggle_need_reply): Removed. * folder-browser.c (on_right_click): Remove CAN_MARK_NEEDS_REPLY stuff, this is going to be implemented in an entirely different way. svn path=/trunk/; revision=15585
* Look for DOCTYPE XML comments too to decide if the message content isJeffrey Stedfast2002-02-073-2/+7
| | | | | | | | | 2002-02-06 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): Look for DOCTYPE XML comments too to decide if the message content is really HTML. svn path=/trunk/; revision=15581
* Dont double-free the text body data.Not Zed2002-02-062-4/+5
| | | | | | | | | 2002-02-06 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (mail_generate_reply): Dont double-free the text body data. svn path=/trunk/; revision=15574
* Add attachments after we've seen if the composer object is valid.Not Zed2002-02-043-18/+32
| | | | | | | | | | | 2002-01-31 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (mail_generate_reply): Add attachments after we've seen if the composer object is valid. (mail_generate_reply): Support new flag REPLY_NO_QUOTE - if set, then dont quote any of the message in the reply. svn path=/trunk/; revision=15560
* Destroy the S/MIME frame if not available, instead of just graying it out.Ettore Perazzoli2002-02-032-1/+8
| | | | | | | | | * mail-account-gui.c (mail_account_gui_new): Destroy the S/MIME frame if not available, instead of just graying it out. [I would just hide it, but it looks like there is a show_all somewhere so that doesn't work.] svn path=/trunk/; revision=15554
* Some touchups from me and Anna.Ettore Perazzoli2002-02-032-189/+177
| | | | | | * mail-config.glade: Some touchups from me and Anna. svn path=/trunk/; revision=15553
* Don't bother setting the auto-cc/bcc recipients here. I'm moving the codeJeffrey Stedfast2002-02-022-25/+7
| | | | | | | | | | | 2002-01-31 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Don't bother setting the auto-cc/bcc recipients here. I'm moving the code to add them in the GUI in the composer so they will already be in the recipient list by this point. svn path=/trunk/; revision=15549
* ignore spell checking of words in addresses, move set_body_text after allRadek Doulik2002-02-013-6/+37
| | | | | | | | | | | | 2002-01-31 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (mail_generate_reply): ignore spell checking of words in addresses, move set_body_text after all ignored words are set so we don't have to spell check whole document again (mail_ignore_address): helper function (mail_ignore): ditto svn path=/trunk/; revision=15541
* Pass the parent window to mail_account_editor_new().Jeffrey Stedfast2002-01-316-14/+28
| | | | | | | | | | | | | | | | | 2002-01-30 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_edit): Pass the parent window to mail_account_editor_new(). * mail-account-editor.c (mail_account_editor_new): Set the parent window here because construct() inadvertantly gtk_widget_show_all's the editor. * mail-account-gui.c (mail_account_gui_save): Use g_basename() rather than strrchr for '/' especially since the strrchr code wasn't doing any NULL checks. svn path=/trunk/; revision=15533
* print quoted text in italicRadek Doulik2002-01-312-6/+10
| | | | | | | | | 2002-01-30 Radek Doulik <rodo@ximian.com> * mail-format.c (handle_text_plain_flowed): print quoted text in italic svn path=/trunk/; revision=15530
* re-enable popup menu. (populate_folder_context_menu): If we're on aNot Zed2002-01-302-8/+31
| | | | | | | | | | | | | 2002-01-30 Not Zed <NotZed@Ximian.com> * component-factory.c (create_component): re-enable popup menu. (populate_folder_context_menu): If we're on a vfolder, and its not UNMATCHED, create a change properties item, and set it up approriately. (change_prop_popup): Callback to edit the vfolder rule. For #3358. svn path=/trunk/; revision=15523
* Changed the function signature so that we can pass in whom we want toDave West2002-01-302-6/+27
| | | | | | | | | | | | | | 2002-01-29 Dave West <kat@unleashed.org> * mail-callbacks.c (create_msg_composer): Changed the function signature so that we can pass in whom we want to compose as. Should fix bug #10391. (compose_msg): Get the current profile account and pass it along to create_msg_composer. (send_to_url): Pass in a NULL profile account to cause create_msg_composer to use the default account. svn path=/trunk/; revision=15518
* Make X-Evolution-Account take priority over X-Evolution-Transport. ShouldJeffrey Stedfast2002-01-302-3/+8
| | | | | | | | | | | 2002-01-29 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Make X-Evolution-Account take priority over X-Evolution-Transport. Should we just get rid of X-Evolution-Transport? Anyways, this ought to fix a number of complaints. svn path=/trunk/; revision=15516
* Don't pass NULL text to gtk_entry_set_text. Maybe this will fix bugJeffrey Stedfast2002-01-302-3/+12
| | | | | | | | | 2002-01-29 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Don't pass NULL text to gtk_entry_set_text. Maybe this will fix bug #18971. svn path=/trunk/; revision=15512
* New function that implements the Redirect feature.Jeffrey Stedfast2002-01-306-4/+143
| | | | | | | | | | | | | | | | | | | | 2002-01-29 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (redirect): New function that implements the Redirect feature. * mail-ops.c (mail_send_message): If we are redirecting a message, get the Resent-* recipients otherwise get the normal To/Cc/Bcc recipients and use them in the CamelTransport::send_to() method. * mail-session.c (main_get_filter_driver): Set the beep_func to the beep_cb, not the play_sound_func. Oops ;-) * folder-browser-ui.c: Add Redirect bonobo verb thingy here. (folder_browser_ui_set_selection_state): Add MessageRedirect to the proper string arrays. svn path=/trunk/; revision=15511
* (footer_info_free): unref footer fontRadek Doulik2002-01-302-1/+10
| | | | svn path=/trunk/; revision=15509
* (do_mail_print): get rid of static global variables, as they areRadek Doulik2002-01-302-21/+38
| | | | | | not thread safe (thanks to clahey for pointing this out) svn path=/trunk/; revision=15508
* initialize line to 0 to make everybody happy ;-) ops, set local_font toRadek Doulik2002-01-302-2/+8
| | | | | | | | | | 2002-01-29 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): initialize line to 0 to make everybody happy ;-) ops, set local_font to NULL svn path=/trunk/; revision=15506
* Don't bother checking for invalid recipients anymore. If a recipient isJeffrey Stedfast2002-01-292-41/+12
| | | | | | | | | | 2002-01-28 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Don't bother checking for invalid recipients anymore. If a recipient is invalid, the transport error message will specify that now. svn path=/trunk/; revision=15501
* print footer (footer_print_cb): print page number and number of pagesRadek Doulik2002-01-292-16/+35
| | | | | | | | | 2002-01-28 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): print footer (footer_print_cb): print page number and number of pages svn path=/trunk/; revision=15499
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-282-9/+12
| | | | svn path=/trunk/; revision=15486
* We need to return a value here. I think FALSE is fine (I hope).Jeffrey Stedfast2002-01-262-0/+5
| | | | | | | | | 2002-01-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (delete_event_cb): We need to return a value here. I think FALSE is fine (I hope). svn path=/trunk/; revision=15476
* Save the pathname. (save_part): Use the new mail_config cruft to get theJeffrey Stedfast2002-01-264-14/+58
| | | | | | | | | | | | | | | 2002-01-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (save_data_cb): Save the pathname. (save_part): Use the new mail_config cruft to get the last used save pathname. * mail-config.c (config_read): Read in last_filesel_dir string. (mail_config_write_on_exit): Save the last_filesel_dir setting. (mail_config_get_last_filesel_dir): New (mail_config_set_last_filesel_dir): New svn path=/trunk/; revision=15474
* Do some NULL checking on the url before using it.Jeffrey Stedfast2002-01-262-3/+13
| | | | | | | | | | | 2002-01-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_motion): Do some NULL checking on the url before using it. (destination_folder_handle_drop): Make sure the uri is non-NULL before freeing. svn path=/trunk/; revision=15473
* Clean up some of the Makefiles so we dont' link every library multipleEttore Perazzoli2002-01-252-2/+7
| | | | | | times, causing big libtool 1.4 pain. svn path=/trunk/; revision=15461
* This wrapper for gdk_beep().Jeffrey Stedfast2002-01-252-2/+9
| | | | | | | | 2002-01-24 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (session_system_beep): This wrapper for gdk_beep(). svn path=/trunk/; revision=15460
* Don't bother trying to see if the domain looks like a FQDN.Jeffrey Stedfast2002-01-252-7/+7
| | | | | | | | | 2002-01-24 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (is_email): Don't bother trying to see if the domain looks like a FQDN. svn path=/trunk/; revision=15457
* If the mail-display is in focus, then select-all in the mail displayJeffrey Stedfast2002-01-252-3/+13
| | | | | | | | | | 2002-01-24 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (select_all): If the mail-display is in focus, then select-all in the mail display rather than the message-list. Fixes bug #19126. svn path=/trunk/; revision=15456
* Pass a NULL icon to `evolution_shell_component_add_user_creatable_item()'.Ettore Perazzoli2002-01-242-1/+8
| | | | | | | * component-factory.c (create_component): Pass a NULL icon to `evolution_shell_component_add_user_creatable_item()'. svn path=/trunk/; revision=15441
* Implements bug #15692Jeffrey Stedfast2002-01-242-11/+67
| | | | | | | | | | | | | | 2002-01-23 Jeffrey Stedfast <fejj@ximian.com> Implements bug #15692 * folder-browser.c (html_button_press_event): New callback that checks to make sure that the mouse isn't over a link or image in the html view and then calls the on_right_click handler after getting the appropriate args. (my_folder_browser_init): Connect to the button_press_event here. svn path=/trunk/; revision=15437
* Define CAMEL_PROVIDERDIR to be the configure.in-defined camel_providerdir.Dan Winship2002-01-242-2/+7
| | | | | | | | * Makefile.am (INCLUDES): Define CAMEL_PROVIDERDIR to be the configure.in-defined camel_providerdir. (Was supposed to have been committed a month ago... oops.) svn path=/trunk/; revision=15430
* Now takes a boolean notify argument. If this is *not* set, then remove theJeffrey Stedfast2002-01-233-3/+16
| | | | | | | | | | | | | 2002-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_filter_folder): Now takes a boolean notify argument. If this is *not* set, then remove the sound-notify filter rule that mail-session adds. Kinda kludgy, but good enough for the moment. * mail-callbacks.c (guess_me): Simplified. svn path=/trunk/; revision=15426
* Simplified.Jeffrey Stedfast2002-01-232-30/+34
| | | | | | | | 2002-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (guess_me): Simplified. svn path=/trunk/; revision=15424
* If the first "token" in the body is "<html>", then treat this as aJeffrey Stedfast2002-01-223-1/+19
| | | | | | | | | | | | | 2002-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): If the first "token" in the body is "<html>", then treat this as a text/html part rather than a text/plain part. Fixes bug #16817. * component-factory.c (destination_folder_handle_drop): Removed some unused variables. svn path=/trunk/; revision=15420
* Update to match new uudecode interface (ie, no longer need a uulen stateJeffrey Stedfast2002-01-182-3/+8
| | | | | | | | | 2002-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (try_uudecoding): Update to match new uudecode interface (ie, no longer need a uulen state variable). svn path=/trunk/; revision=15350
* New callback to handle the set_base signal. (on_url_requested): If theJeffrey Stedfast2002-01-163-5/+60
| | | | | | | | | | | | | | | | 2002-01-15 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_set_base): New callback to handle the set_base signal. (on_url_requested): If the base_url is set, prepend it to the data url (we don't want to do this for cid urls or part urls tho). (mail_display_init): Initialize md->base_url to NULL. (mail_display_destroy): Free the base_url. (mail_display_initialize_gtkhtml): Connect to the set_base signal. (on_link_clicked): If the base_url is set, prepend it to the url string passed to us from gtkhtml. svn path=/trunk/; revision=15329
* Don't remove any X-Evolution* headers here, the composer already knows toJeffrey Stedfast2002-01-112-3/+6
| | | | | | | | | | 2002-01-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_edit_messages): Don't remove any X-Evolution* headers here, the composer already knows to ignore these. Besides, it needs to know the X-Evolution-Format header. svn path=/trunk/; revision=15287
* Do proper refcounting on the draft folder.Jeffrey Stedfast2002-01-092-2/+10
| | | | | | | | | 2002-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_save_draft_cb): Do proper refcounting on the draft folder. svn path=/trunk/; revision=15268
* When performing a wraparound, check to see if the first (or last dependingJeffrey Stedfast2002-01-092-4/+26
| | | | | | | | | | | | | | | 2002-01-08 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_select): When performing a wraparound, check to see if the first (or last depending on direction) message fits the selection criteria before telling etable to find the next/previous matching node. * mail-account-gui.c (mail_account_gui_new): When connecting to the transport username changed event, pass the gui->transport not the gui->source. svn path=/trunk/; revision=15267
* When connecting to the transport username changed event, pass theJeffrey Stedfast2002-01-093-1/+9
| | | | | | | | | | 2002-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): When connecting to the transport username changed event, pass the gui->transport not the gui->source. svn path=/trunk/; revision=15266
* Make the mbox importer check for Mozilla status headers and act on them.Iain Holmes2002-01-094-4/+124
| | | | svn path=/trunk/; revision=15265
* Renamed. (mail_config_get_new_mail_notify_sound_file): Renamed.Jeffrey Stedfast2002-01-0810-53/+102
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_new_mail_notify_sound_file): Renamed. (mail_config_get_new_mail_notify_sound_file): Renamed. * mail-accounts.c (notify_radio_toggled): Replace EXEC with PLAY_SOUND. (construct): renamed the exec_command stuff to play_sound. * main.c (main): Init and shutdown gnome_sound. * mail-ops.c (fetch_mail_fetch): Don't do any new-mail notification here. (filter_folder_filter): call camel_filter_driver_flush. * mail-session.c (main_get_filter_driver): Set the filter-driver exec_func here instead. * mail-ops.c (mail_fetch_mail): Don't set the filter-driver exec_func here. svn path=/trunk/; revision=15263
* Add an Organization header.Jeffrey Stedfast2002-01-043-1/+8
| | | | | | | | | 2002-01-03 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Add an Organization header. svn path=/trunk/; revision=15242
* Simplified. Also no longer needs an "ignore_addr" argument as far as I canJeffrey Stedfast2002-01-032-38/+46
| | | | | | | | | | | | | | | 2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (list_add_addresses): Simplified. Also no longer needs an "ignore_addr" argument as far as I can tell so that has been removed. (mail_generate_reply): Don't pass an ignore_addr argument to list_add_addresses and also change to use g_strcase_hash and g_strcase_equal since addresses are not case snesitive (mostly). Also, Reply-To can contain multiple addresses, so handle this case too. svn path=/trunk/; revision=15231
* remove e_gnome_dialog util functions and use e-util ones insteadJP Rosevear2002-01-032-44/+6
| | | | | | | | | | | | | | | | | | | 2002-01-02 JP Rosevear <jpr@ximian.com> * mail-callbacks.c: remove e_gnome_dialog util functions and use e-util ones instead 2002-01-02 JP Rosevear <jpr@ximian.com> * e-dialog-utils.c (e_gnome_dialog_set_parent): util function moved from mail-callbacks, also destroys the dialog if the parent is destroyed (e_gnome_warning_dialog_parented): similarly (e_gnome_ok_cancel_dialog_parented): ditto * e-dialog-utils.h: new protos svn path=/trunk/; revision=15225
* The idea here is that if we consistantly name the movemail file betweenJeffrey Stedfast2002-01-033-24/+39
| | | | | | | | | | | | | | | | | | | | | 2001-12-21 Jeffrey Stedfast <fejj@ximian.com> The idea here is that if we consistantly name the movemail file between Send&Receive sessions that if the user cancells the "download" of a mbox spool that the next Send&Receive will not "lose" mail that didn't finish the previous session. Fixes bug #17759. Well, mostly. If you have 200 messages and cancel after the first 100, say, then the next time you hit Send&Receive, it will start over from 1 so you'll end up duplicating the first 100 messages, but at least you won't "lose" mail. * mail-tools.c (mail_tool_get_local_movemail_path): Now a static internal function, takes a char *uri argument and no longer generates movemail.%d filenames... they are now based on the uri provided. (mail_tool_do_movemail): Pass along the source_uri. svn path=/trunk/; revision=15224
* Makes the auto-undelete behavior when changing message flags a bit moreJon Trowbridge2001-12-212-3/+20
| | | | | | | | | 2001-12-20 Jon Trowbridge <trow@ximian.com> * message-list.c (on_click): Makes the auto-undelete behavior when changing message flags a bit more sane. (Fixes #17634) svn path=/trunk/; revision=15200
* -- Merge fix for #17377 from the evolution-1-0-branch.Ettore Perazzoli2001-12-202-0/+9
| | | | | | * main.c (main): Push GdkRGB visual and colormap. svn path=/trunk/; revision=15195
* Add the auto-cc/bcc recipients here. The problem with setting them in theJeffrey Stedfast2001-12-207-45/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Add the auto-cc/bcc recipients here. The problem with setting them in the composer is that what if the user changes which account he wants to use? We'd either have to clear the cc/bcc lists *or* we'd have to leave them alone. Either way is bad. We can't just clear the entries because the user may have added addresses since the composer was opened. We don't want to leave any old auto-cc/bcc addresses there because that isn't desirable either. So we give up and add them here after the user has already hit the send button. * mail-config.c (account_copy): Update to copy the always-[b]cc options. (account_destroy): Update to destroy the above options. (config_read): Update to read in those values. (mail_config_write): Save those options. * mail-account-gui.c (mail_account_gui_new): Setup Always Cc/Bcc widgets. (mail_account_gui_save): Get the user-entered values for the always-cc/bcc stuff. svn path=/trunk/; revision=15189
* If the provider is NULL, don't do anything.Jeffrey Stedfast2001-12-203-4/+8
| | | | | | | | | | | | | | 2001-12-19 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (setup_service): If the provider is NULL, don't do anything. * mail-accounts.c (construct): Oops, no wonder the exec command thing never stuck around... I wasn't getting the right widget from libglade. Also connect to the GtkEntry's changed event since a GnomeFileEntry doesn't have that signal in its ancestry. svn path=/trunk/; revision=15188
* Oops, no wonder the exec command thing never stuck around... I wasn'tJeffrey Stedfast2001-12-203-2/+9
| | | | | | | | | | 2001-12-19 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Oops, no wonder the exec command thing never stuck around... I wasn't getting the right widget from libglade. svn path=/trunk/; revision=15187
* Argh, don't notify about new mail here. (fetch_mail_fetch): Notify aboutJeffrey Stedfast2001-12-192-18/+22
| | | | | | | | | | 2001-12-18 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_free): Argh, don't notify about new mail here. (fetch_mail_fetch): Notify about new mail here instead. svn path=/trunk/; revision=15170
* slight fixJeffrey Stedfast2001-12-191-3/+3
| | | | svn path=/trunk/; revision=15169
* Setup the new-mail-notification widgets. (notify_command_changed): UpdateJeffrey Stedfast2001-12-197-18/+213
| | | | | | | | | | | | | | | 2001-12-18 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Setup the new-mail-notification widgets. (notify_command_changed): Update the command-line for new mail notification. (notify_radio_toggled): Update the new-mail-notification type. * mail-ops.c (filter_folder_free): See if we got any new mail and "sound the alarm" if we did. svn path=/trunk/; revision=15168
* Set citation color to black when we are printing.Jon Trowbridge2001-12-182-0/+7
| | | | | | | | | 2001-12-17 Jon Trowbridge <trow@ximian.com> * mail-format.c (handle_text_plain_flowed): Set citation color to black when we are printing. svn path=/trunk/; revision=15140
* Avoid embedding <object> tags when we are printing.Jon Trowbridge2001-12-183-13/+34
| | | | | | | | | | | | | | | | 2001-12-17 Jon Trowbridge <trow@ximian.com> * mail-format.c (attachment_header): Avoid embedding <object> tags when we are printing. (handle_multipart_signed): Don't do the click-for-info signature stuff when we are printing. (handle_via_bonobo): Don't embed an <object> tag if we are printing. * folder-browser.c: Changed context_menu[] array so that we can print when the preview pane is closed. svn path=/trunk/; revision=15139
* Set the filter driver's shell-exec callback.Jeffrey Stedfast2001-12-153-2/+9
| | | | | | | | | 2001-12-14 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_fetch_mail): Set the filter driver's shell-exec callback. svn path=/trunk/; revision=15088
* Connect to the destroy signal on the popup dialog.Jeffrey Stedfast2001-12-153-11/+32
| | | | | | | | | | | | | | 2001-12-12 Jeffrey Stedfast <fejJ@ximian.com> * mail-config.c (mail_config_check_service): Connect to the destroy signal on the popup dialog. 2001-12-12 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): Make sure i != num_specials after we check for any special text markers. Fixes bug #12265. svn path=/trunk/; revision=15085