aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-mailer-prefs.h
Commit message (Collapse)AuthorAgeFilesLines
* Add pluggable junk filter code and move SA options to the plugins.Srinivasa Ragavan2007-04-031-0/+6
| | | | svn path=/trunk/; revision=33367
* ** Fixes bug #373116Matthew Barnes2007-04-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #373116 * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/e-cal-model.c (ecm_get_color_for_component): * calendar/gui/memos-component.c (ensure_sources): * calendar/gui/migration.c (create_calendar_contact_source), (create_calendar_sources), (create_task_sources), (create_memo_sources), (add_gw_esource): * calendar/gui/tasks-component.c (ensure_sources): * plugins/groupwise-account-setup/camel-gw-listener.c (add_esource): Use the new ESource color API. * calendar/gui/dialogs/cal-prefs-dialog.c: * calendar/gui/dialogs/cal-prefs-dialog.glade: * calendar/gui/dialogs/calendar-setup.c: * calendar/gui/dialogs/calendar-setup.glade: * filter-colour.c (get_widget): * mail/em-composer-prefs.c: * mail/em-composer-prefs.h: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-config.glade: Migrate from GnomeColorPicker to GtkColorButton. * filter/filter-colour.h: Store color as a GdkColor instead of separate RGBA components. * filter/filter-colour.c (color_eq): Use gdk_color_equal() to compare colors. * filter/filter-colour.c (xml_encode): Encode color as a single property ("spec"). * filter/filter-colour.c (xml_decode): Read the color from a single property ("spec"). Provide a migration path for old XML files. * calendar/gui/calendar-component.c (calendar_config_get_tasks_due_today_color), (calendar_config_get_tasks_overdue_color): Return a GdkColor instead of an X color specification. * calendar/gui/calendar-component.c (calendar_config_set_tasks_due_today_color), (calendar_config_set_tasks_overdue_color): Accept a GdkColor instead of an X color specification. * calenar/gui/e-cal-model-tasks.c (ecmt_get_color_for_component): Adapt to modified color API in calendar-component.c by converting the GdkColor to an X color specification. This is an ugly hack to be fixed later. svn path=/trunk/; revision=33349
* Migrate from GnomeFontPicker to GtkFontButton (#373837).Matthew Barnes2007-03-291-3/+3
| | | | | | | | | | | | 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * em-mailer-prefs.c: * em-mailer-prefs.h: * mail-config.glade: Migrate from GnomeFontPicker to GtkFontButton (#373837). svn path=/trunk/; revision=33337
* Missed to commit with the previous.Srinivasa Ragavan2006-11-271-1/+3
| | | | svn path=/trunk/; revision=33025
* Added support for collapsible headers for To/Cc/BccSrinivasa Ragavan2006-05-251-0/+2
| | | | svn path=/trunk/; revision=32020
* ** Fixes bug #323853Shi Pu2006-04-301-2/+2
| | | | | | | | | | | | | | | 2006-04-30 Shi Pu <shi.pu@sun.com> ** Fixes bug #323853 * em-composer-prefs.c: (sig_edit_cb), (sig_add_script_response): * em-mailer-prefs.c: (notify_sound_changed), (em_mailer_prefs_construct): * em-mailer-prefs.h: * mail-config.glade: Replace GnomeFileEntry by GtkFileChooserButton. svn path=/trunk/; revision=31933
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448
* removed.Not Zed2004-05-031-47/+50
| | | | | | | | | | | | | | 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
* Removed.Jeffrey Stedfast2004-04-081-2/+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
* No longer need the Apply stuff.Jeffrey Stedfast2004-04-081-2/+0
| | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config-factory.c (mail_config_control_factory_cb): No longer need the Apply stuff. svn path=/trunk/; revision=25356
* started writing this, but i couldn't be fucked right now - apparentlyNot Zed2004-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use mail_session_get_sa_daemon_portRadek Doulik2004-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | 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/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* display x-evolution-mailer pseudo header irrespective of xmailer_mask.Grahame Bowland2003-12-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | | | 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
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-021-1/+1
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* Changed the OAFIID.Jeffrey Stedfast2003-10-301-1/+1
| | | | | | | | | | | | | | | 2003-10-29 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.h: Changed the OAFIID. * em-composer-prefs.h: Changed the OAFIID. * em-mailer-prefs.h: Changed the OAFIID. * GNOME_Evolution_Mail.server.in.in: Changed OAFIIDs for the prefs controls. svn path=/trunk/; revision=23119
* Re-Namespaced mail-accounts.cJeffrey Stedfast2003-10-251-0/+124
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