Commit Graph

4749 Commits

Author SHA1 Message Date
09cf8261f0 Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #539268 (Do not use both filename and description if they are identical)
svn path=/trunk/; revision=35673
2008-06-21 17:48:26 +00:00
7e2c873b8d Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #538741 (Strip preceding tabs from Date headers too)
svn path=/trunk/; revision=35671
2008-06-21 17:35:34 +00:00
77f71cf54a ** Fixes bug #537725
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-21 14:37:36 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +00:00
159bc6fd09 fixed copyright notices
svn path=/trunk/; revision=35661
2008-06-20 22:11:20 +00:00
b6b9772a2a ** Fix for bug #534039
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-20 13:21:33 +00:00
4813d6259f ** Fix for bug #382783
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-19 16:38:18 +00:00
058584357e ** Fix for bug #423395
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 16:43:02 +00:00
ef395aea81 ** Fixes part of bug #532472
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-18 16:36:52 +00:00
b7155af74b ** Fix for bug #467892
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-16 09:23:32 +00:00
00e55f86df ** Fix for bug #337160
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 06:32:36 +00:00
2d93a52ec9 ** Fix for bug #538002
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 06:27:52 +00:00
80981519d8 ** Fix for bug #314467
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-13 06:07:50 +00:00
22dc0c949c ** Fix for bug #535791
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 11:09:01 +00:00
f1cfc8c031 ** Fix for bug #201011
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 10:50:54 +00:00
5c0a74daec ** Fix for bug #536772
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-09 09:54:15 +00:00
dc56a3276b Dumb typo.
svn path=/trunk/; revision=35608
2008-06-06 19:30:48 +00:00
24debf9d7e Fix build breakage. Apparently <gtk/gtk.h> only recently started
pulling in <gio/gio.h>.  We still need to include gio.h explicitly
for a little while longer.

svn path=/trunk/; revision=35607
2008-06-06 19:23:47 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
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-06 15:12:53 +00:00
6efe8d58cd Fix a typo.
2008-06-06  Matthew Barnes  <mbarnes@redhat.com>

	* mail/evolution-mail.schemas.in: Fix a typo.


svn path=/trunk/; revision=35605
2008-06-06 14:44:43 +00:00
77a5d97f70 Never undefine DISABLE_DEPRECATED macros in source code. Yes, it will
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-06 01:50:42 +00:00
a1592d02b0 Committing on behalf of Jacob Brown <jeblinux@gmail.com>
2008-06-02  Jacob Brown  <jeblinux@gmail.com>

        ** Fix for bug #529464

svn path=/trunk/; revision=35575
2008-06-02 06:01:57 +00:00
b6442f0191 Committing on behalf of Milan Crha <mcrha@redhat.com>
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 05:39:51 +00:00
31cfa1dd24 Committing on behalf of Srinivasa Ragavan <sragavan@novell.com>
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-06-02 05:15:09 +00:00
341147f72e Committing on behalf of Milan Crha <mcrha@redhat.com>
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-06-02 05:00:46 +00:00
e61139fbec ** Fix for bug #535689
2008-06-02  Lucian Langa  <lucilanga@gnome.org>

** Fix for bug #535689

* mail-send-recv.c: (build_dialog): Transmit
gd data to hook's event target data

svn path=/trunk/; revision=35568
2008-06-02 04:53:46 +00:00
4c2a34cddd Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-05-29  Milan Crha  <mcrha@redhat.com>

       ** Fix for bug #534312

       * em-composer-utils.c: (create_new_composer),
       (em_utils_compose_new_message), (struct forward_attached_data),
       (real_update_forwarded_flag), (update_forwarded_flags_cb),
       (composer_destroy_fad_cb), (setup_forward_attached_callbacks),
       (forward_attached), (forward_attached_cb), (em_utils_forward_attached),
       (forward_non_attached), (forward_quoted), (em_utils_forward_message):
       Set new CAMEL_MESSAGE_FORWARDED flag on forwarded messages.
       * message-list.c: (ml_value_to_string), (message_list_create_extras),
       (ml_tree_value_at), (create_composite_cell), (struct states_pixmaps):
       Draw mail-forward icon on forwarded messages.


svn path=/trunk/; revision=35567
2008-06-02 04:42:19 +00:00
9025a50010 ** Fix for bug #535670
2008-05-30  Lucian Langa  <lucilanga@gnome.org>

