aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable some #if 0'd code.Jeffrey Stedfast2002-07-171-4/+2
| | | | | | | | | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code. * mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE for an auto_connect argument since that argument no longer exists. * mail-account-gui.c (add_new_store): Updated to not pass an auto_connect argument. * component-factory.c (add_storage): Don't ever auto-connect here. (mail_add_storage): No longer takes an auto_connect argument. (mail_load_storages): Only load the account storages that are enabled. svn path=/trunk/; revision=17483
* changed a commentJeffrey Stedfast2002-07-051-1/+2
| | | | svn path=/trunk/; revision=17370
* Removed special-case code for NNTP support.Jeffrey Stedfast2002-07-051-241/+0
| | | | | | | | | | | | | | | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Removed special-case code for NNTP support. * mail-account-gui.c (mail_account_gui_setup): Allow configuration of both mail and news accounts. * component-factory.c (mail_load_storages): No longer need the is-account argument. * subscribe-dialog.c (populate_store_list): Don't special-case news accounts anymore. * mail-config.c (mail_config_get_default_news): Removed. (mail_config_get_news): Removed. (mail_config_add_news): Removed. (mail_config_remove_news): Removed. svn path=/trunk/; revision=17368
* Fixes bug #27055.Jeffrey Stedfast2002-06-291-2/+12
| | | | | | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27055. * mail-accounts.c (account_add_finished): Unref the main accounts widget. (account_add_clicked): Ref the main accounts widget. (account_edit_finished): Unref the main accounts widget. (account_edit_clicked): Ref the main accounts widget. svn path=/trunk/; revision=17323
* Comment out the code to add/remove the store to the folder-tree when itJeffrey Stedfast2002-06-111-0/+3
| | | | | | | | | | 2002-06-10 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Comment out the code to add/remove the store to the folder-tree when it gets enabled/disabled. svn path=/trunk/; revision=17162
* Duh, we want to set the news_edit/delete buttons for the news page, notNot Zed2002-06-041-2/+2
| | | | | | | | | | | | | 2002-06-04 Not Zed <NotZed@Ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Duh, we want to set the news_edit/delete buttons for the news page, not overwrite the mail ones! That would've saved a bit of angst ... * mail-config-druid.c (extra_prepare): dont call build_extra_conf, otherwise it blows away any settings with defaults. svn path=/trunk/; revision=17098
* Correctly get the GtkWindow ancestor of the prefs widget.Jeffrey Stedfast2002-06-041-1/+4
| | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_delete_clicked): Correctly get the GtkWindow ancestor of the prefs widget. svn path=/trunk/; revision=17095
* moved spell checking options to separate page, updated UI by Anna's designRadek Doulik2002-05-301-0/+1
| | | | | | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: moved spell checking options to separate page, updated UI by Anna's design * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist (mail_accounts_tab_construct): justify marks column to right svn path=/trunk/; revision=17041
* use _ instead of U_ for clistRadek Doulik2002-05-301-1/+1
| | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist svn path=/trunk/; revision=17035
* Added back the checkmark icon for enabled accounts.Jeffrey Stedfast2002-04-241-7/+24
| | | | | | | | | | | 2002-04-23 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Added back the checkmark icon for enabled accounts. (account_able_clicked): Don't reload the accounts list, that was just lame. svn path=/trunk/; revision=16571
* s/ENABLE_NEWS/ENABLE_NNTPJeffrey Stedfast2002-04-141-1/+1
| | | | svn path=/trunk/; revision=16464
* compile fixesJeffrey Stedfast2002-04-141-4/+4
| | | | svn path=/trunk/; revision=16461
* Build fixes for --enable-nntp.Jeffrey Stedfast2002-04-141-4/+5
| | | | | | | | 2002-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Build fixes for --enable-nntp. svn path=/trunk/; revision=16459
* Setup News preferences too if it is enabled.Jeffrey Stedfast2002-04-131-0/+241
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Setup News preferences too if it is enabled. svn path=/trunk/; revision=16451
* (account_cursor_change): Make sure that event is non-NULL here.Jeffrey Stedfast2002-03-291-2/+2
| | | | svn path=/trunk/; revision=16279
* Use a GtkCList instead of an ETable, for some reason the etable wasJeffrey Stedfast2002-03-291-14/+166
| | | | | | | | | | | 2002-03-28 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Use a GtkCList instead of an ETable, for some reason the etable was getting into some infinite resize loop or something. I probably did something wrong but I can't figure out what so I'm using a clist for now. svn path=/trunk/; revision=16277
* Use gtk_container_add() to put the toplevel in the parent widget, insteadEttore Perazzoli2002-03-281-2/+4
| | | | | | | | | | * mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16270
* Sync with yet-another-mail-config branch.Jeffrey Stedfast2002-03-271-1329/+229
| | | | | | | | | | | | | | | | | | 2002-03-26 Jeffrey Stedfast <fejj@ximian.com> Sync with yet-another-mail-config branch. * mail-composer-prefs.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-preferences.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-accounts.etspec: New file needed by mail-accounts.c svn path=/trunk/; revision=16257
* Draw colour rectangles for each of the colour items and set a closure onJeffrey Stedfast2002-03-161-1/+2
| | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Draw colour rectangles for each of the colour items and set a closure on each. (colourise_msg): colourise the message, yo. svn path=/trunk/; revision=16187
* New callback to set a colour on a message.Jeffrey Stedfast2002-03-161-10/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (colour_msg): New callback to set a colour on a message. * folder-browser.c (on_right_click): Setup our popup icons and stuff. Also add a submenu for Labels. * mail-display.c (pixmap_press): Sync up with the new EPopupMenu API. Note: This code can probably now be fixed to use per-item closures - yay! * mail-accounts.c (construct): Connect to the label GtkEntry's and GnomeColorPickers and also to the Restore Defaults button. * mail-config.c (mail_config_get_label_name): New function to get a label's name. (mail_config_set_label_name): New function to set the label name. (mail_config_get_label_color): New function to get the label color. (mail_config_set_label_color): New function to set the label color. (config_read): Read in the config options for the labels and their colors. (mail_config_write_on_exit): Save the label options. svn path=/trunk/; revision=16186
* new functionRadek Doulik2002-03-091-0/+5
| | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_set_html): new function * mail-accounts.c (sig_event_client): watch for HTML changed event * mail-signature-editor.c: added HTML check menu item to Format menu svn path=/trunk/; revision=15996
* handle name changed event (sig_load_preview): don't run script before eachRadek Doulik2002-03-091-5/+25
| | | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-accounts.c (sig_event_client): handle name changed event (sig_load_preview): don't run script before each reload (sig_script_activate): run script only if script entry is activated * mail-signature-editor.c (mail_signature_editor): added signature name entry svn path=/trunk/; revision=15989
* notify accounts dialog about signature content changeRadek Doulik2002-03-081-2/+21
| | | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c: notify accounts dialog about signature content change * mail-accounts.c (run_script): run script only if file regular file exists and has x flag svn path=/trunk/; revision=15979
* merge new signature handlingRadek Doulik2002-03-071-1/+374
| | | | svn path=/trunk/; revision=15960
* If the clicked column was column 0, enable/disable it. (mail_select):Jeffrey Stedfast2002-03-051-7/+17
| | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_unselect): If the clicked column was column 0, enable/disable it. (mail_select): Same. svn path=/trunk/; revision=15914
* Pass the parent window to mail_account_editor_new().Jeffrey Stedfast2002-01-311-2/+1
| | | | | | | | | | | | | | | | | 2002-01-30 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_edit): Pass the parent window to mail_account_editor_new(). * mail-account-editor.c (mail_account_editor_new): Set the parent window here because construct() inadvertantly gtk_widget_show_all's the editor. * mail-account-gui.c (mail_account_gui_save): Use g_basename() rather than strrchr for '/' especially since the strrchr code wasn't doing any NULL checks. svn path=/trunk/; revision=15533
* Don't pass NULL text to gtk_entry_set_text. Maybe this will fix bugJeffrey Stedfast2002-01-301-3/+7
| | | | | | | | | 2002-01-29 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Don't pass NULL text to gtk_entry_set_text. Maybe this will fix bug #18971. svn path=/trunk/; revision=15512
* Renamed. (mail_config_get_new_mail_notify_sound_file): Renamed.Jeffrey Stedfast2002-01-081-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_new_mail_notify_sound_file): Renamed. (mail_config_get_new_mail_notify_sound_file): Renamed. * mail-accounts.c (notify_radio_toggled): Replace EXEC with PLAY_SOUND. (construct): renamed the exec_command stuff to play_sound. * main.c (main): Init and shutdown gnome_sound. * mail-ops.c (fetch_mail_fetch): Don't do any new-mail notification here. (filter_folder_filter): call camel_filter_driver_flush. * mail-session.c (main_get_filter_driver): Set the filter-driver exec_func here instead. * mail-ops.c (mail_fetch_mail): Don't set the filter-driver exec_func here. svn path=/trunk/; revision=15263
* If the provider is NULL, don't do anything.Jeffrey Stedfast2001-12-201-2/+2
| | | | | | | | | | | | | | 2001-12-19 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (setup_service): If the provider is NULL, don't do anything. * mail-accounts.c (construct): Oops, no wonder the exec command thing never stuck around... I wasn't getting the right widget from libglade. Also connect to the GtkEntry's changed event since a GnomeFileEntry doesn't have that signal in its ancestry. svn path=/trunk/; revision=15188
* Oops, no wonder the exec command thing never stuck around... I wasn'tJeffrey Stedfast2001-12-201-1/+1
| | | | | | | | | | 2001-12-19 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Oops, no wonder the exec command thing never stuck around... I wasn't getting the right widget from libglade. svn path=/trunk/; revision=15187
* slight fixJeffrey Stedfast2001-12-191-3/+3
| | | | svn path=/trunk/; revision=15169
* Setup the new-mail-notification widgets. (notify_command_changed): UpdateJeffrey Stedfast2001-12-191-2/+48
| | | | | | | | | | | | | | | 2001-12-18 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Setup the new-mail-notification widgets. (notify_command_changed): Update the command-line for new mail notification. (notify_radio_toggled): Update the new-mail-notification type. * mail-ops.c (filter_folder_free): See if we got any new mail and "sound the alarm" if we did. svn path=/trunk/; revision=15168
* Make sure that the message subject is non-NULL beforetrying to base aJeffrey Stedfast2001-12-111-1/+19
| | | | | | | | | | | | | | | | | | | 2001-12-04 Jeffrey Stedfast <fejj@ximian.com> * mail-autofilter.c (rule_from_message): Make sure that the message subject is non-NULL beforetrying to base a vfolder rule off it. Fixes bug #16284. 2001-12-07 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Connect to the dialog's "destroy" event and close any druids/editors that may be open when that signal is caught. Fixes bug #16501. * mail-vfolder.c (vfolder_edit): Set the window title to "Virtual Folders". Fixes bug #16695. svn path=/trunk/; revision=14966
* Call mail_config_pgp_type_detect_from_path() instead of doing our own lameJeffrey Stedfast2001-11-091-11/+4
| | | | | | | | | | | | | | | | 2001-11-06 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (pgp_path_changed): Call mail_config_pgp_type_detect_from_path() instead of doing our own lame auto-detection that didn't even work ;-) * mail-config.c (auto_detect_pgp_variables): Execute the pgp binary and look at it's version string if we have a version string to compare to. (mail_config_pgp_type_detect_from_path): New function that takes a pgp path and attempts to figure out what pgp version it is. svn path=/trunk/; revision=14634
* Don't make the account editor modal either.Jeffrey Stedfast2001-11-061-48/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-05 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Don't make the account editor modal either. * mail-accounts.c (mail_add): Use the new global account druid variable so that we can avoid having more than a single druid at a time. If a druid already exists, bring it to the top. (mail_edit): Same idea only for the account editor this time. (mail_editor_destroyed): Set the global editor to NULL. (mail_add_finished): Set the global druid to NULL. (mail_delete): Don't allow any deletes if an account editor is opened (we don't want to be able to delete the account we are editing...) (news_edit): Same thing for the news editor. (news_editor_destroyed): Set the news editor to NULL. (news_add): And again for the news add. * mail-account-gui.c (service_check_supported): Updated to pass a GtkWindow argument to mail_config_check_service(). * mail-config.c (mail_config_check_service): Now takes a GtkWindow argument so we can set our parent window. Also, don't make this dialog modal either. * mail-config-druid.c (construct): Don't make this druid modal. svn path=/trunk/; revision=14598
* More fixing of the license texts.Ettore Perazzoli2001-10-281-11/+11
| | | | svn path=/trunk/; revision=14217
* Set the GdkWindow of the FolderBrowser, not the GtkWindow...Jeffrey Stedfast2001-10-271-1/+1
| | | | | | | | | 2001-10-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (providers_config): Set the GdkWindow of the FolderBrowser, not the GtkWindow... svn path=/trunk/; revision=14148
* Use a timeout not an idle handler.62001-10-261-0/+1
| | | | | | | | | | | | 2001-10-26 <NotZed@Ximian.com> * component-factory.c (owner_unset_cb): Use a timeout not an idle handler. * mail-callbacks.c (providers_config): Only set the parent window. * mail-accounts.c (mail_edit): Set the parent on the account editor. svn path=/trunk/; revision=14121
* Helper macro.Jeffrey Stedfast2001-10-181-3/+3
| | | | | | | | | | | | | | | | | 2001-10-17 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.h (subscribe_dialog_show): Helper macro. * subscribe-dialog.c (subscribe_dialog_run_and_close): Removed. * mail-callbacks.c (check_send_configuration): Don't use gnome_dialog_run_and_close() here, we can easily get away with just using a gtk_widget_show(). (providers_config): Don't use a gnome_dialog_run_and_close() here either. No longer need to use e_gnome_dialog utils. (manage_subscriptions): Don't run_and_close(). svn path=/trunk/; revision=13732
* Add toggle button to config menu to turn the "confirm sending unwantedJon Trowbridge2001-10-061-0/+11
| | | | | | | | | | | | 2001-10-05 Jon Trowbridge <trow@ximian.com> * mail-config.glade: Add toggle button to config menu to turn the "confirm sending unwanted HTML" dialog on/off. (Bug 10794) * mail-accounts.c (construct): Make said toggle button actually work. svn path=/trunk/; revision=13466
* Ignore the signal if the radio button is not "on". This fixes bug #10532Jeffrey Stedfast2001-10-051-1/+4
| | | | | | | | | | | | 2001-10-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (images_radio_toggled): Ignore the signal if the radio button is not "on". This fixes bug #10532 because the on/off signals don't always come in the off->on order. * mail-ops.c (mail_send_message): Reduced some redundancy. svn path=/trunk/; revision=13424
* Don't create checkboxes for global Threaded or Preview options as they areJeffrey Stedfast2001-09-291-0/+6
| | | | | | | | | 2001-09-28 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Don't create checkboxes for global Threaded or Preview options as they are now removed. svn path=/trunk/; revision=13244
* Update to not send the remember-passphrase option to the context, itJeffrey Stedfast2001-09-261-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (decode_pgp): Update to not send the remember-passphrase option to the context, it doesn't need it anymore. (try_inline_pgp_sig): Same. * mail-accounts.c (construct): The remember-passphrase option is no longer there. This can now be set on the passphrase prompt dialog. (construct): Add confirm expunge options. * mail-config.c (config_read): We no longer read-in the remember-passphrase state because we no longer need it. (mail_config_write_on_exit): We no longer save it either. (mail_config_get_remember_pgp_passphrase): Removed. (mail_config_set_remember_pgp_passphrase): Removed. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): No longer do we need to send the remember passphrase state to the pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): Here too. (mail_crypto_pgp_mime_part_decrypt): And here. svn path=/trunk/; revision=13139
* Do not add the account here as this is taken care of inJeffrey Stedfast2001-09-211-10/+9
| | | | | | | | | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (wizard_finish_cb): Do not add the account here as this is taken care of in mail_account_gui_save() since it has to be able to set the default account. * mail-config.c (mail_config_set_default_account): Don't allow the index to become invalid. * mail-account-gui.c (mail_account_gui_save): Add the account before setting it as the default. svn path=/trunk/; revision=13037
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* Whoops, make sure that the account has a source before removing it orPeter Williams2001-08-201-4/+6
| | | | | | | | | 2001-08-20 Peter Williams <peterw@ximian.com> * mail-accounts.c (mail_able): Whoops, make sure that the account has a source before removing it or what-have-you. svn path=/trunk/; revision=12310
* Convert the UTF-8 account name string into a gtk-string before using it inJeffrey Stedfast2001-08-151-3/+6
| | | | | | | | | 2001-08-14 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (load_accounts): Convert the UTF-8 account name string into a gtk-string before using it in the GtkCList. svn path=/trunk/; revision=12036
* If the account is enabled, set a checkmark pixmap instead of a strangePeter Williams2001-08-151-3/+16
| | | | | | | | | | | | | 2001-08-14 Peter Williams <peterw@ximian.com> * mail-accounts.c (load_accounts): If the account is enabled, set a checkmark pixmap instead of a strange plus sign. (mail_accounts_dialog_init): Load the pixmap here. (mail_accounts_dialog_finalise): Free it here. * mail-accounts.h: Prototype it here. svn path=/trunk/; revision=12017
* Changed the title of the Mail Settings dialog from "Evolution AccountAnna Marie Dirks2001-08-141-1/+1
| | | | | | | | 2001-08-13 Anna Marie Dirks <anna@ximian.com> * mail-accounts.c: Changed the title of the Mail Settings dialog from "Evolution Account Manager" to "Mail Settings" . svn path=/trunk/; revision=11957
* Don't remove the account from the tree if it's not enabled.Peter Williams2001-08-111-1/+1
| | | | | | | | | 2001-08-10 Peter Williams <peterw@ximian.com> * mail-accounts.c (mail_delete): Don't remove the account from the tree if it's not enabled. svn path=/trunk/; revision=11894
* Whoops, compile fix.Peter Williams2001-08-111-1/+1
| | | | | | | | 2001-08-10 Peter Williams <peterw@ximian.com> * mail-accounts.c (news_add_destroyed): Whoops, compile fix. svn path=/trunk/; revision=11884
* Don't load the storage if it isn't enabled. (mail_remove_storage_by_uri):Peter Williams2001-08-111-26/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-08 Peter Williams <peterw@ximian.com> * component-factory.c (mail_load_storages): Don't load the storage if it isn't enabled. (mail_remove_storage_by_uri): New function. Goes through the gymnastics of getting a CamelStore from the URI and calling mail_remove_storage. Copied from mail_delete(). (mail_load_storage_by_uri): Break out the storage-loading part of mail_load_storages into a single function. (mail_load_storages): Just call mail_load_storage_by_uri several times. * mail.h: Prototype our new _by_uri functions. * mail-accounts.c (news_add_destroyed): Instead of hacking around mail_load_storages, call mail_load_storage_by_uri. (mail_delete): Move this chunk of code into mail_remove_storage_by_uri. (mail_able): Add or remove the storage as necessary, with our new _by_uri functions. * mail-config-druid.c (druid_finish): See news_add_destroyed above. svn path=/trunk/; revision=11881
* This should return a GtkWidget not a GtkObject.Jeffrey Stedfast2001-08-081-21/+49
| | | | | | | | | | | | | | | | | | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (subscribe_dialog_new): This should return a GtkWidget not a GtkObject. * mail-session.c (get_filter_driver): Update to use user's logging preferences. * mail-accounts.c (filter_log_toggled): New. (filter_log_path_changed): New. (construct): Get and attach signals to the filter logging option widgets. * mail-config.c (config_read): Read in filter logging options. (mail_config_write_on_exit): Save filter logging options. (mail_config_set_filter_log_path): Implemented. (mail_config_get_filter_log_path): Implemented. (mail_config_set_filter_log): Implemented. (mail_config_get_filter_log): Implemented. svn path=/trunk/; revision=11751
* Respect Gtk theme colors for the fonts and calculate a new table gbcolorJeffrey Stedfast2001-07-271-1/+1
| | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Respect Gtk theme colors for the fonts and calculate a new table gbcolor based on gtk theme preferences. * mail-config.glade: Label the enabled field. svn path=/trunk/; revision=11431
* Add new label widgets with a message that SSL isn't supported.Peter Williams2001-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-config.glade: Add new label widgets with a message that SSL isn't supported. * mail-account-gui.h: Add a new member to the Transport GUI struct for the 'SSL is not supported' message. * mail-account-gui.c (source_type_changed): Change logic to display a message stating that SSL isn't supported if SSL isn't supported. (transport_type_changed): Same. (mail_account_gui_new): Also load the labels for the the no-SSL message. * mail-accounts.c (construct): Fix typo. svn path=/trunk/; revision=11340
* Fixed the "Read" to be Read in the glade file per menesis' request.Jeffrey Stedfast2001-07-241-1/+34
| | | | | | | | | | | | | | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Fixed the "Read" to be Read in the glade file per menesis' request. * mail-accounts.c (construct): Give the dialog a Close button instead of an OK button. (prompt_bcc_only_toggled): New. (threaded_list_toggled): New. (show_preview_toggled): New. (construct): Add code for the bcc-only-prompt, threaded-list, and show-preview checkboxes. * mail-ops.c (transfer_messages_transfer): If the source and destination folders are the same, just mark the uids as undeleted (in case they were marked as deleted before). svn path=/trunk/; revision=11327
* [Simplifying how default account is stored and used internally, fixesJason Leach2001-07-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-18 Jason Leach <jleach@ximian.com> [Simplifying how default account is stored and used internally, fixes possabilities of having multiple default accounts and things like deleting the current default account] * mail-account-gui.c (mail_account_gui_new): Update for new way of finding out the default account. (mail_account_gui_save): Ditto. * mail-accounts.c (load_accounts): Ditto. * mail-config-druid.c (make_default_account): Ditto. * mail-config.c: Added an int MailConfig::default_account, to be used instead of a 'default_account' boolean on each mail account. (mail_config_set_default_account_num): New function, facilitates things. * Mail.idl: removed the Account::default_account boolean. svn path=/trunk/; revision=11218
* Add GTK_WIDGET to the charset picker. Reportedly prevent a craash forPeter Williams2001-07-191-1/+1
| | | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-accounts.c (construct): Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for someone... ? svn path=/trunk/; revision=11202
* Setup the auto-receive here instead.Jeffrey Stedfast2001-07-181-1/+3
| | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_delete): Setup the auto-receive here instead. * mail-config.c (mail_config_remove_account): Don't setup the auto-recv here. svn path=/trunk/; revision=11188
* Reset the autoreceive when necessary.Iain Holmes2001-07-181-0/+1
| | | | svn path=/trunk/; revision=11181
* Make a nicer delete account dialogIain Holmes2001-07-181-6/+7
| | | | svn path=/trunk/; revision=11161
* [Bug #4305: Make the automatic mark-as-read timer optional]Jason Leach2001-07-111-1/+13
| | | | | | | | | | | | | | | | | | | | 2001-07-10 Jason Leach <jleach@ximian.com> [Bug #4305: Make the automatic mark-as-read timer optional] * mail-config.glade: Necessary changes to make the Mark as "Read" label a toggle button instead. * mail-accounts.c (construct): Connect to the "toggled" on our new toggle. (timeout_toggled): New callback, called from above. * mail-config.c (mail_config_get_do_seen_timeout): New. (mail_config_set_do_seen_timeout): New. (mail_config_write_on_exit): Save the preference here. (config_read): Load it here. svn path=/trunk/; revision=10973
* Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-101-0/+11
| | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass in the `remember' argument when creating a new pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): And here... (mail_crypto_pgp_mime_part_decrypt): And finally here. * mail-config.c (mail_config_get_remember_pgp_passphrase): New. (mail_config_set_remember_pgp_passphrase): New. (config_read): Read in the "remember passphrase" value. (mail_config_write_on_exit): Save the remember-passphrase value. * mail-accounts.c (construct): Allow the user to set "Remember PGP Passphrase". (remember_pgp_passphrase_toggled): Set the toggle state. svn path=/trunk/; revision=10933
* Add a checkbox for prompting when sending a message with an empty subject.Jeffrey Stedfast2001-07-061-0/+11
| | | | | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Add a checkbox for prompting when sending a message with an empty subject. * mail-ops.c (mail_send_message): If filtering fails, return right away. svn path=/trunk/; revision=10821
* Added an MailAccountEditorNews, for NNTP configuratuion. Based onSam Creasey2001-07-031-60/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Sam Creasey <sammy@oh.verio.com> * mail-account-editor-news.c: Added an MailAccountEditorNews, for NNTP configuratuion. Based on MailAccountEditor, but stripped. * Makefile.am: added mail-account-editor-news.c and mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined. * mail-accounts.c (load_news): Moved this function, and fixed some slight brokenness. (news_edit): Added functional code using MailAccountEditorNews (news_add): Added functional code using news_edit after allocation. * mail-config.glade: news_editor_window widget added. Used by MailAccountEditorNews. * mail-display.c (save_data_cb): Store the pathname used when saving messages so that the next save box will default to the previous path. * message-browser.c (message_browser_new): add signal handler for size_allocate on the message browser. Thus new windows are size as they were last allocated. (message_browser_size_allocate_cb): handler to store allocations. * message-list.c (message_list_setup_etree): connect to the info_changed signals for the state of the message_list->tree. Save the folder state to disk, so that when additional message_lists are created, they are consistant. e.g. the next buttons do the same thing in the browser, and in the message viewer after changing sorting options. * subscribe-dialog.c (build_tree): freeze sc->folder model while building the tree. Not doing so takes a very long time over 40000 newsgroups. svn path=/trunk/; revision=10719
* Setup the Empty Trash On Exit widgets.Jeffrey Stedfast2001-07-031-0/+11
| | | | | | | | | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Setup the Empty Trash On Exit widgets. * mail-config.c (config_read): Option to emtpy trash on exit. (mail_config_write_on_exit): Same. (mail_config_set_empty_trash_on_exit): Set the option. (mail_config_get_empty_trash_on_exit): Get the option. * component-factory.c (owner_unset_cb): Empty the trash folders if the user set the "empty trash on exit" option. svn path=/trunk/; revision=10711
* #include widgets/misc/e-charset-picker.h since it was moved there fromJeffrey Stedfast2001-07-031-1/+2
| | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: #include widgets/misc/e-charset-picker.h since it was moved there from libgal. svn path=/trunk/; revision=10689
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-2/+2
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* #include "folder-browser-factory.h"Jeffrey Stedfast2001-06-201-5/+58
| | | | | | | | | | | | | | | 2001-06-19 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c: #include "folder-browser-factory.h" * component-factory.c (mail_remove_storage): New function to remove an EvolutionStorage. * mail-accounts.c (mail_delete): Remove the storage from the folder-tree. (news_delete): Same. svn path=/trunk/; revision=10304
* Check that the chain of deferences in gui->account->source->url is safe.Jon Trowbridge2001-06-071-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jon Trowbridge <trow@ximian.com> * mail-account-gui.c (source_type_changed): Check that the chain of deferences in gui->account->source->url is safe. This was causing a segfault when adding a new account if any of the existing accounts had their sources set to "None". (i.e. gui->account->source == NULL) * mail-accounts.c (load_accounts): Check that account->source != NULL before dereferencing it. (load_accounts): The selection is cleared when the account clist is rebuilt (say after a call to add), but no unselect event is emitted. Yes, the clist is evil. We work around this by explictly calling mail_unselect, our unselect signal handler. (Otherwise, the edit and delete buttons remain sensitive and accounts_row != 0, but the user can't see which row the dialog thinks is selected.) (load_news): Check the account->source != NULL before dereferencing it. (mail_unselect): If an insensitive button in a button box has the focus, and if you hit tab, there is a segfault deep inside of gtk. This is probably a gtk bug. We work around it by having the add button (which is always sensitive) grab the focus on an unselect. svn path=/trunk/; revision=10136
* Rename the "PGP" page back to "Other" and add a "default charset" optionDan Winship2001-05-311-1/+21
| | | | | | | | | | | | | | | * mail-config.glade: Rename the "PGP" page back to "Other" and add a "default charset" option menu. * mail-config.c (config_read, mail_config_write_on_exit, mail_config_get_default_charset, mail_config_set_default_charset): Handle "default charset". * mail-accounts.c (construct): Fill in the "default_charset" menu with an e_charset_picker menu. (charset_menu_deactivate): Update the default charset. svn path=/trunk/; revision=10057
* Split "Other" page into three pages, Display, Composer, and PGP. Add HTMLDan Winship2001-05-151-13/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-config.glade: Split "Other" page into three pages, Display, Composer, and PGP. Add HTML image stuff on the Display page and default forward style on the Composer page. * mail-config.c (mail_config_get_default_forward_style, mail_config_set_default_forward_style): User-specified default style for forwarding messages. (config_read, mail_config_write_on_exit): Deal with forward style. * mail-accounts.c: Handle HTML image display options and default forward style. * mail-callbacks.c (forward): New. Forward in the user-selected default style. (forward_inline, forward_quoted): Simplify these some. Remove the fallback to forward attached when forwarding multiple messages: it should just forward the multiple messages inline or quoted in those cases. (Which it doesn't yet, but that's a bug.) * folder-browser.c (context_menu): Remove "Forward inline" and make "Forward" call forward() rather than forward_attached(). * folder-browser-factory.c: Update command/menu/toolbar/pixmap gunk for the "MessageForwardAttached" vs "MessageForward" split. * mail-session.c (mail_session_get_type): * mail-format.c (format_mime_part): * mail-account-gui.c (setup_service): Fix warnings. svn path=/trunk/; revision=9792
* Updated for changes to PGP code.Jeffrey Stedfast2001-04-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (pgp_path_changed): Updated for changes to PGP code. * component-factory.c (owner_set_cb): Don't init openpgp anymore because we don't need it. * mail-crypto.c: Simply wrap the camel-pgp-mime functions (also renamed the functions to be prefixed with mail_crypto). * mail-format.c (handle_multipart_signed): Update to use camel_pgp_mime_is_rfc2015_signed() and other camel-pgp-mime functions. (handle_multipart_encrypted): Same but for rfc2015_encrypted. (decode_pgp): Updated to use camel-pgp-context (try_inline_pgp): Updated to use camel-pgp-context's. (try_inline_pgp_sig): Same. svn path=/trunk/; revision=9269
* Cleaned up #includes. Remove unneccesary includes of <gnome.h>,Kjartan Maraas2001-03-301-14/+63
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
* Probably the very last new config dialog ever. (Ha ha). From Anna, basedDan Winship2001-03-271-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-config.glade: Probably the very last new config dialog ever. (Ha ha). From Anna, based on a story by me. * mail-account-gui.c: New code for the new mail-config.glade. This abstracts out all of the common code between the account editor and the druid. It also handles the spiffy new provider-specific config stuff. FIXME: The code to check if a service is ok or not is no longer there... waiting until the online/offline stuff from the shell appears. * mail-account-editor.c, mail-config-druid.c: These are much smaller now, since most of the interesting bits moved to mail-account-gui.c * mail-accounts.c: Add an enabled/disabled column/button to replace the checkbox that used to be in the editor, because it really makes more sense to have it out here. This looks ugly. Probably ought to ETable it... (load_accounts): Fill in the enabled column. (mail_select, mail_unselect): toggle the sensitivity and name of the Enable/Disable button appropriately (mail_able): Handle the enable/disable button. * mail-config.c: Remove reply-to from MailConfigIdentity since it didn't belong there (and wasn't being saved anyway). (mail_config_check_service): Simplify this a bit. This really needs to pop up a dialog with a "connecting..." message and a cancel button. svn path=/trunk/; revision=8971
* New callback to handle a double-click event in the account clist.Jeffrey Stedfast2001-03-231-0/+9
| | | | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_double_click): New callback to handle a double-click event in the account clist. (construct): Setup the double-click event for the account list. svn path=/trunk/; revision=8908
* set color in html citationRadek Doulik2001-03-211-0/+40
| | | | | | | | | | | | | | | | 2001-03-20 Radek Doulik <rodo@ximian.com> * mail-tools.c (mail_tool_quote_message): set color in html citation * mail-config.c: added citation highlighting configuration * mail-tools.c (mail_tool_quote_message): use citation highlighting * mail-display.c (mail_text_write): use citation highlighting svn path=/trunk/; revision=8848
* uh, emacs said it didn't save thisJeffrey Stedfast2001-03-071-1/+1
| | | | svn path=/trunk/; revision=8576
* Disable the NNTP code if NNTP is not enabled. This prevents some runtimeJeffrey Stedfast2001-03-071-1/+3
| | | | | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Disable the NNTP code if NNTP is not enabled. This prevents some runtime warnings... * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8575
* Don't access the `active` data member of a GtkToggleButton directly - badJeffrey Stedfast2001-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Don't access the `active` data member of a GtkToggleButton directly - bad programming, shame on me. * mail-account-editor.c: Same here. * mail-accounts.c: And here too. * mail-callbacks.c (empty_subject_destroyed): And finally here. * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8560
* Confirm thatt he user REALLY wants to delete this account. (news_delete):Jeffrey Stedfast2001-02-271-4/+38
| | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_delete): Confirm thatt he user REALLY wants to delete this account. (news_delete): Same. svn path=/trunk/; revision=8398
* Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try toJeffrey Stedfast2001-02-231-0/+29
| | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try to auto-detect which PGP type the binary file is based on the basename (yuck). svn path=/trunk/; revision=8353
* Yes, I screwed up.Iain Holmes2001-01-261-2/+1
| | | | svn path=/trunk/; revision=7832
* GNOME_Evolution_Mail.oafinfoIain Holmes2001-01-261-1/+2
| | | | svn path=/trunk/; revision=7831
* Added a 3rd page to the account editor to allow users to set their HTMLJeffrey Stedfast2001-01-251-0/+31
| | | | | | | | | | | | | 2001-01-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Added a 3rd page to the account editor to allow users to set their HTML sending preference and also allow them to change their message status timeout. * mail-accounts.c (construct): Added handlers for the send-html checkbox and for the mark-message-as timeout spinbutton. svn path=/trunk/; revision=7789
* s/filter-driver.h/camel-filter-driver.h/ and update first arg ofDan Winship2001-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | * mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and update first arg of mail_too_filter_get_folder_func * mail-tools.c (mail_tool_filter_get_folder_func): Update first arg to CamelFilterDriver * * mail-send-recv.c (receive_status): * mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/ * mail-callbacks.c: Remove filter-driver.h include * mail-accounts.c: Put the news functions inside #ifdef ENABLE_NNTP to prevent warnings about unused statis functions. * subscribe-dialog.c (subscribe_folders, unsubscribe_folders, subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB. (populate_store_list): add a de-constifying cast svn path=/trunk/; revision=7708
* Handle NULL source and, while we're at it, transport URLs. ApparentlyJeffrey Stedfast2001-01-181-4/+10
| | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Handle NULL source and, while we're at it, transport URLs. Apparently camel_url_new() and/or camel-url_free() don't handle NULL input well. * mail-accounts.c (load_accounts): Handle NULL source URLs. svn path=/trunk/; revision=7595
* only load the news storage if ENABLE_NNTP.Chris Toshok2001-01-171-0/+5
| | | | | | | | | | | | 2001-01-16 Chris Toshok <toshok@helixcode.com> * component-factory.c (owner_set_cb): only load the news storage if ENABLE_NNTP. * mail-accounts.c (construct): if !ENABLE_NNTP, remove the news page from the dialog. svn path=/trunk/; revision=7550
* Fixed mail_load_storages to make a mini GSList of the account, not theJeffrey Stedfast2001-01-131-6/+4
| | | | | | | | | | | | | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (druid_finish): Fixed mail_load_storages to make a mini GSList of the account, not the account->source. Oops. * mail-accounts.c (news_delete): Updated to use the remove_news() function. * mail-config.c (mail_config_remove_news): New convenience function for removing news accounts. (mail_config_remove_account): Pretty much the same thing. * mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL and use that if it exists, else fall back on the default transport. * mail-callbacks.c (composer_postpone_cb): Set an X-Evolution-Transport header. svn path=/trunk/; revision=7477
* Moved to mail-config.gladeJeffrey Stedfast2001-01-101-1/+1
| | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.glade: Moved to mail-config.glade * mail-accounts.c (construct): Updated to use mail-config.glade. * mail-account-editor.c (construct): Updated to use mail-config.glade. * mail-config-druid.c (construct): Updated to use mail-config.glade. * mail.h: Added the new mail config headers. svn path=/trunk/; revision=7351
* For all optionmenu's, set the appropriate 'history'. (keep_mail_check):Jeffrey Stedfast2001-01-101-0/+1
| | | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c: For all optionmenu's, set the appropriate 'history'. (keep_mail_check): Set the keep-on-server checkbutton sensitivity based on whether or not the store is a storage or not. (construct): Call keep_mail_check(). * mail-config-druid.c (incoming_type_changed): Set the keep-on-server checkbutton sensitivity based on whether or not the store is a storage or not. * mail-accounts.c (construct): Make sure the dialog isn't a scrunched little thingy. svn path=/trunk/; revision=7328
* New function to set the password for a given url.Jeffrey Stedfast2001-01-101-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * session.c (mail_session_set_password): New function to set the password for a given url. * mail-config-druid.c (druid_finish): Don't save the password in the source url, instead insert it into the save-password hash. (mail_config_druid_get_source_url): Check to make sure the authmech isn't "", if it is then don't set the authmech. * mail-account-editor.c (apply_changes): Don't save the password in the source url, instead insert it into the save-password hash. Also check to make sure we don't set an empty string as the authmech for the source or transport. * mail-accounts.c (mail_default): After reloading the accounts, reselect the previously selected account. (mail_delete): Same. * mail-config-druid.c (druid_cancel): Fixed segfault bug. svn path=/trunk/; revision=7319
* Write the config data and reload the accounts list so the "default" tag isJeffrey Stedfast2001-01-091-2/+8
| | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-accounts.c (mail_default): Write the config data and reload the accounts list so the "default" tag is relocated. (mail_delete): Write the config data here too. svn path=/trunk/; revision=7314
* A bunch of fixes.Jeffrey Stedfast2001-01-091-3/+4
| | | | | | | | | | | | | 2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c: A bunch of fixes. * mail-accounts.c: More fixes... * mail-account-editor.c (construct): Reparent the notebook to the editor->vbox and set the resize policy. svn path=/trunk/; revision=7301
* Updated to reflect changes to the mail-config API.Jeffrey Stedfast2001-01-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-tools.c (mail_tool_quote_message): Updated to reflect changes to the mail-config API. * mail-display.c (redisplay): Updated to reflect changes to the mail-config API. * mail-callbacks.c (providers_config): Use the new account dialog. * mail-config-druid.c (druid_finish): Load the new storage into the shell. (mail_config_druid_new): Take a shell argument. * mail-format.c (mail_generate_reply): Updated to reflect changes to the mail-config API. * mail-config-druid.c: Fixed this to build. * mail-callbacks.c (check_send_configuration): Updated to reflect changes to the mail-config API. (create_msg_composer): Same. (forward_get_composer): Same. (send_queued_mail): Same. (composer_send_cb): Same. * mail-account-editor.c: Updated to build cleanly. * mail-config-druid.c: Same. * mail-accounts.c: Same. * folder-browser-factory.c (control_activate): Updated for API changes in mail-config. * folder-browser.c (done_message_selected): Updated for API changed in mail-config. (folder_browser_gui_init): Same. (got_folder): Same. * component-factory.c (owner_set_cb): After using the sources list, free it as it is no longer a const GSList as with the older mail-config code. * mail-config.c: Totally rewritten. svn path=/trunk/; revision=7298
* Updated to reflect changes to the mail-config API. (create_msg_composer):Jeffrey Stedfast2001-01-081-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (check_send_configuration): Updated to reflect changes to the mail-config API. (create_msg_composer): Same. (forward_get_composer): Same. (send_queued_mail): Same. (composer_send_cb): Same. * mail-account-editor.c: Updated to build cleanly. * mail-config-druid.c: Same. * mail-accounts.c: Same. * folder-browser-factory.c (control_activate): Updated for API changes in mail-config. * folder-browser.c (done_message_selected): Updated for API changed in mail-config. (folder_browser_gui_init): Same. (got_folder): Same. * component-factory.c (owner_set_cb): After using the sources list, free it as it is no longer a const GSList as with the older mail-config code. * mail-config.c: Totally rewritten. svn path=/trunk/; revision=7294
* Implemented.Jeffrey Stedfast2001-01-071-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-accounts.c (mail_edit): Implemented. * mail-account-editor.c (apply_clicked): Implemented. (ok_clicked): Implemented. (cancel_clicked): Implemented. (source_auth_type_changed): Implemented. (source_auth_init): Implemented. (transport_construct_authmenu): Implemented. (transport_type_changed): Updated to change regenerate the auth option menu. (construct): Attached callbacks to OK, Apply and Cancel buttons. * mail-account-editor.c (source_auth_init): Use the new mail_config_check_service(). * mail-config-druid.c: Remove check_service() as it will be moved into mail-config. svn path=/trunk/; revision=7290
* Coded a bunch of the methods.Jeffrey Stedfast2001-01-071-2/+2
| | | | | | | | 2001-01-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c: Coded a bunch of the methods. svn path=/trunk/; revision=7287
* Since the druid now handles adding the new account to the config, we'llJeffrey Stedfast2001-01-061-0/+380
2001-01-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-accounts.c (mail_add): Since the druid now handles adding the new account to the config, we'll just connect to the destroy event and show the druid. (mail_add_finished): Just reload the account list here. * mail-config-druid.c (druid_finish): New callback to handle the "finish" signal. On second thought, it seems it would be best for the finish callback to be here rather than in mail-accounts.c. * mail-accounts.[c,h]: Added. Contains source for the Account manager window. And just like mail-config-druid.c, it's not yet complete. * mail-config-druid.c (mail_config_druid_get_incoming_keep_mail): Renamed from _delete_mail (mail_config_druid_get_transport_url): New convenience function that replaces the get_hostname, get_protocol, etc. (mail_config_druid_get_source_url): Same. * mail-config-druid.glade: Changed "Delete mail from server" to "Keep mail on server" as this has a more positive ring to it. Both I and Aaron agree this is the better phrase. svn path=/trunk/; revision=7275