2008-06-21 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #537725
* mail/em-composer-utils.c (save_draft_done):
Set the autosaved flag so we don't get pestered with a save dialog
if the user then decides to close the composer window.
svn path=/trunk/; revision=35669
2008-06-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #534039
* em-folder-tree-model.h: (em_folder_tree_model_signal_block):
* em-folder-tree-model.c: (em_folder_tree_model_signal_block):
Removed obsolete function.
* mail-vfolder.c: (vfolder_load_storage):
Add storage to the tree model when everything is loaded, thus
everything will be shown when enabling the Search Folders on demand.
Also ensure the Search Folders to be enabled next start.
* mail-vfolder.c: (mail_vfolder_add_uri), (mail_vfolder_delete_uri):
Track folders even when Search Folders disabled, to have them
known when enabling Search Folders on demand.
svn path=/trunk/; revision=35658
2008-06-19 Milan Crha <mcrha@redhat.com>
** Fix for bug #382783
* filter/filter-rule.c: (do_grab_focus_cb), (more_parts), (get_widget):
* mail/em-filter-rule.c: (do_grab_focus_cb), (more_parts), (get_widget):
Grab focus of new rule part on adding and scroll to the bottom too.
svn path=/trunk/; revision=35654
2008-06-18 Milan Crha <mcrha@redhat.com>
** Fix for bug #423395
* configure.in: Requires newer GtkHTML, 3.23.5.
* mail/em-format-html.c: (efh_init), (efh_text_plain), (efh_text_enriched),
(efh_text_html), (efh_message_deliverystatus): Put the anchor where
the message body begins and let GtkHTML know the anchor name to place
the cursor there in caret mode on the first focus.
svn path=/trunk/; revision=35650
2008-06-18 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #532472
* mail/mail-config.c (mail_config_get_account_by_transport_url):
Strip the account URL (via CAMEL_URL_HIDE_ALL) before comparing
it to the already-stripped 'transport_url', to avoid unnecessary
password prompts.
svn path=/trunk/; revision=35649
2008-06-16 Milan Crha <mcrha@redhat.com>
** Fix for bug #467892
* message-list.h: (struct _MessageList), (message_list_ensure_message):
* message-list.c: (message_list_init), (message_list_finalise),
(message_list_ensure_message), (regen_list_exec), (regen_list_done):
Be able to set a message uid to keep in a list after regeneration.
* em-folder-view.c: (em_folder_view_open_selected):
Inherit search criteria and ensure keeping the selected message
in the view even it may not belong to the filter anymore.
svn path=/trunk/; revision=35640
2008-06-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #337160
* message-list.c: (on_cursor_activated_cmd): Do not pretend the row
with a cursor is selected when it isn't. Also take care of multiselect.
* message-list.c: (on_selection_changed_cmd):
Do not pretend the row with a cursor is selected when it isn't.
svn path=/trunk/; revision=35633
2008-06-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #538002
* em-folder-tree.c: (emft_drop_target): Do not allow dropping messages
on folders with CAMEL_FOLDER_NOSELECT flag set.
svn path=/trunk/; revision=35631
2008-06-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #314467
* em-account-editor.c: (emae_url_set_hostport):
Reset port when setting host name without it.
svn path=/trunk/; revision=35629
2008-06-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #535791
* mail-config.glade:
* em-composer-prefs.c: (em_composer_prefs_construct):
New UI option to let uset choose whether start typing at the bottom
of the document or not on replying.
* em-utils.h: (em_utils_message_to_html):
* em-utils.c: (em_utils_message_to_html):
* em-composer-utils.c: (forward_non_attached), (composer_set_body):
Take care of /apps/evolution/mail/composer/reply_start_bottom.
svn path=/trunk/; revision=35621
2008-06-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #201011
* filter/filter-rule.h: (struct _FilterRule): New property 'enabled'
to be able to disable filter rules.
* filter/filter-rule.c: (filter_rule_init), (rule_eq), (xml_encode),
(xml_decode), (rule_copy): Store/restore/use 'enabled' value.
* filter/rule-editor.c: (add_editor_response), (rule_move), (set_source):
Set the 'enabled' column properly.
* filter/rule-editor.c: (rule_able_toggled), (rule_editor_treeview_new):
Add column "Enabled" to the tree, but have it hidden by default, only
those whom supports it can show it.
* mail/em-filter-editor.c: (em_filter_editor_construct):
Show Enabled column in the editor, because we support it here.
* mail/mail-session.c: (main_get_filter_driver): Skip disabled rules.
svn path=/trunk/; revision=35620
2008-06-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #536772
* em-folder-browser.c: (EMFolderViewEnable emfb_enable_map):
Disable Folder menu items consistently with a popup menu over folder.
svn path=/trunk/; revision=35616
2008-06-06 Matthew Barnes <mbarnes@redhat.com>
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637)
svn path=/trunk/; revision=35606
2008-06-05 Matthew Barnes <mbarnes@redhat.com>
* mail/message-tag-followup.c:
Never undefine DISABLE_DEPRECATED macros in source code.
Yes, it will break the build if it's defined. That's the point!
svn path=/trunk/; revision=35600
2008-06-02 Milan Crha <mcrha@redhat.com>
** Fix for bug #535749
* message-list.c: (regen_list_exec): Use better condition whether
keep cursor_uid in the message list or not on regeneration.
svn path=/trunk/; revision=35574
2008-06-02 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #531836
Added bonobo accel key for Ctrl+D, Del to keep working on
deleted mails, but not the toolbar/menu
svn path=/trunk/; revision=35570
2008-05-29 Milan Crha <mcrha@redhat.com>
** Fix for bug #525966
* em-composer-utils.c: (composer_set_no_change):
New helper function to set composers state properly to "no
change".
* em-composer-utils.c: (em_utils_compose_new_message),
(em_utils_compose_new_message_with_mailto), (em_utils_post_to_folder),
(em_utils_post_to_url), (edit_message), (forward_attached),
(forward_non_attached), (em_utils_redirect_message),
(em_utils_reply_to_message), (post_reply_to_message):
Use the above helper function.
* em-composer-utils.c: (reply_get_composer), (composer_set_body):
Do not drop undo in the editor multiple times, do that only once.
svn path=/trunk/; revision=35569
2008-05-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #317755
* mail-send-recv.c: (refresh_folders_exec):
* mail-ops.c: (refresh_folder_desc):
Also sync with a server when refreshing folder.
* evolution-mail.schemas.in:
* mail-config.h: (mail_config_get_sync_timeout):
* mail-config.c: (mail_config_get_sync_timeout):
Use int value of /apps/evolution/mail/sync_interval where is set
how often propagate local changes to server.
* mail-component.c: (struct _MailComponentPrivate), (impl_dispose),
(mc_sync_store_done), (mc_sync_store), (call_mail_sync),
(mail_component_init): Upload local changes to server on some interval.
* mail-component.c: (impl_quit):
Do not quit until we are done with mail sync.
svn path=/trunk/; revision=35552
2008-05-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #322553
* mail-config.h: (mail_config_scripts_disabled):
* mail-config.c: (struct MailConfig), (mail_config_init),
(mail_config_scripts_disabled): New helper function.
* em-composer-prefs.c: (sig_load_preview):
Write to html stream at least one character.
* em-composer-prefs.c: (em_composer_prefs_construct): Disable
signature's Add Script button when not approved running scripts.
* mail-config.c: (mail_config_get_gconf_client): Ensure init.
* mail-config.c: (mail_config_signature_run_script): Do not run
script when disabled in /desktop/gnome/lockdown/disable_command_line.
svn path=/trunk/; revision=35551
2008-05-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534476
* configure.in:
Require shared-mime-info >= 0.22 to make sure we pick up the fix
for correctly identifying "winmail.dat" attachments.
* calendar/gui/e-cal-popup.c (ecalp_standard_menu_factory):
* mail/em-utils.c (em_utils_snoop_type):
* mail/em-popup.c (emp_standard_menu_factory):
Remove the special check for "winmail.dat". GIO correctly
identifies it as "application/ms-tnef".
svn path=/trunk/; revision=35534
2008-05-23 Srinivasa Ragavan <sragavan@novell.com>
* mail-mt.c: (mail_msg_check_error): Convert the the warning to a
message.
svn path=/trunk/; revision=35531
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fix a bunch of compiler warnings.
* calendar/gui/e-select-names-renderer.c
(e_select_names_renderer_focus_out_event):
Remove this function. Looks like it hasn't been used in years.
* mail/em-format-html.c (efh_message_external):
Fix a typo in checking for an empty 'mode' string.
* mail/message-list.c (subtree_size):
Remove this function. Looks like it hasn't been used in years.
* plugins/email-custom-header/email-custom-header.c
(action_email_custom_header_cb):
Remove unused 'editor' variable.
* plugins/save-calendar/csv-format.c (do_save_calendar_csv):
* plugins/save-calendar/rdf-format.c (do_save_calendar_rdf):
Remove pointless address check of a local variable.
svn path=/trunk/; revision=35527
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
2008-05-19 Matthew Barnes <mbarnes@redhat.com>
* mail/message-list.c (regen_list_done):
Use a bit more direct English when informing the user of no messages
in the currently selected folder.
svn path=/trunk/; revision=35515
2008-05-14 Jeffrey Stedfast <fejj@novell.com>
Needed so that IMAP4 can allow users to configure cache
expiration per-folder.
* em-folder-properties.c (emfp_get_folder_item): Add support for
CAMEL_ARG_INT and CAMEL_ARG_DBL.
(emfp_commit): Same.
svn path=/trunk/; revision=35502
2008-05-14 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #463040, Patch by Milan Crha
* mail/em-folder-browser.c (emfb_list_message_selectedi),
(emfb_set_folder):
Forget former selected uid as soon as we know we moved to other.
svn path=/trunk/; revision=35494
2008-05-06 Matthew Barnes <mbarnes@redhat.com>
* mail-component.c (mail_component_show_logger):
Use the GtkCellRendererText's "markup" property for error messages.
svn path=/trunk/; revision=35473
2008-05-05 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #531426
* mail/em-format-html.c (efh_format_headers):
Display face header images at 48x48 instead of 64x64.
Patch from Roland Clobus.
svn path=/trunk/; revision=35469
2008-05-04 Matthew Barnes <mbarnes@redhat.com>
* mail/mail-component.c (mail_component_show_logger):
Fix up the Debug Logs window a bit:
- Add a Close button.
- Fix some spacing issues (HIG compliance).
- Just show the log level icon. Add a tooltip for the icon showing
a description of the log level (Error/Warning/Debug). Also, avoid
using e-icon-factory. Set the GtkCellRendererPixbuf's "stock-id"
and "stock-size" properties instead.
- Use GConfBridge to track the user's log level preference.
svn path=/trunk/; revision=35466
2008-04-30 Milan Crha <mcrha@redhat.com>
** Fix for bug #528288
* widgets/misc/e-filter-bar.c: (get_property): Do not return any query
with empty text from search bar.
* widgets/table/e-tree.h: (e_tree_set_info_message):
* widgets/table/e-tree.c: (struct ETreePriv), (et_dispose), (e_tree_init),
(tree_size_allocate), (e_tree_set_info_message):
Allow setting info message into the tree. It doesn't check
whether the tree is empty or not, so take care of that.
* mail/em-folder-browser.c: (emfb_init), (em_folder_browser_show_wide):
Ensure minimum size for preview and message list.
* mail/em-folder-browser.c: (get_view_query):
Distinguish between no filter and custom filter.
* mail/message-list.c: (regen_list_done):
Set info message to tree when no message shown in a list.
svn path=/trunk/; revision=35459
2008-04-30 Milan Crha <mcrha@redhat.com>
** Fix for bug #530245
* searchtypes.xml: Let searches work with labels again.
svn path=/trunk/; revision=35456
2008-04-30 Milan Crha <mcrha@redhat.com>
** Fix for bug #467892
* em-folder-view.c: (em_folder_view_open_selected):
Do not inherit search filters when opening messages in new window.
* message-list.c: (regen_list_exec):
If we are called from folder_changed even, then keep the actually
selected message so it will not disappear when user reads it and
it doesn't belong to actual filter anymore.
svn path=/trunk/; revision=35454
2008-04-30 Shuai Liu <shuai.liu@sun.com>
** Fix for bug #530672
Evolution crashes when viewing pgp-signed message
* em-format-html-display.c: Modify the array of
smime_sign_colour from 4 to 5 to ensure the input by
data-server is right
svn path=/trunk/; revision=35447