** Fix for bug #535670

* em-format-quote.c: (type_builtin_table):
Add x-evolution/evolution-feed-rss as internal mime
for evolution-rss artiles.
* em-format.c: (em_format_is_attachment): prevent
evolution-rss articles being formatted as attachments.

svn path=/trunk/; revision=35559
2008-05-30 17:57:40 +00:00
b67d6b02ca ** Fix for bug #317755
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 18:11:49 +00:00
c9d8512b2e ** Fix for bug #322553
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-26 18:02:30 +00:00
36321cbfdf ** Fixes bug #534476
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 14:41:30 +00:00
c3de7ae99f Convert the the warning to a message.
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-23 10:10:47 +00:00
f7550c81c7 ** Fix a bunch of compiler warnings.
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 18:00:17 +00:00
e99e12428d ** Fixes bug #534360
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-22 17:27:48 +00:00
9d472864a2 Use a bit more direct English when informing the user of no messages in
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-19 18:25:44 +00:00
d57e180289 ** Fixes bug #533465, patch from Ritesh Khadgaray
2008-05-19  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #533465, patch from Ritesh Khadgaray

	* mail/em-account-editor.c (emae_url_set_hostport):
	Strip whitespace from user-entered hostname.


svn path=/trunk/; revision=35511
2008-05-19 15:44:20 +00:00
bb8a109032 Make non junk learn work again.
2008-05-19  Srinivasa Ragavan  <sragavan@novell.com>

	* mail/em-folder-view.c: Make non junk learn work again.

svn path=/trunk/; revision=35509
2008-05-19 03:20:30 +00:00
b452caf179 ** Fixes bug #514383
2008-05-16  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #514383

	* plugins/mark-all-read/mark-all-read.c: Add a Cancel button.

	* mail/mail.error.xml: Remove the "ask-mark-read" error.

	* e-error.c (e_error_newv): Widget packing adjustments.


svn path=/trunk/; revision=35504
2008-05-16 19:51:18 +00:00
69dcbacecf add gtk/gtkspinbutton.h to the includes
svn path=/trunk/; revision=35503
2008-05-16 18:25:41 +00:00
0ede696fe3 Needed so that IMAP4 can allow users to configure cache expiration
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-15 01:40:03 +00:00
09633dde9e ** Fixes bug #463040, Patch by Milan Crha
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-14 12:53:00 +00:00
3227032415 ** Fix for bug #531519
2008-05-09  Sankar P  <psankar@novell.com>

	** Fix for bug #531519

	* em-format-html-display.c: (efhd_message_update_bar):
	Evolution crashes on print-preview.

	** Committed on behalf of Srinivasa Ragavan <sragavan@novell.com>



svn path=/trunk/; revision=35486
2008-05-09 08:18:48 +00:00
2e731573fb ** Fixes part of bug #424744
2008-05-06  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #424744

	* configure.in:
	Bump eds_minimum_version to 2.23.2 for camel-iconv.h.

	* composer/e-composer-private.c:
	* composer/e-composer-private.h:
	* composer/e-msg-composer.c:
	* mail/em-composer-prefs.c:
	* mail/em-format-html.c:
	* mail/em-format-quote.c:
	* mail/em-mailer-prefs.c:
	* widgets/misc/e-attachment-bar.c:
	* widgets/misc/e-unicode.c:
	Use camel-iconv.c instead of e-iconv.h (now deprecated).


svn path=/trunk/; revision=35474
2008-05-07 02:17:18 +00:00
68552ed22e Use the GtkCellRendererText's "markup" property for error messages.
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-06 22:30:47 +00:00
9dc157002d ** Fixes bug #531426
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-05 17:40:50 +00:00
cdb1c99188 Fix up the Debug Logs window a bit: - Add a Close button. - Fix some
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-05-05 00:18:08 +00:00
183729a6e0 ** Fix for bug #528288
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 11:24:14 +00:00
929ac5c61d ** Fix for bug #530245
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 09:59:18 +00:00
05e8333292 ** Fix for bug #467892
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 09:52:56 +00:00
9598151a10 Patch from Shuai Liu <shuai.liu@sun.com>
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
2008-04-30 06:38:06 +00:00