aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-mailer-prefs.c
Commit message (Collapse)AuthorAgeFilesLines
* the check button label has now opposite meaning (after UI changes), callRadek Doulik2004-06-141-2/+11
| | | | | | | | | | | | 2004-06-14 Radek Doulik <rodo@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): the check button label has now opposite meaning (after UI changes), call toggle_button_init with 'not' parameter set to TRUE (toggle_button_toggled_not): new helper function, sets negative value to gconf bool key svn path=/trunk/; revision=26334
* remove "use daemon" handling codeRadek Doulik2004-05-201-5/+0
| | | | | | | | | | | 2004-05-20 Radek Doulik <rodo@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): remove "use daemon" handling code Fixes #56909 svn path=/trunk/; revision=26010
* #include <gtk/gtkliststore.h>. Fixes bug #58407.Jeffrey Stedfast2004-05-171-0/+1
| | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c: #include <gtk/gtkliststore.h>. Fixes bug #58407. svn path=/trunk/; revision=25923
* Don't include the last default_header when setting the default headers. IfJeffrey Stedfast2004-05-141-17/+14
| | | | | | | | | | | | | | | 2004-05-13 Jeffrey Stedfast <fejj@novell.com> * em-format.c (em_format_default_headers): Don't include the last default_header when setting the default headers. If the user has configured Evolution to display the Mailer header, then it will be set in em-folder-view.c as appropriate when it checks the gconf settings. Fixes bug #58217. * em-mailer-prefs.c (em_mailer_prefs_construct): Default "x-evolution-mailer" header to disabled. svn path=/trunk/; revision=25903
* Default the Mailer header to enabled. Fixes bug #58217.Jeffrey Stedfast2004-05-111-4/+1
| | | | | | | | | 2004-05-10 Jeffrey Stedfast <fejj@novell.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Default the Mailer header to enabled. Fixes bug #58217. svn path=/trunk/; revision=25849
* removed.Not Zed2004-05-031-2/+19
| | | | | | | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_done): removed. * em-mailer-prefs.h: * message-tag-followup.h: * mail-config-druid.h: * mail-tools.h: clean up & use forward decls. Fix users with busted includes. svn path=/trunk/; revision=25745
* We only want 8bits per color. Fixes bug #57588.Jeffrey Stedfast2004-04-291-4/+4
| | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (citation_color_set): We only want 8bits per color. Fixes bug #57588. svn path=/trunk/; revision=25671
* Removed.Jeffrey Stedfast2004-04-081-6/+0
| | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.c (em_account_prefs_apply): Removed. * em-mailer-prefs.c (em_mailer_prefs_apply): Removed. * em-composer-prefs.c (em_composer_prefs_apply): Removed. svn path=/trunk/; revision=25362
* Don't call a function that doesn't exist anymore.Jeffrey Stedfast2004-04-071-1/+1
| | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Don't call a function that doesn't exist anymore. svn path=/trunk/; revision=25351
* Changed to save the settings in the signal callbacks.Jeffrey Stedfast2004-04-071-265/+279
| | | | | | | | | | | | | | | 2004-04-06 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Changed to save the settings in the signal callbacks. (em_mailer_prefs_apply): Don't save the settings here. * em-composer-prefs.c (em_composer_prefs_apply): Don't save the settings here. (em_composer_prefs_construct): Changed to save the settings in the signal callbacks. svn path=/trunk/; revision=25344
* Updated for signature API changes.Jeffrey Stedfast2004-04-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_import_accounts): Updated for signature API changes. * mail-account-gui.c: Same. * mail-signature-editor.c: Same. * em-composer-prefs.c: Same. * mail-config.c: Rewrote the signature stuff to use ESignatureList instead. Much cleaner and less broken. * em-mailer-prefs.c (em_mailer_prefs_construct): Always make the Add/Remove Header buttons de-sensitised at the start. Fixes bug #56284. svn path=/trunk/; revision=25282
* Fixed the key to fetch the value from the correct location. It'sJeffrey Stedfast2004-03-241-2/+2
| | | | | | | | | | 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Fixed the key to fetch the value from the correct location. It's junk/check_incoming, not junk/sa/check_incoming. Fixes bug #55903. svn path=/trunk/; revision=25165
* Add Newsgroups to the default header list.Not Zed2004-03-221-0/+1
| | | | | | | | | | | | | 2004-03-22 Not Zed <NotZed@Ximian.com> * em-format.c: * em-mailer-prefs.c: Add Newsgroups to the default header list. * em-format-html.c (efh_format_header): handle the newsgroups header, output news: url's. For bug #??? i can't recall, i closed it already! svn path=/trunk/; revision=25141
* started writing this, but i couldn't be fucked right now - apparentlyNot Zed2004-03-181-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-18 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_writable): started writing this, but i couldn't be fucked right now - apparently gnome is supposed to use the gconf thing which just doens't work. i'll waste a few hours trying to get it to work again first before i keep going with this. 2004-03-17 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_message_deliverystatus): format as plain text too. * em-format.c (emf_message_deliverystatus): format delivery status messages as plain text, rather than as messages. since they wont be CamelMimeMessages. Maybe they should be silently hidden. * mail-offline-handler.c (store_go_online): split this, only call add_store/note_store once we've actually set the store online. (store_went_online): set the store up once we're fully online. Works around a deadlock in #55618. * em-account-prefs.c (account_cursor_change): disable editing/adding/removing accounts etc if accounts aren't editable. (em_account_prefs_construct): call above after setup. * mail-component.c (mc_quit_sync): if we have empty on exit days, check that. keep track of the last empty on exit time. * em-mailer-prefs.c (emmp_empty_trash_init): init the trash stuff here. (em_mailer_prefs_apply): save empty trash on exit frequency. svn path=/trunk/; revision=25110
* if we have the folder opened already, and its the outbox, then use theNot Zed2004-03-031-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_scan): * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): if we have the folder opened already, and its the outbox, then use the total count instead of unread count. Bit of hack, but copies mail-folder-cache stuff. * mail-component.c (mc_add_store): renamed from mail_component_add_store, internal call. Added a done callback. (mc_add_local_store): renamed from mc_add_store, callback for local store. (mail_component_add_store): call mc_add_store to do the work. (mc_add_local_store_done): ugh, the target of all this shit - note all the default folders now they should be setup. * mail-folder-cache.c (mail_note_folder): clean up the logic a bit. was gonna do osmething else but it didn't work. 2004-03-02 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_send): if we're already sending, up the again count to tell it we need to re-send again. (receive_done): if we've been asked to run a send again while we were already running it, run it again to make sure we didn't miss any new messages. See bug #46839. * em-mailer-prefs.c (em_mailer_prefs_construct): update check_incoming_imap changes for merge conflicts. (settings_changed): i have no idea what these changes jeff did do, but check_incoming_imap is no longer needed, so i've deleted most of it. 2004-02-27 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_encrypted, emf_multipart_signed): If validation fails, display as multipart/mixed rather than unkown attachment type, and make the error a little clearer that its an error. See #52939. 2004-02-26 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): NOOP if the folder has changed. * mail-session.c (mail_session_check_junk_notify): remove check_incoming_imap test. (mail_session_init): " * evolution-mail.schemas.in.in: Remove check_incoming_imap option. * mail-config.glade: Remove check incoming imap checkbox. * em-mailer-prefs.c (em_mailer_prefs_construct): remove check_incoming_imap test. (em_mailer_prefs_apply): " (settings_changed): " svn path=/trunk/; revision=24944
* Fixed some console warnings from my last commit.Jeffrey Stedfast2004-02-281-27/+17
| | | | | | | | | 2004-02-27 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Fixed some console warnings from my last commit. svn path=/trunk/; revision=24914
* If gconf_entry_get_value() returns NULL, then it means the key was unsetJeffrey Stedfast2004-02-281-44/+164
| | | | | | | | | | | | | | | | | | | | 2004-02-27 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_setting_notify): If gconf_entry_get_value() returns NULL, then it means the key was unset or something. Don't use g_return_if_fail() for that. First of the lockdown fixes... * em-composer-prefs.c (em_composer_prefs_construct): Same as below. * em-mailer-prefs.c (em_mailer_prefs_construct): Respect locked-down keys by disabling their sensitivity to the user. (settings_changed): Don't re-enable check_incoming_imap if the key is locked. svn path=/trunk/; revision=24911
* use mail_session_get_sa_daemon_portRadek Doulik2004-01-241-3/+11
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Radek Doulik <rodo@ximian.com> * em-junk-filter.c: use mail_session_get_sa_daemon_port * em-mailer-prefs.c (em_mailer_prefs_construct): added check_incoming_imap (em_mailer_prefs_apply): ditto (settings_changed): set check_incoming_imap sensitivity by check_incoming state * mail-session.c: add sa_daemon_port (mail_session_init): init sa_daemon_port and check_junk_for_imap (mail_session_check_junk_notify): watch for sa_daemon_port and check_junk_for_imap (mail_session_get_sa_daemon_port): new wrapper (mail_session_set_sa_daemon_port): ditto svn path=/trunk/; revision=24382
* added SA prefs (mail_session_get_sa_local_only): new helper methodRadek Doulik2004-01-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | 2004-01-12 Radek Doulik <rodo@ximian.com> * mail-session.c: added SA prefs (mail_session_get_sa_local_only): new helper method (mail_session_set_sa_local_only): ditto (mail_session_get_sa_use_daemon): ditto (mail_session_set_sa_use_daemon): ditto (mail_session_check_junk_notify): fix the key comparison (mail_session_init): add gconf dir so that we get notified * mail-config.glade: added SA preferences * em-mailer-prefs.c (em_mailer_prefs_construct): added more junk prefs (em_mailer_prefs_apply): ditto * em-junk-filter.c: use preferences svn path=/trunk/; revision=24174
* Shorten the namespace of some internal functions to just emft.Jeffrey Stedfast2003-12-121-76/+99
| | | | | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c: Shorten the namespace of some internal functions to just emft. * em-mailer-prefs.c (em_mailer_prefs_construct): Use newv() here and pass an array of GTypes - makes it simpler to change the order of columns later and/or add new columns if we need to. Also makes the line shorter :-) svn path=/trunk/; revision=23926
* display x-evolution-mailer pseudo header irrespective of xmailer_mask.Grahame Bowland2003-12-111-3/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-11 Grahame Bowland <grahame@angrygoats.net> * em-format-html.c (efh_format_header): display x-evolution-mailer pseudo header irrespective of xmailer_mask. This is now handled by a header configuration dialog. * mail-config.glade: add tab to mail configuration dialog to allow custom headers to be specified for display. * em-mailer-prefs.h: modify struct _EMMailerPrefs to add widgets for custom header tab. Add defines for custom header flags. Add struct EMMailerCustomHeader to describe custom headers, and add function em_mailer_custom_headers_from_xml to allow XML from gconf key to be parsed into this structure. * em-folder-view.c (emfv_setting_notify): catch changes to custom header gconf key and update mail view to correspond * em-mailer-prefs.c (em_mailer_prefs_apply): save custom headers to gconf (header_list_enabled_toggled): toggle clicked toggle column (add_header): add header to custom header list if valid (remove_header): remove selected custom header (is_valid_header): return true if passed header is valid, otherwise false (entry_header_changed): call add_header_update_sensitivity (em_mailer_prefs_construct): initialise header selection tab. Load gconf data for header selection dialog. (em_mailer_custom_header_to_xml): load a header structure from XML document structure (em_mailer_custom_header_from_xml): load a header structure from a string containing valid XML. if any failure, the header.name is set to NULL. (header_list_row_selected): call remove_header_update_sensitivity (remove_header_update_sensitivity): set the sensitivity of the remove button to FALSE if the list is empty or nothing is selected. Otherwise, set it to TRUE. (add_header_update_sensitivity): set the sensitivity of the the add button to FALSE if the entry box is empty, contains a duplicate header, or contains an invalid header. Otherwise, set it to TRUE. * evolution-mail.schemas.in.in: add mail/display/headers svn path=/trunk/; revision=23924
* monitor gconf key /apps/evolution/mail/junk/check_incoming and keepRadek Doulik2003-12-041-0/+10
| | | | | | | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * mail-session.c: monitor gconf key /apps/evolution/mail/junk/check_incoming and keep session junk flag uptodate * em-mailer-prefs.c (em_mailer_prefs_construct): added junk preferences svn path=/trunk/; revision=23630
* Re-Namespaced mail-accounts.cJeffrey Stedfast2003-10-251-0/+474
2003-10-24 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.[c,h]: Re-Namespaced mail-accounts.c * em-composer-prefs.[c,h]: Re-Namespaced mail-composer-prefs.c * em-mailer-prefs.[c,h]: Re-Namespaced mail-preferences.c * mail-accounts.[c,h]: Removed. * mail-composer-prefs.[c,h]: Removed. * mail-preferences.[c,h]: Removed. * mail-account-editor.c: Updated. * mail-account-gui.c: Updated. * mail-config-factory.c: Updated. * mail-component-factory.c: Updated. svn path=/trunk/; revision=23066