aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* Reverted back to using e-iconvJeffrey Stedfast2003-02-273-8/+12
| | | | | | | | | | 2003-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c: Reverted back to using e-iconv * mail-composer-preferences.c: Same. svn path=/trunk/; revision=20071
* add a repo_id and a priority level to the startup wizardDan Winship2003-02-272-0/+12
| | | | | | | * GNOME_Evolution_Mail.server.in.in: add a repo_id and a priority level to the startup wizard svn path=/trunk/; revision=20070
* Reverted back to using e-iconv instead of camel-iconv.Jeffrey Stedfast2003-02-262-2/+8
| | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c: Reverted back to using e-iconv instead of camel-iconv. svn path=/trunk/; revision=20060
* Update for new EvolutionWizard interfaces.Dan Winship2003-02-252-19/+26
| | | | | | * mail-config-druid.c: Update for new EvolutionWizard interfaces. svn path=/trunk/; revision=20054
* Redo this to not use the CORBA interfaces in the local case (inDan Winship2003-02-257-756/+485
| | | | | | | | | | | | | | | | | | | | * mail-config-druid.c: Redo this to not use the CORBA interfaces in the local case (in preparation for redoing the CORBA interfaces). (mail_config_druid_new): Remove unused "shell" arg * mail-account-gui.c (mail_account_gui_transport_complete): Don't crash if there's no transport selected at all. (mail_account_gui_new): Don't try to set cc_addrs/bcc_addrs if they're NULL. * mail-accounts.c (account_add_clicked): Don't need to pass shell to mail_config_druid_new. * mail-callbacks.c (configure_mail): Don't need to pass shell to mail_config_druid_new. svn path=/trunk/; revision=20051
* Make sure m->config_service is non-NULL before usingJeffrey Stedfast2003-02-253-3/+12
| | | | | | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Make sure m->config_service is non-NULL before using m->config_service->save_passwd since PGP stuff will not have a config_service. Fixes bug #38149. * mail-account-gui.c (mail_account_gui_save): s/e_account_list_changed/e_account_list_change - otherwise we get an undefined symbol and we crash :-) svn path=/trunk/; revision=20043
* Don't always append "[script]" to the signature name. Also cleaned up someJeffrey Stedfast2003-02-252-10/+23
| | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_new_signature): Don't always append "[script]" to the signature name. Also cleaned up some memory leakage. svn path=/trunk/; revision=20039
* fixed the purple druid pagesJeffrey Stedfast2003-02-251-15/+15
| | | | svn path=/trunk/; revision=20037
* fix the g_snprintf stuff.Not Zed2003-02-244-77/+29
| | | | | | | | | | | | | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * mail-preferences.c (mail_preferences_apply): fix the g_snprintf stuff. * mail-config.c (mail_config_add_account): Use new e_account_list_add. (mail_config_remove_account): Use new e_account_list_remove. (mail_config_set_default_account): Similarly for e_account_list_set_default. (mail_config_get_default_account): Same for e_account_list_get_default. (mail_config_get_account_by_name): Use e_account_list_find. * mail-account-gui.c (mail_account_gui_save): use new e_account_list_changed call instead of manual signalling. svn path=/trunk/; revision=20020
* Set the local provider description field to a string rather than NULL toJeffrey Stedfast2003-02-232-1/+7
| | | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c: Set the local provider description field to a string rather than NULL to prevent a segfault on solaris. Fixes bug #38418. svn path=/trunk/; revision=20007
* bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499.Jeffrey Stedfast2003-02-232-2/+7
| | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_text_header): bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499. svn path=/trunk/; revision=20006
* New overloaded virtual method, does what dialog_destroy_cb was trying toJeffrey Stedfast2003-02-234-77/+87
| | | | | | | | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (mail_search_destroy): New overloaded virtual method, does what dialog_destroy_cb was trying to do. (mail_search_construct): Connect to the "response" signal rather than "clicked" to correspond to the GtkDialog API (instead og the old GnomeDialog API). (dialog_response_cb): Changed the function name and made it check button == GTK_RESPONSE_ACCEPT to search, any other button closes. Fixes bug #37947. svn path=/trunk/; revision=20005
* Don't try to get a FontPrefs control.Hans Petter Jansson2003-02-224-3/+16
| | | | | | | | | | | | | | 2003-02-21 Hans Petter Jansson <hpj@ximian.com> * component-factory.c (factory): Don't try to get a FontPrefs control. * mail-config-factory.c (mail_config_control_factory_cb): Just return NULL if a FontPrefs control was requested. * mail-config.c (mail_config_get_default_account): If no accounts are defined, don't try to set the default account. svn path=/trunk/; revision=19996
* Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-223-8/+8
| | | | | | some LDADDs in the process svn path=/trunk/; revision=19994
* Use tables instead of vboxes, so that groups of label/entry pairs (as inDan Winship2003-02-225-73/+113
| | | | | | | | | | | | | | | | * mail-account-gui.c (mail_account_gui_build_extra_conf): Use tables instead of vboxes, so that groups of label/entry pairs (as in Connector's config page) can line up nicely. * mail-config.glade: Turn extra_vbox and extra_mailcheck_vbox into tables. * mail-config-druid.c (get_fn): s/extra_vbox/extra_table/ * Makefile.am (libevolution_mail_la_LIBADD): s/libcomposer.a/libcomposer.la/ svn path=/trunk/; revision=19993
* fixed a type-oJeffrey Stedfast2003-02-211-1/+1
| | | | svn path=/trunk/; revision=19988
* Use camel_folder_free_uids().Jeffrey Stedfast2003-02-212-6/+11
| | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_all_as_seen): Use camel_folder_free_uids(). svn path=/trunk/; revision=19986
* Use camel_charset_canonical_name() here instead of e_iconv_charset_name().Jeffrey Stedfast2003-02-214-9/+23
| | | | | | | | | | | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Use camel_charset_canonical_name() here instead of e_iconv_charset_name(). * mail-preferences.c (mail_preferences_construct): Same as below. (mail_preferences_apply): Again here. * mail-composer-prefs.c (mail_composer_prefs_construct): Use camel_charset_locale_name() here instead of e_iconv_locale_charset(). (mail_composer_prefs_apply): Same. svn path=/trunk/; revision=19978
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-212-2/+8
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* ignore more generated stuffChris Toshok2003-02-201-0/+1
| | | | svn path=/trunk/; revision=19960
* ?Jeffrey Stedfast2003-02-201-5/+2
| | | | svn path=/trunk/; revision=19948
* add .server.in filesDan Winship2003-02-201-1/+4
| | | | svn path=/trunk/; revision=19944
* Fixed a memory leak - make sure to free all uids.Jeffrey Stedfast2003-02-192-1/+6
| | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_all_as_seen): Fixed a memory leak - make sure to free all uids. svn path=/trunk/; revision=19936
* fixes to my last commitJeffrey Stedfast2003-02-191-18/+17
| | | | svn path=/trunk/; revision=19933
* Removed. (lookup_signature): Removed. (xml_get_int): Removed.Jeffrey Stedfast2003-02-194-146/+52
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (uri_to_key): Removed. (lookup_signature): Removed. (xml_get_int): Removed. (xml_get_bool): Removed. (mail_config_get_time_24hour): Removed. * evolution-mail.schemas: s/long/int/g and change default_account to be a string instead of an int. * mail-config.c (mail_config_get_default_account): default_account now uses the account uid, so change the code a bit to match uid strings rather than use an index. (mail_config_remove_account): Same here. simplifies the code a bunch. (mail_config_set_default_account): Here too. * folder-browser-ui.c (folder_browser_ui_setup_view_menus): Update the GalView path. svn path=/trunk/; revision=19932
* Change the logic here slightly. Instead of only reprompting the user ifJeffrey Stedfast2003-02-152-9/+32
| | | | | | | | | | | | | | | | 2003-02-14 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_get_pass): Change the logic here slightly. Instead of only reprompting the user if the cache is empty, also reprompt the user if the backend is forcing a reprompt. (request_password): If we have a cached passwd string for the account, fill-in the GtkEntry box with that value by default. This, together with the camel changes, fixes the "Evolution forgets my POP passwd if it gets a -ERR response during the login phase" bug. svn path=/trunk/; revision=19911
* #include <stdio.h>Jeffrey Stedfast2003-02-145-15/+36
| | | | | | | | | | | | | | | | | | | | | | 2003-02-13 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c: #include <stdio.h> * mail-config-factory.c: #include <string.h> * mail-config-druid.c (identity_prepare): Use gtk_editable_select_region() since gtk_entry_select_region() has been deprecated. (construct): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). (wizard_free): account_destroy() is no longer around, use g_object_unref() instead. (how did this even compile before?) * mail-account-gui.c (mail_account_gui_build_extra_conf): Use gtk_label_set_text_with_mnemonic() instead of gtk_label_parse_uline() as the latter has been deprecated. svn path=/trunk/; revision=19905
* Removed unused variables.Jeffrey Stedfast2003-02-135-59/+25
| | | | | | | | | | | | | | | | | 2003-02-12 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c: Removed unused variables. * importers/pine-importer.c: Removed unused variables. (parse_address): Removed - it's unused and we have CamelAddress available to us anyway. * importers/elm-importer.c: Removed unused variables. * importers/evolution-mbox-importer.c (load_file_fn): Removed an unused variable. svn path=/trunk/; revision=19896
* Use gtk_window_set_resizable() instead of gtk_window_set_policy().Jeffrey Stedfast2003-02-126-35/+25
| | | | | | | | | | | | | | 2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). * mail-config.c: Fix a bunch of warnings. (mail_config_signature_write): Removed. * mail-callbacks.c: Removed unused variables. svn path=/trunk/; revision=19885
* Register a destroy virtual method. (mail_accounts_tab_destroy): SetJeffrey Stedfast2003-02-125-29/+51
| | | | | | | | | | | | | | 2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_class_init): Register a destroy virtual method. (mail_accounts_tab_destroy): Set mail_display->destroyed = TRUE. * message-list.c (message_list_destroy): Set mail_display->destroyed = TRUE. This is a workaround for the GTK_OBJECT_DESTROYED() macro that we used to use before. svn path=/trunk/; revision=19884
* Set mail_display->destroyed = TRUE. This is a workaround for theJeffrey Stedfast2003-02-123-13/+15
| | | | | | | | | | 2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_destroy): Set mail_display->destroyed = TRUE. This is a workaround for the GTK_OBJECT_DESTROYED() macro that we used to use before. svn path=/trunk/; revision=19883
* Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): SameJeffrey Stedfast2003-02-1112-63/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-10 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (build_tree): Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same here. * mail-signature-editor.c: #include <string.h> * mail-vfolder.c: #include <string.h> * mail-session.c: #include <string.h> * mail-search.c: #include <string.h> * mail-mt.c: #include <string.h> * mail-ops.c (save_part_save): Use strcasecmp() instead of g_strcasecmp(). * mail-local.c: #include <string.h> (reconfigure_folder_reconfigured): Use a GtkDialog instead of gnome_error_dialog(). * mail-format.c (find_preferred_alternative): Use g_ascii_strdown since g_strdown is deprecated. (fake_mime_part_from_data): Removed, no longer used it seems. (destroy_part): Also removed. * mail-display.c (make_popup_window): Replace call to gtk_window_set_polociy() with gtk_window_set_resizable() instead. (popup_size_allocate_cb): Use gtk_window_set_position() with GTK_WIN_POS_MOUSE instead of calculating the position to put it in. svn path=/trunk/; revision=19878
* Split the ORBit IDL compilation rules to work properly with parallelEttore Perazzoli2003-02-113-13/+39
| | | | | | | | | | | | | | * importers/Makefile.am: Split the ORBit IDL compilation rules to work properly with parallel makes. (BUILT_SOURCES): Add this. (CLEANFILES): Add this. * Makefile.am: Split the ORBit IDL compilation rules to work properly with parallel makes. (BUILT_SOURCES): Add $(IDL_GENERATED) here. (CLEANFILES): Remove from here. svn path=/trunk/; revision=19874
* Add LDFLAGS to ported libsRodney Dawes2003-02-102-0/+10
| | | | | | | | 2003-02-10 Rodney Dawes <dobey@ximian.com> * importers/Makefile.am: Add LDFLAGS to ported libs svn path=/trunk/; revision=19867
* look in the http cache for images when saving (image_save_as): removeLarry Ewing2003-02-102-24/+40
| | | | | | | | | | | | 2003-02-10 Larry Ewing <lewing@ximian.com> * mail-display.c (save_url): look in the http cache for images when saving (image_save_as): remove random warning. (do_external_viewer): remove unused variable. (do_attachment_header): use g_ascii_strdown svn path=/trunk/; revision=19864
* don't use random memory as a gconf client.Larry Ewing2003-02-082-0/+6
| | | | | | | | | 2003-02-07 Larry Ewing <lewing@ximian.com> * mail-display.c (save_data_cb): don't use random memory as a gconf client. svn path=/trunk/; revision=19848
* track change to e_book_load_uri type.Chris Toshok2003-02-072-3/+6
| | | | | | | | | 2003-02-06 Chris Toshok <toshok@ximian.com> * importers/pine-importer.c (import_addressbook): track change to e_book_load_uri type. svn path=/trunk/; revision=19840
* (on_right_click): UseEttore Perazzoli2003-02-072-1/+7
| | | | | | | e_auto_kill_popup_menu_on_selection_done() instead of e_auto_kill_popup_menu_on_hide(). svn path=/trunk/; revision=19837
* Fix EVOLUTION_ICONSDIRDan Winship2003-02-072-2/+3
| | | | svn path=/trunk/; revision=19825
* add EVOLUTION_PRIVDATADIRDan Winship2003-02-079-9/+25
| | | | | | | | | | | | | | | | | * Makefile.am (INCLUDES): add EVOLUTION_PRIVDATADIR * component-factory.c (owner_set_cb): Use EVOLUTION_PRIVDATADIR * mail-autofilter.c (filter_gui_add_from_message): Likewise (mail_filter_rename_uri): Likewise (mail_filter_delete_uri): Likewise * mail-callbacks.c (filter_edit): Likewise. * mail-search-dialogue.c (mail_search_dialogue_construct): Likewise * mail-session.c (main_get_filter_driver): Likewise * mail-summary.c (generate_folder_summaries): Likewise * mail-vfolder.c (vfolder_load_storage): Likewise svn path=/trunk/; revision=19824
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-072-2/+4
| | | | svn path=/trunk/; revision=19818
* Remove *dir defs that are in configure.in now (INCLUDES): clean up usingDan Winship2003-02-074-38/+44
| | | | | | | | | | | | | | | * Makefile.am: Remove *dir defs that are in configure.in now (INCLUDES): clean up using new *dir variables (libevolution_mail_la_LDFLAGS): remove -export-dynamic, add -module * importers/Makefile.am (INCLUDES): change EVOLUTION_DATADIR to EVOLUTION_PRIVDATADIR * importers/netscape-importer.c (netscape_import_filters): use EVOLUTION_PRIVDATADIR svn path=/trunk/; revision=19805
* add an activate handler to the entry so that hitting return will return anLarry Ewing2003-02-062-0/+13
| | | | | | | | | 2003-02-06 Larry Ewing <lewing@ximian.com> * mail-session.c (pass_activate): add an activate handler to the entry so that hitting return will return an OK response. svn path=/trunk/; revision=19800
* s/glade_gnome_init/glade_init/Dan Winship2003-02-062-1/+5
| | | | | | * main.c (main): s/glade_gnome_init/glade_init/ svn path=/trunk/; revision=19762
* update from ../../importers/. (main): Removed.Not Zed2003-02-056-15/+3661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-05 Not Zed <NotZed@Ximian.com> * importers/netscape-importer.c: update from ../../importers/. (main): Removed. (mail_importer_module_init): Setup module init fn. (factory_fn): api changes. (is_dir_empty): deprecated changes, and clean up logic. (importer_cb): pulse progress bar, use idle function for processing next item. (import_next): Remove link before recursing, also fix memleak, and api changes. (netscape_import_file): dont release importer. (*): gconf'ify * importers/elm-importer.c (elm_factory_fn): Track the evolution_intelligent_importer, so we can unref it when done. (*): gconf'ify. * importers/pine-importer.c (parse_line): use gobject stuff rather than gtkobject. (import_addressfile): close down 'properly' when finished. (importer_timeout_fn): Do most processing decisions here, either from a timeout or idle function. This prevents us getting 1 stack frame per message and per folder. Close down properly also. (importer_cb): Add a timeout, ignore the callback, or add an idle function to process the next item. (pine_import_file): dont release the importer if we can't load it, its released elsewhere, i think. (import_addressfile): step the progress bar as we go. (factory_fn): Track the evolution_intelligent_importer, so we can unref when done. (*): gconf'ify 2003-01-31 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (elm_can_import): g_file_exists -> lstat, and g_build_filename api changes. * importers/pine-importer.c: moved from ../../importers/pine-importer.c (factory_fn): oaf->bonobo_activation (mail_importer_module_init): setup factory. (main): Removed. (*): REemove bonobo config stuff. (factory_fn): destroy signal -> weak ref. (pine_destroy_cb): Fix signature for weak ref notify. (import_addressfile): use new glib filename stuff. (import_addressbook): same. (pine_can_import): and here. (import_next): and here. (scan_dir): and here (pine_create_structure): And here. (pine_can_import): g_file_exists -> lstat. (importer_cb): If there are more items, use an idle handler to drop back a few stack frames rather than recursing for each message. (import_next): unlink data from dir_list before recursing, and fix leak. 2003-01-30 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (elm_destroy_cb): Change for weak ref setup. (elm_factory_fn): destroy -> weak ref. 2003-01-29 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (importer_cb): Pass processItem off to an idle handler, so we dont blow our stacks. Also update to use progress_bar_pulse(). (import_item_idle): Get the next message here instead. (import_next): Fix a glist leak. Unlink the file before we import it too. And close the dialogue and clean up when we've run out of folders to import. 2003-01-17 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (elm_create_structure): use/free elmdir rather than double-free maildir. 2003-01-16 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c: update from ../importers/elm-importer.c svn path=/trunk/; revision=19752
* fixed button/text mismatchesJeffrey Stedfast2003-02-051-17/+17
| | | | svn path=/trunk/; revision=19741
* removed broken stringsJeffrey Stedfast2003-02-051-301/+335
| | | | svn path=/trunk/; revision=19737
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-052-3/+3
| | | | svn path=/trunk/; revision=19736
* Get the thread_subject setting here instead of in regen_list_regen sinceJeffrey Stedfast2003-02-042-7/+13
| | | | | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (mail_regen_list): Get the thread_subject setting here instead of in regen_list_regen since that function will be called in another thread and we can't make corba calls in anything but the main thread. (regen_list_regen): Don't make CORBA calls here! (shame on me). svn path=/trunk/; revision=19715
* Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crapJeffrey Stedfast2003-02-041-9/+7
| | | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crap I implemented before. svn path=/trunk/; revision=19714
* Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crapJeffrey Stedfast2003-02-043-19/+29
| | | | | | | | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crap I implemented before. 2003-02-01 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_link_clicked): Pass in the *address* of the GError to gnome_url_show(), otherwise bad things happen :-) svn path=/trunk/; revision=19711
* New function to return a cached list of labels.Jeffrey Stedfast2003-02-017-178/+210
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-31 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_labels): New function to return a cached list of labels. (mail_config_get_label_color_by_name): New convenience function to search the cached labels. (mail_config_get_label_color_by_index): Same. (mail_config_init): Cache the labels and also listen for changes to them in the gconf db. (config_cache_labels): Internal function to cache the labels. * folder-browser.c (on_right_click): Fixed the label colours in the menu by using the cached linked list of labels. * mail-preferences.c (colorpicker_set_color): Now takes a string argument allowing us to get rid of converting a string into an rgb guint32 all over the place when trying to set defaults, since we now store colors in gconf as strings. (mail_preferences_construct): Use the cached labels (they are already parsed for us). svn path=/trunk/; revision=19694
* Change strcmp(fi->path, path) to strcmp(fi->name, name) and now theJeffrey Stedfast2003-01-282-2/+10
| | | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Change strcmp(fi->path, path) to strcmp(fi->name, name) and now the execution takes the right path. My patch base on Callie's patch for bug #33525. svn path=/trunk/; revision=19661
* Fixed a #warning by converting a local path into a file: uri beforeJeffrey Stedfast2003-01-285-6/+31
| | | | | | | | | | | | | | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Fixed a #warning by converting a local path into a file: uri before feeding it to gnome-vfs. * message-list.c (message_list_set_folder): Removed a FIXME that I've decided is no longer needed. 2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_add_account): Emit the account-added event. (mail_config_remove_account): Emit the account-removed event. * mail-account-gui.c (mail_account_gui_save): Emit the changed event on the account-list for the changed account. svn path=/trunk/; revision=19655
* removed a FIXME commentJeffrey Stedfast2003-01-272-1/+5
| | | | svn path=/trunk/; revision=19647
* Set the paned_size here.Jeffrey Stedfast2003-01-254-110/+22
| | | | | | | | | | | | | | | | | 2003-01-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Set the paned_size here. * folder-browser.c (folder_browser_gui_init): Don't bother connecting to the hide-deleted, message-display-style, paned-size, nor show-preview gconf notifications anymore, since we can just set them when the view becomes active again in folder-browser-ui.c. Cuts down on extra overhead. (folder_browser_destroy): No need to disconnect from those notifications anymore either. svn path=/trunk/; revision=19626
* (iconsdir): Remove, this is now defined inEttore Perazzoli2003-01-252-1/+5
| | | | | | configure.in. svn path=/trunk/; revision=19621
* transfer the current acount info, which will be regarded as the sender ofleon.zhang2003-01-246-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-07 leon.zhang <leon.zhang@sun.com> * component-factory.c (user_create_new_item_cb): transfer the current acount info, which will be regarded as the sender of new composer, to send_to_url(). * mail-callbacks.h (send_to_url): Add a new parameter for parent folder uri. * mail-callbacks.c (send_to_url): Create composer base on source account info from parent folder physical uri. (post_to_url): create composer based on current account from parent folder physical uri. * mail-display.c (on_link_clicked): Apply new format of function: send_to_url. Fixes bug #35123 #35289 2003-01-24 Not Zed <NotZed@Ximian.com> * mail-local.c (non_equal): We do actually need to check they are file url's, otherwise, all url's match. svn path=/trunk/; revision=19611
* Use button_release instead of size_allocate, and get the position from theRodney Dawes2003-01-242-10/+17
| | | | | | | | | | 2003-01-23 Rodney Dawes <dobey@ximian.com> * folder-browser.c (fb_resize_cb): Use button_release instead of size_allocate, and get the position from the Paned widget to prevent calling CORBA all the time for GConf stuff svn path=/trunk/; revision=19607
* Define componentdir instead of COMPONENT_DIR. Set it toEttore Perazzoli2003-01-242-1/+5
| | | | | | | | | | | | | | | | | | | | | | * configure.in (idldir): Define componentdir instead of COMPONENT_DIR. Set it to $privlibdir/components instead of $libdir/evolution-$(BASE_VERSION)/components. * gui/component/select-names/Makefile.am (componentdir): Remove definition; no need to set it here since it's now defined in configure.in * gui/component/Makefile.am (componentdir): Likewise. * gui/Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. svn path=/trunk/; revision=19588
* removed *.oaf.in that were leftJeffrey Stedfast2003-01-233-367/+0
| | | | svn path=/trunk/; revision=19582
* Removed. (mail_config_set_thread_list): Removed.Jeffrey Stedfast2003-01-235-111/+27
| | | | | | | | | | | | | | | | | | 2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_thread_list): Removed. (mail_config_set_thread_list): Removed. (mail_config_uri_renamed): No longer needs to change threaded state for each url either. (mail_config_write_on_exit): Updated. * folder-browser-ui.c (folder_browser_ui_add_list): Get the threaded state via gconf. * folder-browser.c (folder_browser_toggle_threads): Save the threaded state. svn path=/trunk/; revision=19580
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-2312-43/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser-ui.c (folder_browser_ui_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * message-browser.c (set_bonobo_ui): Get evolution-mail-messagedisplay.xml from EVOLUTION_UIDIR. * mail-signature-editor.c (mail_signature_editor): Get evolution-signature-editor.xml from EVOLUTION_UIDIR. * folder-browser-ui.c (ui_add): Get the evoluiton-mail* XML files from EVOLUTION_UIDIR. * Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR; update EVOLUTION_IMAGESDIR to include the $(BASE_VERSION). (gladedir): Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir): Likewise. (buttonsdir): Likewise. (etspecdir): Likewise. * component-factory.c (owner_set_cb): Look for vfoldertypes.xml in the new version-aware location. * mail-summary.c (generate_folder_summaries): Likewise. * mail-search-dialogue.c (mail_search_dialogue_construct): Likewise. * mail-vfolder.c (vfolder_load_storage): Likewise. * mail-autofilter.c (filter_gui_add_from_message): Look for filtertypes.xml in the new version-aware location. (mail_filter_rename_uri): Likewise. (mail_filter_delete_uri): Likewise. * mail-session.c (main_get_filter_driver): Likewise. * mail-callbacks.c (filter_edit): Likewise. svn path=/trunk/; revision=19562
* put unrealized html widget into top level widget (gtk window) beforeRadek Doulik2003-01-232-3/+16
| | | | | | | | | | 2003-01-22 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): put unrealized html widget into top level widget (gtk window) before realizing it destroy temporary widgets (w, html) svn path=/trunk/; revision=19545
* Don't unref the account object, e_list_remove() apparently handles thisJeffrey Stedfast2003-01-223-2/+8
| | | | | | | | | | | | 2003-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_remove_account): Don't unref the account object, e_list_remove() apparently handles this for us. * mail-accounts.c (account_delete_clicked): Don't unref the confirm dialog, it was already destroyed. svn path=/trunk/; revision=19541
* applied patch from Frederic Crozat <fcrozat@mandrakesoft.com>Radek Doulik2003-01-221-10/+10
| | | | svn path=/trunk/; revision=19540
* Default to hiding deleted messages. Fixes bug #35929.Jeffrey Stedfast2003-01-213-29/+29
| | | | | | | | | | | | | | | 2003-01-20 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail.schemas: Default to hiding deleted messages. Fixes bug #35929. * mail-preferences.c (entry_changed): Removed. (toggle_button_toggled): Removed. (settings_changed): New callback that replaces the two above. No need to have multiple callback functions when the signature is the same. svn path=/trunk/; revision=19532
* Don't !atoi (state) for the message_list_set_hidedeleted() call.Jeffrey Stedfast2003-01-212-1/+6
| | | | | | | | | 2003-01-20 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_toggle_hide_deleted): Don't !atoi (state) for the message_list_set_hidedeleted() call. svn path=/trunk/; revision=19531
* e_question returns a boolean, don't test for a specific value.Larry Ewing2003-01-192-1/+4
| | | | | | | | | 2003-01-18 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (save_msg_ok): e_question returns a boolean, don't test for a specific value. svn path=/trunk/; revision=19518
* (on_link_clicked): call gnome_url_show with all its arguments soLarry Ewing2003-01-192-5/+13
| | | | | | | that it actually does something. Also pass news and nntp urls to gnome_url_show so that they can be handled properly. svn path=/trunk/; revision=19515
* make the event handlers return FALSE so that gtkhtml can process theLarry Ewing2003-01-182-5/+9
| | | | | | | | | 2003-01-18 Larry Ewing <lewing@ximian.com> * mail-display.c (html_button_press_event): make the event handlers return FALSE so that gtkhtml can process the events. svn path=/trunk/; revision=19514
* wrap eriched entries with a table so that they get proper indentation.Larry Ewing2003-01-182-3/+7
| | | | | | | | | 2003-01-17 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_text_enriched): wrap eriched entries with a table so that they get proper indentation. svn path=/trunk/; revision=19512
* Updated. (request_password): Same.Jeffrey Stedfast2003-01-1820-1125/+833
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_get_pass): Updated. (request_password): Same. * mail-send-recv.c (mail_send): Fixed to use EAccountService. * mail-config-druid.c (make_account): Updated to use EAccount and friends. * mail-account-gui.c (service_check_supported): Updated to use EAccountService. (mail_account_gui_new): Ref the account passed in and also update to use EAccount objects. (save_service): Updated to use an EAccountService. (add_new_store): Updated to use an EAccount. (mail_account_gui_save): Updated to use EAccounts. (setup_signatures): Updated because the new account->id->def_sig is now an int and not a structure pointer. * mail-account-editor.c (construct): Updated. (mail_account_editor_new): Now takes an EAccount object as an argument instead of a MailConfigAccount. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to use EAccounts. * subscribe-dialog.c (populate_store_foreach): Removed. (populate_store_list): Can't use populate_store_foreach here because of the change to EAccountList so do it manually. * mail-vfolder.c (uri_is_ignore): Rewrote to use EAccountList and EIterator and all that fun. * mail-send-recv.c (build_dialogue): Updated to use EAccountList and EAccount object stuff. *ugh* (mail_send_receive): Here too. (mail_autoreceive_setup): Same. * mail-callbacks.c (check_send_configuration): Updated. (composer_get_message): Updated. (compose_msg): " (list_add_addresses): " (guess_me): " (guess_me_from_accounts): Same. (forward_get_composer): Here too. (mail_generate_reply): Same. (redirect_get_composer): " (empty_trash): And finally here. * mail-accounts.c (account_edit_clicked): Updated. (account_delete_clicked): Same. (account_default_clicked): Here too. (account_able_clicked): " (account_cursor_change): " (mail_accounts_load): Again here. * folder-browser.c (folder_browser_is_drafts): Updated to use EAccountList and EAccount stuff. (folder_browser_is_sent): Same. * component-factory.c (mail_load_storages): Updated to use EAccount and EAccountList stuff. (owner_set_cb): Same. (send_receive_cb): Here too. * mail-config.c: Rewritten to use EAccount and EAccountList objects. svn path=/trunk/; revision=19509
* fixed merge conflictsJeffrey Stedfast2003-01-171-1/+0
| | | | svn path=/trunk/; revision=19501
* Connect to the toggled event on the transport_needs_auth toggle button soJeffrey Stedfast2003-01-172-35/+61
| | | | | | | | | | | 2003-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (get_fn): Connect to the toggled event on the transport_needs_auth toggle button so if the user turns this off after having deleted the username field, the Next button becomes re-enabled. Fixes bug #36862. svn path=/trunk/; revision=19500
* Same as below.Jeffrey Stedfast2003-01-177-149/+224
| | | | | | | | | | | | | | | | | | | | | 2003-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_fill_clist): Same as below. * mail-account-gui.c (sig_fill_options): mail_config_get_signature_list() now returns a GSList instead of a GList. * mail-config.c (signature_new_from_xml): New function to parse a signature xml blob into a MailConfigSignature structure. (config_read_signatures): Rewritten to use above function. (signature_to_xml): New function to write a signature to xml. (config_write_signatures_num): Removed. (config_write_signature): Removed. (config_write_signatures): Rewritten to use signature_to_xml and gconf. svn path=/trunk/; revision=19497
* Add a UID field (to match EAccount), which never changes and can be usedDan Winship2003-01-174-2/+28
| | | | | | | | | | | | | | | | * mail-config.h (MailConfigAccount): Add a UID field (to match EAccount), which never changes and can be used by gconf watchers to distinguish an account rename from a deletion and creation. * mail-config.c (account_copy): Create a new UID on the new account. (account_new_from_xml): Read the UID. (If it doesn't have one, make one.) (account_to_xml): Write the UID. * mail-config-druid.c (make_account): add a UID to each account svn path=/trunk/; revision=19496
* cast to avoid warningsJeffrey Stedfast2003-01-161-1/+1
| | | | svn path=/trunk/; revision=19489
* Change the enable/disable button when the state changes.Not Zed2003-01-162-0/+7
| | | | | | | | | 2003-01-15 Not Zed <NotZed@Ximian.com> * mail-accounts.c (account_able_clicked): Change the enable/disable button when the state changes. svn path=/trunk/; revision=19487
* Back to using e_xml_save_file().Jeffrey Stedfast2003-01-162-3/+6
| | | | | | | | 2003-01-15 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (save_metainfo): Back to using e_xml_save_file(). svn path=/trunk/; revision=19484
* Make dialog Cancel/OK to match HIG.Ettore Perazzoli2003-01-156-10/+29
| | | | | | | | | | | | | | | | * message-tag-editor.c (message_tag_editor_init): Make dialog Cancel/OK to match HIG. * mail-signature-editor.c (do_exit): Make confirmation dialog Discard/Cancel/Save to match the HIG. * mail-composer-prefs.c (mail_composer_prefs_construct): Make dialog Cancel/OK to match HIG. * mail-account-editor.c (construct): Make the dialog Apply/Close/OK to match HIG. svn path=/trunk/; revision=19469
* Call mail_config_save_accounts ().Jeffrey Stedfast2003-01-154-4/+26
| | | | | | | | | | | | 2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Call mail_config_save_accounts (). * mail-config.c (mail_config_save_accounts): New function to save accounts without having to re-load them. svn path=/trunk/; revision=19464
* reverted fe casts and added ChageLog entriesRadek Doulik2003-01-153-3/+13
| | | | | | | | | | | | | | 2003-01-14 Radek Doulik <rodo@ximian.com> * folder-browser.c (etree_key): use gtk_scrolled_window_* functions for mail_display->scroll * mail-display.c (mail_display_new): use gtk_scrolled_window_* functions * mail-display.h: use GtkScrolledWindow instead of EScrollFrame svn path=/trunk/; revision=19463
* Change the user_data argument to be of type gpointer instead ofJeffrey Stedfast2003-01-152-2/+8
| | | | | | | | | | 2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixmap_press): Change the user_data argument to be of type gpointer instead of EScrollFrame, since, well, it's not an EScrollFrame anymore. svn path=/trunk/; revision=19461
* (libevolution_mail_la_SOURCES): Add mail-format.h.Ettore Perazzoli2003-01-152-0/+7
| | | | | | (EXTRA_DIST): Add $(schema_DATA). svn path=/trunk/; revision=19454
* Make the component be unversioned as a shlibRodney Dawes2003-01-152-1/+5
| | | | | | | | 2003-01-14 Rodney Dawes <dobey@ximian.com> * Makefile.am: Make the component be unversioned as a shlib svn path=/trunk/; revision=19449
* Switch to using GtkPaned instead of EPaned for GTK2Rodney Dawes2003-01-152-8/+11
| | | | svn path=/trunk/; revision=19444
* EScrollFrame --> GtkScrolledWindowRadek Doulik2003-01-154-18/+13
| | | | svn path=/trunk/; revision=19440
* install the schemas fileJeffrey Stedfast2003-01-141-0/+7
| | | | svn path=/trunk/; revision=19436
* Perform some sanity checking on the auto-check-timeout value.Jeffrey Stedfast2003-01-142-1/+12
| | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (account_new_from_xml): Perform some sanity checking on the auto-check-timeout value. svn path=/trunk/; revision=19435
* Correctly create the clipboard buffer by using a nul to delimit the uriJeffrey Stedfast2003-01-142-2/+6
| | | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Correctly create the clipboard buffer by using a nul to delimit the uri and the list of uids. svn path=/trunk/; revision=19433
* Check the state of message_style in gconf and set the menus accordingly.Jeffrey Stedfast2003-01-144-12/+52
| | | | | | | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_message): Check the state of message_style in gconf and set the menus accordingly. * folder-browser.c (folder_browser_destroy): Remove listener for message_style change notification. (folder_browser_gui_init): Connect a listener for changes to message_style. svn path=/trunk/; revision=19432
* Save the auto-check timeout value. (account_new_from_xml): Load theJeffrey Stedfast2003-01-142-4/+9
| | | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (account_to_xml): Save the auto-check timeout value. (account_new_from_xml): Load the auto-check-timeout value. svn path=/trunk/; revision=19429
* include headersJeffrey Stedfast2003-01-142-6/+5
| | | | svn path=/trunk/; revision=19428
* s/BonoboXObject/BonoboObject/Dan Winship2003-01-145-21/+29
| | | | | | | | | | * folder-info.c: s/BonoboXObject/BonoboObject/ * mail-config.c: Likewise * mail-offline-handler.c: Likewise svn path=/trunk/; revision=19426
* hook onto destroy to remove dialogue from active table. (error_response):Not Zed2003-01-132-2/+11
| | | | | | | | | | 2003-01-13 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_check_error): hook onto destroy to remove dialogue from active table. (error_response): Just destroy on any response, dont unref either. svn path=/trunk/; revision=19423
* g_strdup the md->charset otherwise we'll get memory corruption later. ThisJeffrey Stedfast2003-01-122-1/+7
| | | | | | | | | | 2003-01-11 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): g_strdup the md->charset otherwise we'll get memory corruption later. This may be why non-usascii text is displaying incorrectly. svn path=/trunk/; revision=19419
* We also need to call message_list_set_hidedeleted() here so that anyJeffrey Stedfast2003-01-116-42/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_list): We also need to call message_list_set_hidedeleted() here so that any deactivated folder controls will change to the currently set state when re-activated. (folder_browser_ui_add_global): Same for show_preview. * folder-browser.c (hide_deleted_changed): Don't call message_list_set_hidedeleted() here. (folder_browser_toggle_hide_deleted): Instead, call it here. This way we get a faster "response time". Also, this will make it so that not all folder controls will regen their message-list at the same time. (folder_browser_toggle_preview): Same idea as the hide-deleted changes. (show_preview_changed): See above. * mail-config-druid.c (make_account): Default the new account to enabled. (wizard_finish_cb): Don't set enabled here. svn path=/trunk/; revision=19417
* notify-type is a int, not a bool. Duh.Jeffrey Stedfast2003-01-112-1/+6
| | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): notify-type is a int, not a bool. Duh. svn path=/trunk/; revision=19411
* Updated for function rename.Jeffrey Stedfast2003-01-1110-53/+81
| | | | | | | | | | | | | | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (factory): Updated for function rename. * mail-config-factory.c (mail_config_control_factory_cb): Namespaced the function name. * folder-browser-ui.c (folder_browser_ui_add_global): Don't add the listener for show_preview here, it was moved into folder-browser.c so we could detach the listener when the folder-browser is destroyed. Also prevents a listener being added multiple times (which was possible? before). * folder-browser.c (folder_browser_destroy): Remove the gconf notify handler for show_preview. (show_preview_changed): Moved here from folder-browser-ui.c svn path=/trunk/; revision=19408
* Fixed a situation in which we could notify the shell listener twice.Jeffrey Stedfast2003-01-113-21/+26
| | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Fixed a situation in which we could notify the shell listener twice. svn path=/trunk/; revision=19401
* Save the paned_size notify handle. (folder_browser_destroy): Remove gconfNot Zed2003-01-103-3/+15
| | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): Save the paned_size notify handle. (folder_browser_destroy): Remove gconf notify handler. svn path=/trunk/; revision=19395
* Remove info.png from a couple of images, the image is set via code atNot Zed2003-01-102-2/+4
| | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * mail-config.glade: Remove info.png from a couple of images, the image is set via code at runtime. Removes some annoying runtime warnings. svn path=/trunk/; revision=19393
* enable the account before attempting to saving it.Chris Toshok2003-01-103-3/+13
| | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * mail-config-druid.c (wizard_finish_cb): enable the account before attempting to saving it. * mail-accounts.c (account_delete_clicked): need to show the buttons added to the dialog. svn path=/trunk/; revision=19391
* dont unref the dialogue. (dialog_destroy_cb): null out theNot Zed2003-01-102-5/+9
| | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (dialogue_response): dont unref the dialogue. (dialog_destroy_cb): null out the send_recv_dialogue after destroy. (build_dialogue): show the stop button svn path=/trunk/; revision=19390
* pass bag to bonobo_pbclient_set_boolean.Chris Toshok2003-01-102-1/+6
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * folder-info.c (evolution_folder_info_notify_ready): pass bag to bonobo_pbclient_set_boolean. svn path=/trunk/; revision=19371
* (owner_set_cb): Don't callEttore Perazzoli2003-01-102-4/+6
| | | | | | | mail_config_register_factory() or evolution_mail_config_wizard_init(). svn path=/trunk/; revision=19370
* #include "mail-format.h"Jeffrey Stedfast2003-01-101-0/+1
| | | | svn path=/trunk/; revision=19367
* Added druidpagestart1 to the pages list. (construct): Change the limits onNot Zed2003-01-099-188/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-09 Not Zed <NotZed@Ximian.com> * mail-config-druid.c: Added druidpagestart1 to the pages list. (construct): Change the limits on the page initialisation, and widget_show_all on the page rather than the content. * GNOME_Evolution_Mail.server.in.in: Make Mail a shlib component. * folder-info.c (evolution_folder_info_factory_init): Removed. (evolution_folder_info_factory_fn): renamed to evolution_folder_info_new(). * mail-config-druid.c (evolution_mail_config_wizard_factory_fn): Renamed to evolution_mail_config_wizard_new(). (evolution_mail_config_wizard_init): Removed. * mail-config-factory.c (mail_config_register_factory): Remove. (config_control_factory_cb): make this public. * Makefile.am: setup evolution-mail as a shared library. * component-factory.c (make_factory): implement the bonobo-plugin factory for shlib operation. Also, preliminary work to setup mailer-specific (factory): Implement the factory which starts various components. * mail-config.c (xml_get_prop): g_free->xmlFree (account_to_xml): copy xml memory to glib memory when adding the 0 on the end of the string. (accounts_save): Use slightly different logic with appending to the tail of the list, we can't use the &node trick with gslists. (accounts_changed): Same here. svn path=/trunk/; revision=19362
* g_free->xmlFree (account_to_xml): copy xml memory to glib memory whenNot Zed2003-01-092-16/+29
| | | | | | | | | | | | | 2003-01-09 Not Zed <NotZed@Ximian.com> * mail-config.c (xml_get_prop): g_free->xmlFree (account_to_xml): copy xml memory to glib memory when adding the 0 on the end of the string. (accounts_save): Use slightly different logic with appending to the tail of the list, we can't use the &node trick with gslists. (accounts_changed): Same here. svn path=/trunk/; revision=19306
* Images are now in $(datadir)/evolution/imagesEttore Perazzoli2003-01-092-27/+32
| | | | | | instead of $(datadir)/images/evolution. svn path=/trunk/; revision=19294
* Call folder_browser_set_message_preview().Jeffrey Stedfast2003-01-092-2/+4
| | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Call folder_browser_set_message_preview(). svn path=/trunk/; revision=19289
* Removed. (mail_config_set_show_preview): Removed.Jeffrey Stedfast2003-01-095-93/+48
| | | | | | | | | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_show_preview): Removed. (mail_config_set_show_preview): Removed. * folder-browser.c (folder_browser_toggle_preview): Simply set the gconf show_preview setting and let the code in folder-browser-ui.c detect it and update the UI. * folder-browser-ui.c (folder_browser_ui_add_global): Listen for changed events on the show_preview setting. svn path=/trunk/; revision=19288
* Save the setting via gconf. (mail_config_add_account): Immediately saveJeffrey Stedfast2003-01-093-14/+5
| | | | | | | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_default_account): Save the setting via gconf. (mail_config_add_account): Immediately save the list of accounts. (mail_config_remove_account): Same. (mail_config_signature_run_script): g_free the charset value and use the composer's charset rather than the display charset. (mail_config_get_default_account_num): Removed. svn path=/trunk/; revision=19285
* Save the setting via gconf. (mail_config_add_account): Immediately saveJeffrey Stedfast2003-01-093-63/+79
| | | | | | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_default_account): Save the setting via gconf. (mail_config_add_account): Immediately save the list of accounts. (mail_config_remove_account): Same. (mail_config_signature_run_script): g_free the charset value and use the composer's charset rather than the display charset. svn path=/trunk/; revision=19284
* oops, forgot to init the gconf-clientJeffrey Stedfast2003-01-082-1/+4
| | | | svn path=/trunk/; revision=19273
* Use gconf to get the paned size. (folder_browser_set_message_preview):Jeffrey Stedfast2003-01-0823-1634/+1099
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-07 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (save_cursor_pos): Use gconf to get the paned size. (folder_browser_set_message_preview): Same. (folder_browser_toggle_hide_deleted): Use gconf to set the hide-deleted state. (folder_browser_set_message_display_style): Same but for the message_display_style. (fb_resize_cb): Save the paned_size via gconf. (paned_size_changed): Callback for when the paned_size gets changed. Change the folder-browser's paned size to the new setting. (folder_browser_gui_init): Listen to changes to the paned_size and also get the initial size from gconf. * message-list.c (message_list_set_folder): Use gconf. (regen_list_regen): Use gconf. * message-browser.c (transfer_msg_done): Use gconf to get the hide_deleted setting. * mail-account-gui.c (sig_add_new_signature): Use gconf. * folder-browser-ui.c (folder_browser_ui_add_list): Use gconf. * folder-browser.c (save_cursor_pos): Use gconf. (folder_browser_set_message_preview): Same. (folder_browser_toggle_hide_deleted): Here too. (folder_browser_set_message_display_style): And here. (folder_browser_gui_init): Here too. (done_message_selected): And here. * mail-config.c (mail_config_get_thread_subject): Removed. (mail_config_set_thread_subject): Removed. (mail_config_get_empty_trash_on_exit): Removed. (mail_config_set_empty_trash_on_exit): Removed. (mail_config_get_last_filesel_dir): Removed. (mail_config_set_last_filesel_dir): Removed. (mail_config_get_hide_deleted): Removed. (mail_config_set_hide_deleted): Removed. (mail_config_get_paned_size): Removed. (mail_config_set_paned_size): Removed. (mail_config_get_send_html): Removed. (mail_config_set_send_html): Removed. (mail_config_get_confirm_unwanted_html): Removed. (mail_config_set_confirm_unwanted_html): Removed. (mail_config_get_citation_highlight): Removed. (mail_config_set_citation_highlight): Removed. (mail_config_get_citation_color): Removed. (mail_config_set_citation_color): Removed. (mail_config_get_do_seen_timeout): Removed. (mail_config_set_do_seen_timeout): Removed. (mail_config_get_mark_as_seen_timeout): Removed. (mail_config_set_mark_as_seen_timeout): Removed. (mail_config_get_prompt_empty_subject): Removed. (mail_config_set_prompt_empty_subject): Removed. (mail_config_get_prompt_only_bcc): Removed. (mail_config_set_prompt_only_bcc): Removed. (mail_config_get_confirm_expunge): Removed. (mail_config_set_confirm_expunge): Removed. (mail_config_get_confirm_goto_next_folder): Removed. (mail_config_set_confirm_goto_next_folder): Removed. (mail_config_get_goto_next_folder): Removed. (mail_config_set_goto_next_folder): Removed. (mail_config_get_http_mode): Removed. (mail_config_set_http_mode): Removed. (mail_config_get_default_forward_style): Removed. (mail_config_set_default_forward_style): Removed. (mail_config_get_default_reply_style): Removed. (mail_config_set_default_reply_style): Removed. (mail_config_get_message_display_style): Removed. (mail_config_set_message_display_style): Removed. (mail_config_get_default_charset): Removed. (mail_config_set_default_charset): Removed. (mail_config_get_x_mailer_display_style): Removed. (mail_config_set_x_mailer_display_style): Removed. * subscribe-dialog.c (populate_store_list): Use the list of accounts. We can't get the list of sources anymore. (populate_store_foreach): Updated. * mail-callbacks.c (guess_me_from_accounts): Use account->enabled. (mail_generate_reply): Same. (empty_trash): Here too. * mail-accounts.c (account_delete_clicked): Use account->enabled rather than source->enabled. (account_able_clicked): Same. (account_cursor_change): Here too. (mail_accounts_load): And here. * component-factory.c (owner_unset_cb): Use gconf empty-on-exit settings. (mail_load_storages): Use account->enabled rather than account->source->enabled. The struct changed. * mail-composer-prefs.c (sig_add): Get the send_html pref from gconf. * message-tag-followup.c (target_date_new): Use gconf. * mail-config.c (mail_config_get_week_start_day): Removed. * mail-tools.c (mail_tool_quote_message): Use gconf here too, but we don't need to parse the colour - just use it as a raw string. (mail_tool_forward_message): Use gconf. * mail-format.c (mail_format_data_wrapper_write_to_stream): Use gconf. (write_headers): Use gconf. (handle_text_plain): Same. * mail-display.c (mail_text_write): Updated to use gconf and parse GdkColour strings. (on_url_requested): Updated to use gconf. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use gconf rather than the old mail-config APIs which will be removed. (ask_confirm_for_empty_subject): Same. (ask_confirm_for_only_bcc): Here too. (composer_get_message): And here. (create_msg_composer): Same. (transfer_msg_done): Again here. (delete_msg): Here too. (confirm_expunge): And finally here. * mail-config.c (mail_config_write): Use gconf. (mail_config_get_sources): Removed. * mail-account-gui.c (mail_account_gui_save): No need to save enabled-state anymore for a source. * mail-config-druid.c (wizard_finish_cb): Instead of setting account->source->enabled to TRUE, just set account->enabled to TRUE. The structures changed a bit. * mail-send-recv.c (mail_send_receive): Get the list of accounts instead of sources, and pass them along to build_dialogue. I'm trying to get rid of the mail_config_get_sources() api. (mail_autoreceive_setup): Here too. * mail-config.c (mail_config_get_filter_log): Removed. (mail_config_set_filter_log): Removed. (mail_config_get_filter_log_path): Removed. (mail_config_set_filter_log_path): Removed. (mail_config_get_new_mail_notify): Removed. (mail_config_set_new_mail_notify): Removed. (mail_config_get_new_mail_notify_sound_file): Removed. (mail_config_set_new_mail_notify_sound_file): Removed. * mail-session.c (main_get_filter_driver): Updated to use the gconf settings. svn path=/trunk/; revision=19271
* Don't translate the conf strings. Camel already did it.Dan Winship2003-01-082-10/+16
| | | | | | | | * mail-account-gui.c (mail_account_gui_auto_detect_extra_conf, mail_account_gui_build_extra_conf): Don't translate the conf strings. Camel already did it. svn path=/trunk/; revision=19266
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-062-1/+5
| | | | | | | * Makefile.am: remove idldir definition. (It's defined in configure.in now) svn path=/trunk/; revision=19242
* Use e_destination_get_email() instead of e_destination_get_address() whenJeffrey Stedfast2003-01-052-2/+12
| | | | | | | | | | | | | | 2003-01-04 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Use e_destination_get_email() instead of e_destination_get_address() when checking that we have a list of valid recipients to send the message to because get_email() returns the addr-spec portion of the address, which is what we care about. if that doesn't exist, then the address is useless. This does all we can do mailer-side for the recent "SMTP Problem" thread. svn path=/trunk/; revision=19236
* Fixed some build issues.Jeffrey Stedfast2003-01-046-19/+32
| | | | | | | | | | | | | | | 2003-01-03 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c: Fixed some build issues. * mail-search.c: Same. * mail-callbacks.c (save_draft_done): Use g_signal_handlers_disconnect_by_func(). (manage_subscriptions): Use a weak_ref instead of connecting to the destroy event. svn path=/trunk/; revision=19224
* fixed to build with -DG_DISABLE_DEPRECATEDJeffrey Stedfast2003-01-038-50/+20
| | | | svn path=/trunk/; revision=19209
* newJeffrey Stedfast2003-01-031-0/+65
| | | | svn path=/trunk/; revision=19205
* ...And a whole bunch more build fixes.Jeffrey Stedfast2002-12-1824-346/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-17 Jeffrey Stedfast <fejj@ximian.com> ...And a whole bunch more build fixes. * mail-vfolder.c (mail_vfolder_delete_uri): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-session.c (main_get_filter_driver): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-ops.c (build_from): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-autofilter.c: Don't use g_string_sprintfa() anymore since it is apparently deprecated. * folder-browser.c: Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-search.c (mail_search_set_subject): Remove the unnecessary g_strdup()'age as well as fix a possible buffer overrun. * mail-local.c (mail_local_folder_construct): Use g_path_get_basename(). * mail-config-druid.c (make_account): Don't use e_utf8_* functions. svn path=/trunk/; revision=19152
* Wrap the content with a table so that text isn't fully left-justified.Jeffrey Stedfast2002-12-172-7/+20
| | | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c #define a STANDARD_ISSUE_TABLE_OPEN string used for wrapping textual message parts to keep them being fully-left justified. (mail_format_raw_message): Wrap the content with a table so that text isn't fully left-justified. (write_hr): Use it here too. (handle_text_plain): And finally here. svn path=/trunk/; revision=19141
* Use camel_text_to_html() instead of e_text_to_html(). (mail_text_write):Jeffrey Stedfast2002-12-176-23/+62
| | | | | | | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_error_printf): Use camel_text_to_html() instead of e_text_to_html(). (mail_text_write): Write the content directly to gtkhtml through an html stream filter. * mail-format.c (attachment_header): Use camel_text_to_html() instead of e_text_to_html(). (write_text_header): Same. (write_address): Here too. (mail_get_message_rfc822): And here. (mail_get_message_body): And finally here. svn path=/trunk/; revision=19133
* Re-implemented to use streams. Also no need to check for html sinceJeffrey Stedfast2002-12-178-791/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): Re-implemented to use streams. Also no need to check for html since camel-mime-part-utils.c now does this for us and will re-tag the mime-type as text/html thus the UI can be completely ignorant of this process. (handle_text_plain_flowed): Removed. (write_one_text_plain_chunk): Removed. (try_uudecoding): Removed. (try_inline_binhex): Removed. (handle_text_enriched): Re-implemented to use streams too. 2002-12-15 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_text_header): Change the order of the args to be consistant with other write functions. (write_date): Same. (write_field_row_begin): Here too. (write_headers): Here too. (write_one_text_plain_chunk): Don't strdup just to pass it to mail_text_write() so that it can dup it yet again into html text and dup it yet a 3rd time into a GByteArray. Instead just write it to gtkhtml. (handle_*): Fixed arguments to take a MailDisplayStream instead of a GtkHTML widget and a GtkHMLStream. * mail-display.c (mail_display_render): Create a MailDisplayStream to pass to mail_format_mime_message() and mail_format_raw_message(). * mail-display-stream.[c,h]: New stream to replace mail-stream-gtkhtml.c * mail-stream-gtkhtml.[c,h]: Removed. svn path=/trunk/; revision=19126
* added some #warningsJeffrey Stedfast2002-12-161-287/+305
| | | | svn path=/trunk/; revision=19121
* Make sure the folder-browser is not NULL or we'll crash.Jeffrey Stedfast2002-12-142-16/+26
| | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (check_send_configuration): Make sure the folder-browser is not NULL or we'll crash. svn path=/trunk/; revision=19115
* Fix the colour code to get a guint32 rgb correctly (I think - can't testJeffrey Stedfast2002-12-143-99/+102
| | | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Fix the colour code to get a guint32 rgb correctly (I think - can't test because the shell keeps crashing, yay). svn path=/trunk/; revision=19114
* Don't re-use cell renderers - I'm not sure this is actually safe to do.Jeffrey Stedfast2002-12-144-46/+48
| | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Don't re-use cell renderers - I'm not sure this is actually safe to do. svn path=/trunk/; revision=19113
* Get rid of unneeded CamelObject casts. (user_message_response): Don'tJeffrey Stedfast2002-12-147-276/+297
| | | | | | | | | | | | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c: Get rid of unneeded CamelObject casts. (user_message_response): Don't unref the dialog object after we've destroyed it. * mail-display.c (write_data_to_file): Don't unref the dialog object after we've destroyed it. * mail-callbacks.c: Same here. * component-factory.c: Here too. * message-tag-editor.c: Added MESSAGE_TAG_EDITOR_GET_CLASS macros. svn path=/trunk/; revision=19112
* cleaned up some const'nessJeffrey Stedfast2002-12-142-150/+140
| | | | svn path=/trunk/; revision=19110
* Setup double-click here.Jeffrey Stedfast2002-12-132-5/+14
| | | | | | | | | 2002-12-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Setup double-click here. svn path=/trunk/; revision=19109
* oops, I had changed the glade code but forgot to commitJeffrey Stedfast2002-12-131-5151/+5673
| | | | svn path=/trunk/; revision=19107
* don't shadow a parameterJeffrey Stedfast2002-12-131-7/+7
| | | | svn path=/trunk/; revision=19105
* Get rid of the ETable #ifdef's - we won't ever be using ETable.Jeffrey Stedfast2002-12-132-245/+112
| | | | | | | | | | | | | | | 2002-12-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_delete_clicked): Get rid of the ETable #ifdef's - we won't ever be using ETable. (account_default_clicked): Same. (account_able_clicked): Here too. (mail_accounts_load): And here. (mail_accounts_treeview_new): Renamed from etable_new since we won't ever be using an etable. (mail_accounts_tab_construct): And finally here. svn path=/trunk/; revision=19104
* cast a-warning a-way.Not Zed2002-12-125-135/+162
| | | | | | | | | | | | | | | | | | | | | 2002-12-12 Not Zed <NotZed@Ximian.com> * folder-browser.c (my_folder_browser_init): cast a-warning a-way. * mail-composer-prefs.c (spell_setup): Terminate list_store_set with -1. * mail-accounts.c (mail_accounts_etable_new): clist -> gtktreeview stuff. Yes, this is not an etable. (mail_accounts_tab_construct): Same. (mail_accounts_load): Same. (account_cursor_change): Same. (account_able_clicked): And this. (account_default_clicked): Same. (account_delete_clicked): Guess? (account_edit_clicked): And here too. svn path=/trunk/; revision=19099
* New function to handle a lot of the filtering/etc that was done inJeffrey Stedfast2002-12-124-30/+57
| | | | | | | | | | | | | | | | 2002-12-11 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): New function to handle a lot of the filtering/etc that was done in mail_format_get_data_wrapper_text(). This is the first step toward getting rid of e-text-to-html crap and using my tohtml stream filter instead. (mail_format_get_data_wrapper_text): Use the new function. (mail_format_raw_message): Use camel streams to write the content to gtkhtml rather than using get_data_wrapper_text() and then converting that to html and then writing it to the gtkhtml stream. svn path=/trunk/; revision=19098
* language is a treeview now. Not sure what to do with it yet, but get ridNot Zed2002-12-104-218/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-10 Not Zed <NotZed@Ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): language is a treeview now. Not sure what to do with it yet, but get rid of one warning anyway. (mail_composer_prefs_construct): Same for sig_clist, but setup model. (sig_fill_clist): Change to use a gtktreeview instead of a clist. (sig_selection_changed): New method to handle signature selection changes with the new widgets. (sig_delete): clist -> treeview. (mail_composer_prefs_new_signature): Same. (sig_edit): ditto. (sig_current_sig): removed. (sig_row_unselect): Removed. (sig_row_select): Removed, now redundant. (spell_select_lang): Removed, redundant. (spell_set_ui_language): New implementation using list model more effectively. (spell_get_language_str): Same here. (spell_set_ui_language): Removed this too, merged into spell_set_ui, it was just wasting stack space. (spell_language_selection_changed): renemd from spell_language_select_row, converted to gtktreeview, etc. (spell_language_unselect_row): Removed. (spell_language_enable): Redone to use tree model. (spell_language_button_press): Removed, i dont think this is needed anymore. (spell_setup): dont hook onto redundant signals. * mail-config-factory.c (config_control_factory_cb): ignore mail-font-prefs in a different way (so we dont assert) svn path=/trunk/; revision=19084
* pass "Mail" to e_passwords_*. (do_get_pass): same. (main_forget_password):Chris Toshok2002-12-104-9/+21
| | | | | | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * mail-session.c (pass_response): pass "Mail" to e_passwords_*. (do_get_pass): same. (main_forget_password): same. (mail_session_get_password): same. (mail_session_remember_password): same. (mail_session_forget_password): same. * mail-config.c (mail_config_write_on_exit): pass "Mail" to e_passwords_*. * main.c (main): e_passwords_init is gone. svn path=/trunk/; revision=19073
* ignore *.serverJeffrey Stedfast2002-12-051-1/+1
| | | | svn path=/trunk/; revision=19005
* Use the same logic as mail_generate_reply(). Fixes bug #34882Jeffrey Stedfast2002-12-043-16/+63
| | | | | | | | | | | | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (guess_me_from_accounts): Use the same logic as mail_generate_reply(). Fixes bug #34882 Fixes bug #34315 * component-factory.c (message_rfc822_dnd): Return TRUE if we successfully handled all messages in the mbox stream, or FALSE otherwise. (destination_folder_handle_drop): For TEXT_URI_LIST, use the retval from message_rfc822_dnd() rather than relying on an exception, because one will not always necessarily be set. For MESSAGE_RFC822, also use the retval from message_rfc822_dnd(). svn path=/trunk/; revision=18995
* frobbed around with these till it exits without crashing.Not Zed2002-12-034-68/+104
| | | | | | | | | | | | | | | | 2002-12-03 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_finalise/destroy): frobbed around with these till it exits without crashing. * message-list.c (message_list_destroy): made a destroy handler again (was dispose). Frobbed around with this and finalise till it can destroy without crashing. * message-browser.c (message_browser_new): ref/sink the folderbrowser. svn path=/trunk/; revision=18991
* applied magic_links_settings.patchRadek Doulik2002-12-022-1/+6
| | | | svn path=/trunk/; revision=18980
* gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setupNot Zed2002-12-0236-520/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * message-tag-followup.c (construct): gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setup columns. They dont size well :-/ (message_tag_followup_append_message): Append using model, remove clist stuff. (construct): Show date edit (glade bugs?) * folder-browser.c (folder_browser_class_init): gtk_marshal -> g_cclosure_marshal (setup_popup_icons): gnome_pixmap -> gtk_image. (on_right_click): gtk_pixmap -> gtk_image. * mail-accounts.c (account_delete_clicked): removed #if 0'd out code. * mail-send-recv.c (receive_done): remove FIXME and extra unref. * mail-session.c (request_password): Removed #if 0'd out stuff. * mail-vfolder.c (new_rule_clicked): proper cast for g_object_get_data. * mail-local.c (reconfigure_response): cast for g_object_get_data. * mail-account-editor.c (construct): GNOME_DIALOG -> GTK_DIALOG. * *.[ch]: re-ran fix.sh for e_notice change * mail-callbacks.c (save_msg_ok): g_object_get_data + gtk_object_remove_no_notify -> g_object_steal_data. (find_socket): gtk_container_children -> gtk_container_get_children (edit_msg): gnome_*_dialog -> gtk_message_dialog. (resent_msg): " (search_msg): " (confirm_goto_next_folder): gtkmessagedialogised (even if not used). (confirm_expunge): gtkmessagedialogised (filter_edit): " (do_mail_print): e_notice -> gtk_message_dialog. (are_you_sure): removed e_gnome_ok_cancel_dialog crap, replaced with a gtk dialog. (are_you_sure): gtkmessagedialogised. (edit_msg_internal): Dont free uids array, are_you_sure() free's it. (resend_msg): Same. (check_send_configuration): Use e_notice for stuff. Sigh, here we go again ...! (e_question): A utility function to ask a question, potentially with 'dont ask again' as well. (configure_mail): use e_question to save code. Here we go again, again ... (ask_confirm_for_unwanted_html_mail): " (ask_confirm_for_only_bcc): " (ask_confirm_for_only_bcc): " (composer_get_message): Use e_notice. (composer_save_draft_cb): Use e_question (edit_msg): use e_notice, & change to an ERROR. (resend_msg): same. (save_msg_ok): Properly initialise ret to OK, and use e_question, and use access() to determine existance/write access rather than stat, display an error if we can't write to a file that exists, and print the filename in all dialogues. (confirm_goto_next_folder): Use e_question. (confirm_expunge): use e_question. (filter_edit): Use e_notice. (do_mail_print): use e_notice. svn path=/trunk/; revision=18974
* clicked->response signal for gtk dialogue. (new_rule_clicked): Dont unrefNot Zed2002-11-262-10/+10
| | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): clicked->response signal for gtk dialogue. (new_rule_clicked): Dont unref after destroy (duh, idiot again). (edit_rule_response): Same here. (mail_vfolder_delete_uri): Connect response signal to gtk_widget_destroy directrly using g_signal_connect_swapped. (close_dialogue): Removed, as no longer needed. svn path=/trunk/; revision=18925
* Duh idiot, "un-fixed" the memleak i added.Not Zed2002-11-263-14/+27
| | | | | | | | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * message-list.c (get_normalised_string): Duh idiot, "un-fixed" the memleak i added. * mail-callbacks.c (composer_get_message): Set parent window in message dialogue & DESTROY_WITH_PARENT flag. (composer_save_draft_cb): (configure_mail): (check_send_configuration): Add DESTROY_WITH_PARENT flag to gtk_message_dialog's (local_configure_done): remove some unecessary/wrong casts. (empty_trash_expunged_cb): " (do_mail_print): use gtk_window_set_transient_for instead of e_dialog_set_parent. svn path=/trunk/; revision=18923
* gtk_widget_set_parent_window -> gtk_window_set_transient_for.Not Zed2002-11-266-32/+78
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * mail-account-editor.c (mail_account_editor_new): gtk_widget_set_parent_window -> gtk_window_set_transient_for. * mail-callbacks.c (composer_send_queued_cb): dont unref composer. * message-browser.c (message_browser_destroy): moved back from finalise. 2002-11-25 Not Zed <NotZed@Ximian.com> * message-list.c (message_list_dispose): move saving tree state here. (message_list_finalise): And take it from here. * mail-display.c (mail_display_destroy): @#$@# gtk. changed this around a bit. (mail_display_init): Fix prototype, its a gobject. (mail_display_init): ref/sink the invisible gtkobject. svn path=/trunk/; revision=18919
* removed e_messagebox, and use gtk_message_dialog directly.Not Zed2002-11-252-63/+45
| | | | | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): removed e_messagebox, and use gtk_message_dialog directly. (ask_confirm_for_empty_subject): and here. (ask_confirm_for_only_bcc): And here too. (msgbox_destroy_cb): Removed, since no longer needed. svn path=/trunk/; revision=18905
* Show file name when prompt to user for overwrite. Fixes bug #34180.Harry Lu2002-11-231-2/+1
| | | | | | | | | 2002-11-15 Harry Lu <harry.lu@sun.com> * mail-display.c (write_data_to_file): Show file name when prompt to user for overwrite. Fixes bug #34180. svn path=/trunk/; revision=18887
* Show file name when prompt to user for overwrite.Harry Lu2002-11-232-9/+15
| | | | | | | | | 2002-11-15 Harry Lu <harry.lu@sun.com> * mail-display.c (write_data_to_file): Show file name when prompt to user for overwrite. svn path=/trunk/; revision=18886
* Enable dragging of all attachments. For bug #34327.Harry Lu2002-11-222-5/+7
| | | | | | | | | 2002-11-21 Harry Lu <harry.lu@sun.com> * mail-display.c (do_attachment_header): Enable dragging of all attachments. For bug #34327. svn path=/trunk/; revision=18882
* Since the GSList returned from gconf needs to be free'd by us, we don'tJeffrey Stedfast2002-11-222-16/+33
| | | | | | | | | | | | 2002-11-21 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Since the GSList returned from gconf needs to be free'd by us, we don't need to strdup the values. Also make sure we don't leak the GSList itself. (mail_preferences_apply): Don't leak our GSList data. svn path=/trunk/; revision=18878
* applied patches from http://bugzilla.ximian.com/show_bug.cgi?id=29588Radek Doulik2002-11-214-46/+83
| | | | svn path=/trunk/; revision=18877
* sync the gconf settingsJeffrey Stedfast2002-11-211-0/+2
| | | | svn path=/trunk/; revision=18860
* gconfify. (mail_composer_prefs_apply): gconfify this also.Jeffrey Stedfast2002-11-213-37/+61
| | | | | | | | | | | | 2002-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): gconfify. (mail_composer_prefs_apply): gconfify this also. * mail-preferences.c (mail_preferences_construct): gconf_client_get_string() probably returns an allocated buffer. svn path=/trunk/; revision=18859
* provide a proper implicit rule for building .server.in from .server.in.in.Not Zed2002-11-203-8/+15
| | | | | | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * importers/Makefile.am (%.server.in): provide a proper implicit rule for building .server.in from .server.in.in. The other one just copied the first target to all destinations(!). * importers/evolution-outlook-importer.c (outlook_factory_fn): destroy -> weak ref. svn path=/trunk/; revision=18855
* build fixesJeffrey Stedfast2002-11-201-1/+5
| | | | svn path=/trunk/; revision=18849
* Save the settings via gconf. (mail_preferences_construct): Load the valuesJeffrey Stedfast2002-11-205-86/+145
| | | | | | | | | | 2002-11-19 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_apply): Save the settings via gconf. (mail_preferences_construct): Load the values from gconf. svn path=/trunk/; revision=18848
* addedJeffrey Stedfast2002-11-201-0/+496
| | | | svn path=/trunk/; revision=18842
* applied plain_signature_fix.patchRadek Doulik2002-11-202-1/+6
| | | | svn path=/trunk/; revision=18841
* fix warning message, outlook->mbox.Not Zed2002-11-1911-18/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * importers/evolution-mbox-importer.c (mail_importer_module_init): fix warning message, outlook->mbox. * importers/Makefile.am: fix serverdir to point to $libdir/bonobo/servers. * mail-callbacks.c (addrbook_sender): add type to bonobo_widget_set_property. * mail-vfolder.c (vfolder_editor_response): dont unref after destroy. * mail-session.c (pass_response): dont unref aftrer destroy. * mail-local.c (reconfigure_response): dont unref after destroy. * mail-display.c (launch_cb): dont unref after destroy. (launch_cb): " (drag_data_get_cb): " (html_button_press_event): add type to bonobo_widget::set_property * mail-config.c (mail_config_check_service): dont unref after destroy. * component-factory.c (send_receive_cb): dont unref after destroy. (request_quit): " * mail-signature-editor.c (mail_signature_editor): Use version 3.0 of gtkhtml editor interfaces. (do_exit): dont unref after destroy. (format_html_cb): Add type to bonobo_widget::set_property. svn path=/trunk/; revision=18837
* applied spell_crash_fix.patchRadek Doulik2002-11-192-0/+10
| | | | svn path=/trunk/; revision=18829
* Specify the default account. Also, don't need to useJeffrey Stedfast2002-11-182-1/+11
| | | | | | | | | 2002-11-18 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_load): Specify the default account. Also, don't need to use e_utf8_to_gtk_string() here. svn path=/trunk/; revision=18826
* Added back libevolution-importer stuff. (SUBDIRS): Added back importers.Not Zed2002-11-1810-44/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * Makefile.am (evolution_mail_LDADD): Added back libevolution-importer stuff. (SUBDIRS): Added back importers. * importers/evolution-mbox-importer.c (load_file_fn): build the uri without deprecated funcs. (load_file_fn): dont free/alloc a camel_exception for no obvious purpose. (mbox_factory_fn): use weak_ref rather than destroy. (importer_destroy_cb): fix signature for weak ref notify. (mbox_factory_fn): add cid param. * importers/*.[ch]: ran fix script over everything. * importers/*.server.in.in: Added bonobo activation files. Moved evolution-mail to @LIBEXEC@ as below. * importers/Makefile.am: oaf->bonobo activation stuff. * importers/evolution-outlook-importer.c (outlook_factory_fn): Add component id to callback. svn path=/trunk/; revision=18822
* Update.Ettore Perazzoli2002-11-161-1/+2
| | | | svn path=/trunk/; revision=18793
* Add rules to substitute @LIBEXEC@ in GNOME_Evolution_Mail.server.in.in andEttore Perazzoli2002-11-163-14/+25
| | | | | | | | | | | * Makefile.am: Add rules to substitute @LIBEXEC@ in GNOME_Evolution_Mail.server.in.in and install evolution-mail in $(libexecdir) instead of $(bindir). * GNOME_Evolution_Mail.server.in.in: Replaced evolution-mail with @LIBEXECDIR@/evolution-mail. svn path=/trunk/; revision=18790
* Use bonobo_main_quit instead of gtkRodney Dawes2002-11-162-1/+5
| | | | | | * component-factory.c: Use bonobo_main_quit instead of gtk svn path=/trunk/; revision=18786
* Correctly spell Advanced.Jeffrey Stedfast2002-11-162-1/+6
| | | | | | | | 2002-11-15 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_edit): Correctly spell Advanced. svn path=/trunk/; revision=18780
* weak notify -> ref.Not Zed2002-11-154-3/+12
| | | | | | | | | | | | | 2002-11-15 Not Zed <NotZed@Ximian.com> * mail-summary.c (create_summary_view): weak notify -> ref. * mail-send-recv.c (build_dialogue): weak notify -> ref. * mail-accounts.c (account_edit_clicked): weak notify -> ref, i presume this is what jeff meant, 'cause it dont compile otherwise. svn path=/trunk/; revision=18778
* Use g_object_weak_ref rather than connecting to destroy.Jeffrey Stedfast2002-11-159-62/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-14 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_edit_clicked): Use g_object_weak_ref rather than connecting to destroy. (account_add_clicked): Same. * mail-callbacks.c (addrbook_sender): Make this use g_object_weak_notify also. (subscribe_dialog_destroy): Add NULL guards here since I think we really do want to connect to the "destroy" signal in the function that connects us to that signal. * mail-config-factory.c (config_control_factory_cb): Same. * mail-display.c (save_part): Here too. (make_popup_window): And here. * mail-send-recv.c (build_dialogue): Same here. * mail-summary.c (create_summary_view): Use g_object_weak_notify instead of connecting to the destroy signal. svn path=/trunk/; revision=18764
* Want a (GWeakNotify) cast here, not (GWeakNotify *).Ettore Perazzoli2002-11-1511-30/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * component-factory.c (owner_set_cb): Want a (GWeakNotify) cast here, not (GWeakNotify *). * subscribe-dialog.c (fete_init): g_object_set() instead of gtk_object_set(). (populate_store_list): Likewise. (menu_item_selected): g_object_get_data() instead of gtk_object_get_data(). * message-list.c (message_list_create_extras): g_object_set() instead of gtk_object_set(). * message-browser.c (message_browser_message_list_built): g_object_get_data() instead of gtk_object_get_data(). * mail-vfolder.c (edit_rule_response): g_object_get_data() instead of gtk_object_get_data(). * mail-summary.c (generate_folder_summaries): g_object_unref() the context instead of gtk_object_destroy(). * mail-local.c (reconfigure_response): g_object_get_data() instead of gtk_object_get_data(). * mail-display.c (pixbuf_gen_idle): g_object_unref() the GdkPixbuf loader instead of gtk_object_destroy(). (pixbuf_gen_idle): Likewise. (embeddable_destroy_cb): Likewise. * mail-config-druid.c (mail_config_druid_destroy): No need to gtk_object_destroy() the GladeXML object. (construct): g_object_set() instead of gtk_object_set(). * folder-browser.c (folder_browser_gui_init): g_object_get_data() instead of gtk_object_get_data(). svn path=/trunk/; revision=18752
* shell client objref. (mail_add_storage): " (mail_remove_storage): "Not Zed2002-11-142-3/+9
| | | | | | | | | | 2002-11-14 Not Zed <NotZed@Ximian.com> * component-factory.c (create_view): shell client objref. (mail_add_storage): " (mail_remove_storage): " svn path=/trunk/; revision=18751
* Remove a couple backslashes that were causing automake to complain, evenJoe Shaw2002-11-142-2/+8
| | | | | | | | | | 2002-11-13 Joe Shaw <joe@ximian.com> * Makefile.am: Remove a couple backslashes that were causing automake to complain, even though they were on lines that were -commented out-. Sigh. svn path=/trunk/; revision=18746
* Use g_object_new() instead of gtk_type_new(). Likewise. Likewise.Ettore Perazzoli2002-11-147-6/+15
| | | | | | | | | | | * folder-info.c (evolution_folder_info_factory_fn): Use g_object_new() instead of gtk_type_new(). * folder-browser.c (folder_browser_new): Likewise. * mail-account-gui.c (mail_account_gui_folder_selector_button_new): Likewise. * mail-font-prefs.c (mail_font_prefs_new): Likewise. svn path=/trunk/; revision=18742
* Do not #include <libgnome/gnome-defs.h>. Likewise. Likewise. Likewise.Ettore Perazzoli2002-11-1411-13/+17
| | | | | | | | | | | | | | | | | * mail-format.c: Do not #include <libgnome/gnome-defs.h>. * mail-importer.c: Likewise. * mail-mt.c: Likewise. * mail-ops.c: Likewise. * mail-search-dialogue.c: Likewise. * mail-session.c: Likewise. * mail-vfolder.c: Likewise. * message-tag-followup.c: Likewise. * main.c: Likewise, and <libgnomeui/gnome-init.h>. * mail-callbacks.c: Do not #include <libgnome/gnome-paper.h>. (do_mail_print): Remove the GnomePaper local variable. svn path=/trunk/; revision=18739
* destroy->weak ref. (owner_set_cb): shell client changes.Not Zed2002-11-137-11/+25
| | | | | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_set_cb): destroy->weak ref. (owner_set_cb): shell client changes. * mail-signature-editor.c (mail_signature_editor): bonobo api changes. * mail-local.c (save_metainfo): go back to using xmlSaveFile. * Makefile.am: Removed libevolution-importer from mail. svn path=/trunk/; revision=18736
* Added to cvs. Currently contains no configurable stuff, but maybe it willNot Zed2002-11-1320-449/+783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * GNOME_Evolution_Mail.server.in.in: Added to cvs. Currently contains no configurable stuff, but maybe it will one day. * Makefile.am (server_DATA): change oaf stuff to server stuff for bonobo activation. * mail-preferences.c (mail_preferences_apply): handle const entry text. * mail-composer-prefs.c (url_requested): Fixed typo. (mail_composer_prefs_construct): gnomepixmap->gtkimage. * mail-callbacks.c (configure_mail): destroy dialogue before dealing with response. (mail_generate_reply): Fix a typo. (popup_listener_cb): fix prototype. (tag_editor_response): Handle gtk dialog response. (flag_for_followup): Change gnome dialog to gtk dialog stuff. (tag_editor_destroy_cb): (tag_editor_cancel): (tag_editor_ok): Removed, handled in _response(). (filter_editor_response): renamed from _clicked, handle gtk dialogue signal. (filter_editor_destroy): Removed. (footer_info_new): gnome font api changes. (do_mail_print): port to gnome print 2. * mail-autofilter.c (mail_filter_delete_uri): message_dialog uses a specific button enum, not the stock ones. * mail-accounts.c (mail_accounts_tab_get_type): gobjectify. (account_delete_clicked): gdkdialogise. * mail-account-gui.c (mail_account_gui_setup): Hack around font metric determination code. * mail-account-editor.c (mail_account_editor_get_type): gobjectise. (mail_account_editor_new): "" * folder-info.c (evolution_folder_info_notify_ready): use pbclient interface. * folder-browser-factory.c (control_destroy_cb): fix a typo. (folder_browser_factory_new_control): More typos. * folder-browser.c (on_right_click): cast around const warning. (context_menu_position_func): fix for api change. * e-searching-tokenizer.c (e_searching_tokenizer_finalise): Changed from destroy since it only frees memory. (e_searching_tokenizer_get_type): glibify. * component-factory.c (request_quit): gtkdialogise. (send_receive_cb): " (create_component): gdk_pixbuf api. (component_factory_init): bonobo activation stuff. (warning_response): renamed from warning_clicked. (owner_set_cb): gtkdialogise. svn path=/trunk/; revision=18731
* Added files I've ported.Jeffrey Stedfast2002-11-133-7/+38
| | | | | | | | | | | 2002-11-12 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added files I've ported. * mail-config.c: Remove gnome-defs.h, this header no longer exists in GNOME2. svn path=/trunk/; revision=18725
* Fixed i18n rule.Michael Zucci2002-11-121-1/+1
| | | | svn path=/trunk/; revision=18724
* Commented out stuff that doesn't build yet. Also fixed idl build rule.Not Zed2002-11-1242-1966/+1904
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * Makefile.am: Commented out stuff that doesn't build yet. Also fixed idl build rule. importers still not built. * main.c (main): bonobactivationise. remove push visual/colormap. (main): no longer activate activation, let bonobo_init do it. * mail-signature-editor.c (menu_help): Change help api. * mail-session.c (user_message_destroy_noreply): removed. Not used? * mail-local.c (load_metainfo): xml root->children. * mail-format.c (g_string_append_len): Removed, it exists now. 2002-11-12 Not Zed <NotZed@Ximian.com> * subscribe-dialog.c: gnome2ised, use gtkdialog. (subscribe_get_global_extras): use a weak ref rather than destroy signal. * message-tag-followup.c: gnome2ised. * message-tag-editor.c: gnome2ised & converted to gtkdialog. * message-list.c: gnome2ised. (message_list_finalise): From destroy method. maybe should be destroy still. * message-browser.c: port to gnome2 (message_browser_finalise): renamed from destroy method. * mail-stream-gtkhtml.c: removed redundant camel_class_get_global_classfuncs() call. * mail-signature-editor.c: gtkdialogised, & bonobo api changes. * mail-search-dialogue.c: gtkdialogised. * mail-folder-cache.c: cleaned up camel ref/hook casts. * mail-composer-prefs.c (mail_composer_prefs_get_type): convert to gtype. * mail-font-prefs.c (mail_font_prefs_destroy): from finalise. * mail-config.c: s/bonobo_config/e_config_listener/ Added /apps/Evolution prefix to the evolution keys. Changed to use e_config_listener, etc. (mail_config_init): remove bonobo_config stuff. (mail_config_check_service): gtk dialogise. (check_response): from check_cancelled. * mail-config-druid.c (mail_config_druid_destroy): renamed from _finalize, turned into destroy handler. (construct): set type to toplevel, GTK_WINDOW_DIALOG no longer exists. * mail-config-factory.c (mail_config_register_factory): bonobo api changes. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): cleaned up unref casts. * mail-display.c (write_data_to_file): gnome->gtkdialog. (on_link_clicked): use ascii_str*cmp on url. (save_part): g_path stuff. (launch_cb): gtk dialog. (pixmap_press): de-oafify. (pixbuf_for_mime_type): gnome-vfs api changes. (do_attachment_header): Change the pixmap to a gtkimage. (do_signature): " (pixbuf_gen_idle): " (do_attachment_header): ascii_str*cmp (do_attachment_header): gnome pixmap->gtkimage. (mail_display_destroy): protect against gtk mentalness. (html_button_press_event): ascii_str*cmp (drag_data_get_cb): added comment for translators of filename. * mail-format.c (component_supports): de-oafise. (is_anonymous): ascii_strncmp (attachment_header): remove utf8<>locale stuff, and gnomevfs api changes. (format_mime_part): fix g_strdown call. (write_field_row_begin): kill utf8->gtk stuff. (write_address): " (default_header_index): ascii_strcasecmp (handle_text_plain): " (handle_text_enriched): " (handle_multipart_encrypted): remove utf/gtk stuff. (handle_message_external_body): ascii_str*cmp * mail-identify.c (mail_identify_mime_part): (identify_by_magic): gnome vfs api changes. * mail-importer.c: Converted. * mail-local.c (load_metainfo): xml childs -> children. (mls_get_folder): g_strerror. (mls_delete_folder): g_strerror. (reconfigure_got_folder): Gnome->GtkDialog (reconfigure_response): from reconfigure_clicked. * mail-mt.c (mail_msg_check_error): gnome -> gtk dialog (error_response): renmae from error_gone. destroy widget on any response. * mail-offline-handler.c (impl_finalise): renamed from impl_destroy since thats what it should be anyway. * mail-ops.c: removed utf8 widget conversion & camel_object_un/ref casts. * mail-preferences.c (mail_preferences_get_type): glib2'ised. * mail-search.c (mail_search_finalise): renmaed from destroy & properly chain. (mail_search_get_type): glib2 & make gtkdialog parent. (entry_run_search): run search when entry activated. not sure if gtkdialog has anohter way to do this on an arbitrary widget. * mail-send-recv.c (dialogue_response): renamed from clicked. Use gtkdialog. * mail-session.c (request_password_deleted): removed, redundant. (pass_response): rename from pass_got, changed for gtkdialog. (user_message_destroy): Removed, redundant. (user_message_response): Renamed from user_message_clicked. 2002-11-11 Not Zed <NotZed@Ximian.com> * mail-stream-gtkhtml.c (mail_stream_gtkhtml_class_init): dont use get_global_classfuncs, just get the type * mail-tools.c: converted gnome2 api's. * mail-vfolder.c (vfolder_editor_response): clicked->response. (vfolder_editor_destroy): Removed. (vfolder_edit): gtk dialog api (edit_rule_response): clicked->response. (vfolder_edit_rule): gnomedialog->gtkdialog. (vfolder_gui_add_rule): " (new_rule_clicked): clicked->response svn path=/trunk/; revision=18723
* Half way ported. I'll finish the rest later.Jeffrey Stedfast2002-11-123-247/+209
| | | | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c: Half way ported. I'll finish the rest later. * mail-autofilter.c: Ported. svn path=/trunk/; revision=18716
* Ported.Jeffrey Stedfast2002-11-122-112/+97
| | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c: Ported. svn path=/trunk/; revision=18704
* Ported.Jeffrey Stedfast2002-11-124-74/+56
| | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c: Ported. svn path=/trunk/; revision=18700
* Ported.Jeffrey Stedfast2002-11-124-73/+89
| | | | | | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Ported. * folder-browser-factory.c: Ported. * folder-browser.c: Ported. svn path=/trunk/; revision=18699
* Ported.Jeffrey Stedfast2002-11-125-317/+311
| | | | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c: Ported. * e-searching-tokenizer.c: Roughly ported. svn path=/trunk/; revision=18697
* Converted to libglade-2's format.Jeffrey Stedfast2002-11-115-5764/+6083
| | | | | | | | 2002-11-10 Jeffrey Stedfast <fejj@ximian.com> * *.glade: Converted to libglade-2's format. svn path=/trunk/; revision=18688
* Ported.Jeffrey Stedfast2002-11-093-125/+112
| | | | | | | | 2002-11-08 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c: Ported. svn path=/trunk/; revision=18678
* No longer need to check for a CLEAR_ID.Jeffrey Stedfast2002-10-292-1/+6
| | | | | | | | | 2002-10-28 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_query_changed): No longer need to check for a CLEAR_ID. svn path=/trunk/; revision=18463
* instead of bailing with an assertion dump the body.Larry Ewing2002-10-291-7/+27
| | | | | | | | | | | | 2002-10-28 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_multipart_mixed): instead of bailing with an assertion dump the body. (handle_multipart_signed): same. (handle_multipart_alternative): same. (handle_multipart_appledouble): same. svn path=/trunk/; revision=18462
* instead of bailing with an assertion dump the body.Larry Ewing2002-10-292-5/+13
| | | | | | | | | 2002-10-28 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_multipart_mixed): instead of bailing with an assertion dump the body. svn path=/trunk/; revision=18457
* don't queue the action until we've added ourselves to the active list,Larry Ewing2002-10-282-4/+13
| | | | | | | | | | | 2002-10-27 Larry Ewing <lewing@ximian.com> * mail-display.c (fetch_next): don't queue the action until we've added ourselves to the active list, because the fetch_done callback can fire immediately and we'll end up queueing something that has already been destroyed. svn path=/trunk/; revision=18452
* Update the upgrade script to handle the new url format introduced withJeffrey Stedfast2002-10-262-17/+58
| | | | | | | | | | | | | | | | | 2002-10-24 Jeffrey Stedfast <fejj@ximian.com> Update the upgrade script to handle the new url format introduced with NotZed's most recent commits. * upgrade-mailer.c (mailer_upgrade): Save an encoded version of the namespace too, for use later. (si_free): Free the encoded namespace too. (imap_url_upgrade): Use the encoded namespace when creating the new url. (shortcuts_upgrade_xml_file): Upgrade the default: urls. Fixes bug #32127. svn path=/trunk/; revision=18438
* Always strdup the new key in the threaded/preview hash/always free theNot Zed2002-10-252-4/+9
| | | | | | | | | | 2002-10-25 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_uri_renamed): Always strdup the new key in the threaded/preview hash/always free the working copy. For #32799. svn path=/trunk/; revision=18431
* Use the mode 0666 when creating a new file and let the user's umask handleJeffrey Stedfast2002-10-253-2/+11
| | | | | | | | | | | | | 2002-10-24 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (write_data_to_file): Use the mode 0666 when creating a new file and let the user's umask handle permissions. * folder-browser.c (message_list_drag_data_get): When using open() with the O_CREAT flag, we need to pass a mode argument. Also use O_EXCL. svn path=/trunk/; revision=18430
* Use a hashtable to only insert nodes we dont have already, rather thanNot Zed2002-10-252-6/+23
| | | | | | | | | | | | | | 2002-10-24 Not Zed <NotZed@Ximian.com> * subscribe-dialog.c (fe_got_children): Use a hashtable to only insert nodes we dont have already, rather than relying on the scanning logic. Also, only re-sort this tree level once done rather than on each insert. (folder_etree_init): Setup hash to track nodes setup. (folder_etree_clear_tree): Reset hash. (fe_destroy): Free hash. svn path=/trunk/; revision=18426
* Only perform the search if it is either a clear or advanced search.Jeffrey Stedfast2002-10-242-1/+10
| | | | | | | | | 2002-10-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_query_changed): Only perform the search if it is either a clear or advanced search. svn path=/trunk/; revision=18422
* pass fb->uri to the folder selection dialog so the current folder isMike Kestner2002-10-242-1/+7
| | | | | | | | | | 2002-10-22 Mike Kestner <mkestner@ximian.com> * mail-callbacks.c (transfer_msg): pass fb->uri to the folder selection dialog so the current folder is selected on display. "fixes" 15966. svn path=/trunk/; revision=18420
* here's a fix for bug #18242Jeffrey Stedfast2002-10-221-0/+17
| | | | svn path=/trunk/; revision=18402
* Fix the transport URL on any Exchange accounts. Fixes #30209, which is toDan Winship2002-10-212-1/+15
| | | | | | | | * upgrade-mailer.c (mailer_upgrade): Fix the transport URL on any Exchange accounts. Fixes #30209, which is to say that it fixes #28490 correctly. svn path=/trunk/; revision=18399
* s/+ 4/+ 1/Jeffrey Stedfast2002-10-191-1/+1
| | | | | | we want to strip the "-- " too svn path=/trunk/; revision=18394
* Strip the signature from the body-text. Fixes bug #5529.Jeffrey Stedfast2002-10-182-1/+14
| | | | | | | | | 2002-10-17 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_quote_message): Strip the signature from the body-text. Fixes bug #5529. svn path=/trunk/; revision=18393
* If the attachment is type application/octet-stream, sniff the file typeBenjamin Kahn2002-10-181-0/+6
| | | | | | | | | | 2002-10-17 Benjamin Kahn <xkahn@ximian.com> * mail-format.c (mail_lookup_handler): If the attachment is type application/octet-stream, sniff the file type even if the user has a handler for that type. svn path=/trunk/; revision=18388
* Don't need to pass a path to camel_gpg_context_new () anymore.Jeffrey Stedfast2002-10-178-466/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Don't need to pass a path to camel_gpg_context_new () anymore. (mail_get_message_body): Same here. (handle_multipart_encrypted): Use camel_gpg_context_new () instead of mail_crypto_get_pgp_cipher_context (). * mail-preferences.c (mail_preferences_construct): There's no security tab anymore. (mail_preferences_apply): No need to save any pgp config data, there's nothing to configure! * mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to not pass a pgp path into camel_gpg_context_new (). * mail-config.c (mail_config_clear): No need to free a pgp_path variable anymore, we don't need one. (config_read): Don't read in a pgp-path or pgp-type anymore. (mail_config_write_on_exit): Don't save a pgp-path or pgp-type anymore, we don't use them. (pgpopen): Removed. (pgpclose): Removed. (mail_config_pgp_type_detect_from_path): Removed. (auto_detect_pgp_variables): Removed. (mail_config_get_pgp_type): Removed. (mail_config_set_pgp_type): Removed. (mail_config_get_pgp_path): Removed. (mail_config_set_pgp_path): Removed. svn path=/trunk/; revision=18384
* If mode == REPLY_LIST and the mlist is "" (we only checked NULL before),Jeffrey Stedfast2002-10-172-6/+11
| | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If mode == REPLY_LIST and the mlist is "" (we only checked NULL before), change the mode to REPLY_ALL so that we don't accidently reply to the user's address. Fixes bug #28735 svn path=/trunk/; revision=18381
* If we are trying to reply to a list, first check that we can by gettingJeffrey Stedfast2002-10-172-25/+8
| | | | | | | | | | | | 2002-10-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we are trying to reply to a list, first check that we can by getting the mlist token (makes it easier to fix the mem leak). If not, then change the mode to REPLY_ALL. If we can reply to list, the make sure we free the CamelMessageInfo when we're done so we don't leak. svn path=/trunk/; revision=18376
* If we are trying to reply to a list, first check that we can by gettingJeffrey Stedfast2002-10-172-44/+72
| | | | | | | | | | | | | | 2002-10-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we are trying to reply to a list, first check that we can by getting the mlist token. If not, then change the mode to REPLY_ALL. If we can reply to list, the make sure we free the CamelMessageInfo when we're done so we don't leak. Also added a check to see if the mlist token could be found in the Reply-To ehader (since some mailing lists override the Reply-To with their address). svn path=/trunk/; revision=18375
* Add the new-mail-notify rule to the filter driver before adding the userJeffrey Stedfast2002-10-163-17/+35
| | | | | | | | | | | | | | | 2002-10-15 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): Add the new-mail-notify rule to the filter driver before adding the user defined filter rules so that we can be sure that the new-mail-notify rule gets invoked. Fixes bug #32328. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Make sure that name[0] cannot ever be NULL. Should maybe fix bug #32230. svn path=/trunk/; revision=18374
* Change the type in LDAP shortcuts from "ldap-contacts" to "contacts/ldap".Dan Winship2002-10-162-144/+62
| | | | | | | | | * upgrade-mailer.c (shortcuts_upgrade_xml_file): Change the type in LDAP shortcuts from "ldap-contacts" to "contacts/ldap". Rewrite this to use libxml since that was easier than trying to make the old code do both kinds of changes at once. svn path=/trunk/; revision=18367
* remove an unwanted spaceJeffrey Stedfast2002-10-151-1/+1
| | | | svn path=/trunk/; revision=18366
* Only set an account name if one doesn't already exist. Also use theJeffrey Stedfast2002-10-112-18/+29
| | | | | | | | | | | 2002-10-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (management_prepare): Only set an account name if one doesn't already exist. Also use the e_utf8_gtk_entry_get/set_text functions since account names are supposed to be in UTF8. Fixes bug #31891. svn path=/trunk/; revision=18365
* Don't do anything if the message_list is NULL (this means theJeffrey Stedfast2002-10-112-1/+12
| | | | | | | | | | 2002-10-09 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (main_folder_changed): Don't do anything if the message_list is NULL (this means the FolderBrowser has been destroyed). Fixes bug #32002. svn path=/trunk/; revision=18363
* The CamelFolderInfo that we get back has nodes for all parent folders, soJeffrey Stedfast2002-10-102-2/+19
| | | | | | | | | | | | 2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): The CamelFolderInfo that we get back has nodes for all parent folders, so do not delete all folders that have nodes in the returned tree. Instead, descend into the tree until we find the folder we want to delete and start deleting from there. svn path=/trunk/; revision=18357
* Mark a string for translation, fixes bug #31942. Thanks toJeffrey Stedfast2002-10-093-7/+12
| | | | | | | | | | | | | 2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (mail_signature_editor): Mark a string for translation, fixes bug #31942. Thanks to kmaraas@gnome.org for this patch. * mail-offline-handler.h: Don't #include config.h here. Fixes bug #31941. svn path=/trunk/; revision=18353
* Don't maek "en" for translation. Fixes bug #31788.Jeffrey Stedfast2002-10-083-5/+10
| | | | | | | | | | | | | 2002-10-07 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_load_values): Don't maek "en" for translation. Fixes bug #31788. * mail-config.glade: Removed a "xxxxxxxxxxx" string so that translators don't need to translate it. It was only a filler string. Fixes bug #31789. svn path=/trunk/; revision=18350
* Don't default 'me' to the source account until after we've tried to detectJeffrey Stedfast2002-10-052-13/+45
| | | | | | | | | | | | | 2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Don't default 'me' to the source account until after we've tried to detect the account based on recipients. When adding accounts to the account hash, if any accounts have identical email addresses, the ones that are enabled take precedence over ones that aren't. This will hopefully make everyone happy with reply account picking. Fixes bug #31693. svn path=/trunk/; revision=18326
* (drag_data_get_cb): silence warning.Larry Ewing2002-10-022-1/+2
| | | | | | | | 2002-10-01 Larry Ewing <lewing@ximian.com> (drag_data_get_cb): silence warning. svn path=/trunk/; revision=18289
* add support for dragging the content type directly.Larry Ewing2002-10-022-3/+44
| | | | | | | | | | | 2002-10-01 Larry Ewing <lewing@ximian.com> * mail-display.c (drag_data_get_cb): add support for dragging the content type directly. (do_attachment_header): add the target for the mime type to the drag source. svn path=/trunk/; revision=18288
* Connect to the changed signal for the reply_to entry box. Fixes bugsJeffrey Stedfast2002-10-022-1/+6
| | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (get_fn): Connect to the changed signal for the reply_to entry box. Fixes bugs #31553 and #31554. svn path=/trunk/; revision=18287
* Only setup the languages if the language_seq is not CORBA_OBJECT_NIL.Jeffrey Stedfast2002-10-022-7/+13
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_setup): Only setup the languages if the language_seq is not CORBA_OBJECT_NIL. Fixes bug #31559 (presumably at least). svn path=/trunk/; revision=18286
* Use e_utf8_gtk_entry_set_text for the email address and reply-to fields.Jeffrey Stedfast2002-10-022-2/+6
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Use e_utf8_gtk_entry_set_text for the email address and reply-to fields. Fixes bug #31555. svn path=/trunk/; revision=18285
* Handle a multipart/encrypted part. Fixes bug #31547.Jeffrey Stedfast2002-10-022-1/+14
| | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_body): Handle a multipart/encrypted part. Fixes bug #31547. svn path=/trunk/; revision=18284
* Shut up some compiler warnings.Jeffrey Stedfast2002-10-022-3/+5
| | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c: Shut up some compiler warnings. svn path=/trunk/; revision=18280
* Use the camel_message_info_new/free functions rather than g_new0 andJeffrey Stedfast2002-10-023-113/+60
| | | | | | | | | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * importers/evolution-mbox-importer.c (process_item_fn): Use the camel_message_info_new/free functions rather than g_new0 and g_free. Also, if we fail to parse a message make sure we don't later try to use that message object. (get_info_from_mozilla): Use camel_message_info_new and strtoul instead of string_to_int. 2002-09-30 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_node_to_shell_path): Removed (useless). svn path=/trunk/; revision=18279
* [Fix #24732]Ettore Perazzoli2002-10-022-2/+13
| | | | | | | | | | (process_item_fn): Set deleted to FALSE when not having Mozilla status headers. Before it was being left uninitialized and so there was a pretty good chance that its value would be nonzero and hence the message would not be imported... svn path=/trunk/; revision=18278
* cursor activated on etable is required to know when the selection changesNot Zed2002-10-012-0/+16
| | | | | | | | | | | | 2002-10-01 Not Zed <NotZed@Ximian.com> * folder-browser.c (on_cursor_activated): cursor activated on etable is required to know when the selection changes on a single row, update selection changed info with this signal too. Sounds like an etable bug to me, but this fixes #29808. (folder_browser_gui_init): Hook onto above signal. svn path=/trunk/; revision=18275
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-014-4/+15
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* translate prompt from utf8 to gtk widget. #31365.Not Zed2002-09-302-7/+10
| | | | | | | | | 2002-09-30 Not Zed <NotZed@Ximian.com> * mail-session.c (request_password): translate prompt from utf8 to gtk widget. #31365. svn path=/trunk/; revision=18258
* #include <stdlib.h> for alloca (searcher_next_token): Changed slightly toJeffrey Stedfast2002-09-282-11/+26
| | | | | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c: #include <stdlib.h> for alloca (searcher_next_token): Changed slightly to make sure that m is not NULL before dereferencing it. Also initialise m to NULL so that it can't be used uninitialised (NULL is a safe initialised value here). (build_trie): Same, but for n. svn path=/trunk/; revision=18250
* added standard header comment containing GPL license infoJeffrey Stedfast2002-09-281-4/+17
| | | | svn path=/trunk/; revision=18249
* added standard header comment containing GPL licenseJeffrey Stedfast2002-09-281-4/+18
| | | | svn path=/trunk/; revision=18248
* Set a timeout to call mail_config_write() in 2 seconds. Otherwise changesDan Winship2002-09-282-0/+37
| | | | | | | | | | | | * mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount, impl_GNOME_Evolution_MailConfig_removeAccount): Set a timeout to call mail_config_write() in 2 seconds. Otherwise changes made by this interface would not be saved to disk unless the user also changed some other preference. (mail_config_write_on_exit): If there's a config_write_timeout pending, call mail_config_write() too. svn path=/trunk/; revision=18245
* Add a margin around the "flag for followup" table so it lines up withDan Winship2002-09-262-4/+15
| | | | | | | | | | * mail-display.c (mail_display_render): Add a margin around the "flag for followup" table so it lines up with everything else. Also, don't add "at your earliest convenience" after the flag if there's no date set, since that doesn't make any sense for half of the flags. ("For Your Information at your earliest convenience"). svn path=/trunk/; revision=18226
* add "mail/public". Leave "vtrash" as it is rather than renaming it toDan Winship2002-09-265-13/+47
| | | | | | | | | | | | | | | | | | | | | | | * component-factory.c (folder_types): add "mail/public". Leave "vtrash" as it is rather than renaming it to "mail/vtrash", because we want it to behave differently from normal mail folders more often than we want it to behave the same. (type_is_mail, type_is_vtrash): utility funcs (create_view, create_folder, remove_folder, xfer_folder, populate_folder_context_menu, unpopulate_folder_context_menu, destination_folder_handle_drop, storage_create_folder): Use type_is_mail/type_is_vtrash. (create_component): Register "New Post" with "mail/public" instead of "mail" so it becomes the default New icon for it. (29024) * mail-callbacks.c (transfer_msg): Use "mail/*" for allowed type. * message-browser.c (transfer_msg): Likewise. * mail-account-gui.c (mail_account_gui_new): Use "mail/*" instead of "mail" here for sent/drafts allowed type. (?) svn path=/trunk/; revision=18223
* NULL-check si->folders before passing it into find_folder so we don'tJeffrey Stedfast2002-09-262-1/+7
| | | | | | | | | | 2002-09-25 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (imap_url_upgrade): NULL-check si->folders before passing it into find_folder so we don't crash. Fixes bug #30915. svn path=/trunk/; revision=18218
* Allow users to delete already deleted messages, fixes bug #30827.Jeffrey Stedfast2002-09-252-1/+6
| | | | | | | | | 2002-09-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Allow users to delete already deleted messages, fixes bug #30827. svn path=/trunk/; revision=18208
* Always do a search if the query changed. For #31060 & #29625.Not Zed2002-09-242-3/+5
| | | | | | | | | 2002-09-24 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_query_changed): Always do a search if the query changed. For #31060 & #29625. svn path=/trunk/; revision=18190
* pass name of the script as 1st parameterRadek Doulik2002-09-243-2/+10
| | | | | | | | | | | | 2002-09-23 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_run_script): pass name of the script as 1st parameter * mail-composer-prefs.c (sig_add_script_add): fix entry's glade name svn path=/trunk/; revision=18188
* Fix non-ANSI switch statement.Dan Winship2002-09-245-3/+20
| | | | | | | | | | | | | | | | * mail-signature-editor.c (exit_dialog_cb): Fix non-ANSI switch statement. * mail-account-gui.c (mail_account_gui_auto_detect_extra_conf): Likewise. * mail-composer-prefs.c (spell_load_values): add some dummy typedefs to avoid empty macro arguments, which have undefined behavior. * mail-importer.c: #include <sys/types.h> for OS X svn path=/trunk/; revision=18186
* Use 0666 as the create mode so that the user's umask is used to it'sJeffrey Stedfast2002-09-242-1/+6
| | | | | | | | | 2002-09-23 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_part_save): Use 0666 as the create mode so that the user's umask is used to it's fullest. svn path=/trunk/; revision=18182
* add these and install Mailer.idlDan Winship2002-09-242-0/+7
| | | | | | * Makefile.am (idldir, idl_DATA): add these and install Mailer.idl svn path=/trunk/; revision=18174
* Connect signal handlers to the GtkHTML preferences so that when theJeffrey Stedfast2002-09-212-7/+21
| | | | | | | | | | | | 2002-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Connect signal handlers to the GtkHTML preferences so that when the widgets change we can update the OK/Apply buttons. Also removed the omenuShortcutsType widget reference since this was not being used? Fixes bug #30731. svn path=/trunk/; revision=18147
* Unset the changed bit on the composer and also drop any undo operationsJeffrey Stedfast2002-09-202-0/+8
| | | | | | | | | | 2002-09-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_edit_messages): Unset the changed bit on the composer and also drop any undo operations (since we loaded the message into the composer). Fixes bug #30580. svn path=/trunk/; revision=18127
* Fix for filter driver api change.Not Zed2002-09-192-1/+6
| | | | | | | | | 2002-09-19 Not Zed <NotZed@Ximian.com> * mail-session.c (main_get_filter_driver): Fix for filter driver api change. svn path=/trunk/; revision=18114
* If going back from a page past our end (i.e. the final page), jump to theNot Zed2002-09-192-1/+7
| | | | | | | | | | 2002-09-18 Not Zed <NotZed@Ximian.com> * mail-config-druid.c (wizard_back_cb): If going back from a page past our end (i.e. the final page), jump to the last page we know of. For #29293. svn path=/trunk/; revision=18105
* reverted wrapping patchRadek Doulik2002-09-194-83/+46
| | | | svn path=/trunk/; revision=18103
* helper to map a camel excpeiton to a listener result.Not Zed2002-09-182-9/+36
| | | | | | | | | | | | 2002-09-18 Not Zed <NotZed@Ximian.com> * component-factory.c (notify_listener_exception): helper to map a camel excpeiton to a listener result. (storage_create_folder): Use above to return more meaningful error. (storage_remove_folder): " (storage_xfer_folder): ". For #28209. svn path=/trunk/; revision=18101
* Use e_strftime_fix_am_pm here which fixes locale issues as well as workingJeffrey Stedfast2002-09-184-3/+9
| | | | | | | | | | | | 2002-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Use e_strftime_fix_am_pm here which fixes locale issues as well as working around systems that don't support %P (afaik). * mail-ops.c (prep_offline_do): Cache important messages too. svn path=/trunk/; revision=18095
* Disable debugging printf'sJeffrey Stedfast2002-09-182-94/+109
| | | | | | | | 2002-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (d): Disable debugging printf's svn path=/trunk/; revision=18091