Commit Graph

253 Commits

Author SHA1 Message Date
84ff048ccc Fix more compiler warnings. 2009-06-01 22:50:46 -04:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
0cf607076d Fix compiler warnings in mail. 2009-05-26 10:58:25 -04:00
f575a7626a Eliminate redundant E_ICON_SIZE_* enumeration. 2009-05-24 11:54:43 -04:00
5d12f06367 Bug 580925 – Better search bar for word searches
Make the word search bar more like Firefox and get rid of the "Current
Message" search scope in the folder search bar.  Shift+Ctrl+F now
activates the word search bar.
2009-05-20 18:09:34 -04:00
a1f287ca6b Bug 274117 – Difficult to post a new message to newsgroups
Completely rewrite how composer headers are managed.  There's now two
sets of headers (with some overlap): one set is for sending an email
message, the other is for posting to a newsgroup.  The correct set of
headers is chosen on-the-fly based on the currently selected account
type.  The user's "view" preferences for these two sets are stored
separately, so that switching between an email account and a news
account will no longer stomp on your preferences.

This also eliminates the need for the "Post New Message to Folder" and
"Post a Reply" actions, so they've been removed.  Usenet users can now
just highlight a newsgroup in the folder tree and click New or Reply,
and the composer window will show the correct set of headers with the
Post-To field filled in automatically.

Comment #6 in the bug discusses other standard news reader behaviors we
still don't get right, particularly the missing "Followup To" header.
These will be dealt with separately.
2009-05-20 12:56:55 -04:00
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
ea3e4f239a Bug 458491 – Remove useless "Call To..." popup menu option 2009-05-14 21:22:56 -04:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
8625eda8bc Revert evolution revision 37063 (workaround for bug 563867).
2009-03-02  Matt McCutchen  <matt@mattmccutchen.net>

    * evolution/mail/em-folder-view.c:
    * evolution/mail/em-utils.c:
    * evolution/mail/em-utils.h:
    * evolution/mail/em-popup.c:
    Revert evolution revision 37063 (workaround for bug 563867).

    ** Part of the fix for bug #549838


svn path=/trunk/; revision=37350
2009-03-02 01:34:54 +00:00
4d9a961f45 ** Fix for bug #546637
2009-01-29  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #546637

	* em-folder-view.c: (emfv_popup_source): Ensure uid for source view
	also.



svn path=/trunk/; revision=37171
2009-01-29 15:34:32 +00:00
adbaeb5888 ** Fix for bug #562449
2009-01-29  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #562449

	* em-folder-view.c: (em_folder_view_mark_selected),
	(emfv_delete_msg_response): Don't emit for vfolders.

svn path=/trunk/; revision=37170
2009-01-29 15:32:22 +00:00
84aa765a19 Patch from Felix Riemann <friemann@svn.gnome.org> ** Fix for bug #563867 (Unescape "&amp;" when passing the link to browsers).
svn path=/trunk/; revision=37063
2009-01-13 03:41:19 +00:00
2b820fc4e2 New convenience function calls gtk_show_uri() and displays an error dialog
2009-01-11  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util.c (e_show_uri):
	New convenience function calls gtk_show_uri() and displays an
	error dialog if the URI cannot be shown.

	* addressbook/gui/widgets/eab-contact-display.c
	(eab_uri_popup_link_open), (on_link_clicked):
	* calendar/gui/e-cal-component-preview (on_link_clicked):
	* calendar/gui/e-cal-component-memo-preview (on_link_clicked):
	* calendar/gui/e-memo-table.c (open_url_cb):
	* calendar/gui/dialogs/comp-editor.c (open_attachment):
	* composer/e-msg-composer.c (msg_composer_link_clicked):
	* mail/em-folder-view.c (emfv_format_link_clicked):
	* mail/em-popup.c (emp_uri_popup_link_open):
	* plugins/mailing-list-actions/mailing-list-actions.c
	(emla_list_action_do):
	* shell/e-shell-window-commands.c (command_open_faq):
	* widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb):
	* widgets/misc/e-url-entry.c (button_clicked_cb):
	Call e_show_uri() instead of gnome_url_show().

	* e-util/e-error.c (ee_response):
	Call e_display_help() instead of gnome_url_show().

	* mail/em-config.c:
	* mail/em-menu.c:
	Remove unneeded #include <libgnome/gnome-url.h>


svn path=/trunk/; revision=37037
2009-01-11 13:55:04 +00:00
577f9fdffb Remove unneeded #include <libgnome/gnome-util.h>.
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/widgets/e-addressbook-view.c:
	* addressbook/printing/e-contact-print.c:
	* calendar/gui/calendar-commands.c:
	* calendar/gui/e-cal-list-view.c:
	* calendar/gui/e-day-view.c:
	* calendar/gui/e-itip-control.c:
	* calendar/gui/e-meeting-list-view.c:
	* calendar/gui/e-meeting-store.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/gnome-cal.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/tasks-control.c:
	* e-util/e-dialog-utils.c:
	* mail/em-folder-view.c:
	* mail/importers/mail-importer.c:
	* shell/e-shell.c:
	* shell/evolution-shell-component-utils.c:
	* shell/importer/intelligent.c:
	* shell/main.c:
	* widgets/menus/gal-view-collection.c:
	* widgets/menus/gal-view-instance.c:
	Remove unneeded #include <libgnome/gnome-util.h>.


svn path=/trunk/; revision=37036
2009-01-11 04:52:38 +00:00
9d44f99d89 Do not display the default headers when all the headers are disabled in
2008-11-13  Bharath Acharya  <abharath@novell.com>

       * em-folder-view.c: (emfv_setting_notify):
       * em-format-html.c: (efh_format_headers): Do not display the default 
       headers when all the headers are disabled in Mail preferences.

svn path=/trunk/; revision=36780
2008-11-13 07:50:33 +00:00
e3230aaa65 Re-factor spinner usage
svn path=/trunk/; revision=36671
2008-10-21 09:54:26 +00:00
dd797d23c8 ** Fix for bug #553273
2008-09-23  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #553273

	* addressbook/gui/component/addressbook-view.c: (delete_addressbook_folder), (delete_addressbook_cb):
	* addressbook/gui/widgets/eab-gui-util.c: (save_it):
	* addressbook/gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email):
	* addressbook/gui/contact-list-editor/e-contact-list-editor.c: (contact_list_editor_contact_exists):
	* plugins/exchange-operations/exchange-config-listener.c: (exchange_config_listener_authenticate):
	* mail/em-composer-utils.c: (em_utils_handle_receipt):
	* mail/em-folder-view.c: (emfv_delete_msg_response):
	* composer/e-composer-actions.c: (action_save_cb):
	* calendar/gui/alarm-notify/alarm-queue.c: (edit_component):
	* calendar/gui/tasks-component.c: (delete_task_list_cb):
	* calendar/gui/calendar-component.c: (delete_calendar_cb):
	* calendar/gui/memos-component.c: (delete_memo_list_cb):
	Always end e_error_run/e_error_new calls with NULL parameter.


svn path=/trunk/; revision=36434
2008-09-23 11:42:18 +00:00
f9f3b67162 Change license from GPL to LGPL
svn path=/trunk/; revision=36381
2008-09-19 06:02:55 +00:00
9238a8a259 ** Fix for bug #546788
2008-08-07  Paul Bolle  <pebolle@tiscali.nl>

	** Fix for bug #546788

	* mail/em-folder-view.c: "/commands/ViewNormal" isn't actually used.
        It is probably a leftover from a previous way of setting the formatting
	style. It can be removed. Related cleanups.

	* ui/evolution-mail-message.xml: Drop unused "ViewNormal" cmd entry.


svn path=/trunk/; revision=35929
2008-08-07 19:30:06 +00:00
5948c36901 ** Fixes Bug #200147
2008-07-18  Bharath Acharya  <abharath@novell.com>

        ** Fixes Bug #200147

        Basic functionality implemented by Diego Escalante Urrelo 
        <diegoe@gnome.org> Everyone owes him a big mug of Beer for that.

        ** Added Templates plugin
        * Makefile.am:
        * apps-evolution-template-placeholders.schemas.in:
        * org-gnome-templates.eplug.xml:
        * templates.c: 
        * templates.glade:


svn path=/trunk/; revision=35780
2008-07-20 18:26:42 +00:00
40085e0436 Pushing changes from the madagascar branch related to the on-disk
summary work.


svn path=/trunk/; revision=35747
2008-07-16 11:41:04 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +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
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
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
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
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
cc692562f5 ** Fixes breakage caused by bug #513951
2008-03-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes breakage caused by bug #513951

	* mail-autofilter.c (filter_gui_add_from_message),
	(mail_filter_rename_uri), (mail_filter_delete_uri):
	* mail-tools.c (mail_tool_get_local_movemail_path):
	* mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri),
	(store_folder_deleted), (store_folder_renamed),
	(vfolder_load_storage), (vfolder_revert),
	(em_vfolder_editor_response), (edit_rule_response),
	(new_rule_clicked):
	* em-folder-browser.c (emfb_search_search_activated):
	* em-folder-tree.c (em_folder_tree_new):
	* mail-ops.c (uid_cachename_hack), (empty_trash_exec):
	* em-folder-view.c (emfv_setup_view_instance):
	* em-utils.c (em_filter_editor_response), (em_utils_edit_filters):
	* importers/mail-importer.c (import_folders_rec):
	* mail-folder-cache.c (rename_folders):
	* em-format-html.c (em_format_html_get_type):
	* mail-session.c (main_get_filter_driver):
	* mail-config.c (gconf_mime_types_changed), (uri_to_evname),
	(mail_config_folder_to_cachename), (get_new_signature_filename):
	Adapt to new meaning of mail_component_peek_base_directory().

	* mail-component.c (mail_component_init):
	Add back initialization of priv->base_directory.  Accidentally
	removed it somehow in last commit.


svn path=/trunk/; revision=35179
2008-03-12 12:25:24 +00:00
a0bb856b78 ** Part of fix for bug #515744
2008-02-18  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #515744

	* addressbook/gui/component/addressbook-migrate.c: (get_source_name):
	* plugins/groupwise-features/send-options.c: (get_source):
	* plugins/groupwise-features/share-folder-common.c: (get_container_id):
	* plugins/groupwise-features/install-shared.c: (install_folder_response):
	* plugins/external-editor/external-editor.c: (convert_to_camel_internet_address),
	(org_gnome_external_editor):
	* plugins/itip-formatter/itip-formatter.c: (idle_open_cb):
	* mail/em-folder-view.c: (emfv_setup_view_instance):
	* mail/mail-component.c: (impl_finalize):
	* mail/message-list.c: (ml_tree_value_at):
	* composer/e-msg-composer.c: (drop_action):
	* e-util/e-config.c: (ep_finalise): Use proper member to free.
	* widgets/misc/e-cursors.c: (e_cursors_init):
	* widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month):
	* calendar/gui/dialogs/comp-editor.c: (drop_action):
	* calendar/gui/calendar-config.c:
	(calendar_config_get_hide_completed_tasks_sexp):
	* calendar/gui/comp-editor-factory.c: (edit_existing):
	* calendar/gui/e-day-view.c: (e_day_view_reshape_long_event),
	(e_day_view_on_top_canvas_drag_data_received):
	* calendar/gui/e-day-view-main-item.c:
	(e_day_view_main_item_draw_events_in_vbars),
	(e_day_view_main_item_draw_long_events_in_vbars):
	* calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
	* calendar/gui/e-cal-model.c: (redo_queries):
	* calendar/gui/e-calendar-table.c: (e_calendar_table_open_task):
	* calendar/gui/e-memo-table.c: (open_memo):
	* calendar/gui/print.c: (print_todo_details):
	* calendar/gui/migration.c: (get_source_name):
	Memory leak fix.
	* calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things.


svn path=/trunk/; revision=35044
2008-02-18 11:10:10 +00:00
71081677e3 Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #515054 (Clear/set new CAMEL_MESSAGE_NOTJUNK flag)
svn path=/trunk/; revision=34989
2008-02-11 05:11:22 +00:00
b78f54d36f ** Fix for bug #506948
2008-01-28  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #506948

	* em-folder-view.c: (url_unescape_amp), (emp_uri_popup_link_copy):
	Copy the unescaped url

svn path=/trunk/; revision=34918
2008-01-28 10:52:18 +00:00
ca1f7f3328 ** Partial fix for bug #395939
2008-01-24  Milan Crha  <mcrha@redhat.com>

	** Partial fix for bug #395939

	* em-format.c: (emf_inlinepgp_signed):
	* em-format-html-display.c: (efhd_format_optional):
	* em-folder-view.c: (emfv_destroy):
	Memory leak fix.


svn path=/trunk/; revision=34881
2008-01-24 11:44:00 +00:00
8e8d332b85 ** Part of bug #511488
2008-01-24  Milan Crha  <mcrha@redhat.com>

	** Part of bug #511488

	* mail/mail-vfolder.h:
	* mail/mail-vfolder.c: (vfolder_loaded): Function dropped.
	* mail/mail-vfolder.c: (vfolder_load_storage): Allow to call this function
	more than once, but do load the storage only once.
	* mail/em-folder-utils.c: (emfu_popup_new_folder_response):
	* mail/mail-vfolder.c: (vfolder_edit), (vfolder_gui_add_rule),
	(vfolder_gui_add_from_message), (vfolder_gui_add_from_address):
	* mail/em-folder-browser.c: (emfb_search_menu_activated):
	* mail/em-folder-view.c: (emp_uri_popup_vfolder_sender),
	(emp_uri_popup_vfolder_recipient), (vfolder_type_current):
	Ensure vfolder is running.

	* plugins/groupwise-features/share-folder-common.c: (users_dialog_response):
	The logic to check if vfolder is running has been changed, so reflect it here too.


svn path=/trunk/; revision=34878
2008-01-24 11:06:21 +00:00
2c0ce47a99 ** Fix for bug #510779
2008-01-24  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #510779

	* em-mailer-prefs.c: (jh_tree_refill), (jh_add_cb), (jh_remove_cb),
	(init_junk_tree), (custom_junk_button_toggled),
	(em_mailer_prefs_construct): Added UI for the new junk preferences.
	* em-mailer-prefs.h:
	* evolution-mail.schemas.in: Add schema for junk header and address
	lookup.
	* mail-config.c: (gconf_jh_check_changed),
	(gconf_lookup_book_changed), (gconf_jh_headers_changed),
	(mail_config_init), (mail_config_reload_junk_headers),
	(mail_config_get_lookup_book):
	* mail-config.glade:
	* mail-config.h:
	* mail-session.c: (class_init), (lookup_addressbook),
	(mail_session_init), (mail_session_set_junk_headers):
	* mail-session.h:

2008-01-22  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #405777

	* em-folder-view.c: (emfv_setup_view_instance),
	(emfv_setting_notify): Don't break abstraction. Call the right derived
	class.



svn path=/trunk/; revision=34873
2008-01-24 03:03:46 +00:00
3b1751690a ** Fix for bug #507067
2008-01-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #507067

	* em-format-html-display.c: (efhd_get_uri_puri):
	Leak fix and enhanced behavior to return more than one URI separated
	by new line character ('\n'), if possible.
	* em-folder-view.c: (emfv_uri_popup_free): Free item itself too,
	because since now we use new allocated items, not the static one.
	* em-folder-view.c: (emfv_free_em_popup), (emfv_append_menu),
	(emfv_format_popup_event): Merge menus for more URIs and for part too.


svn path=/trunk/; revision=34790
2008-01-10 12:04:00 +00:00
dd7bad0741 ** Fix for bug #211353
2008-01-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* po/POTFILES.in: Added new file e-util/e-util-labels.c

	* mail/filtertypes.xml:
	* mail/vfoldertypes.xml:
	* mail/em-folder-view.c:
	* mail/em-folder-browser.c:
	* mail/em-mailer-prefs.h:
	* mail/em-mailer-prefs.c:
	* mail/mail-config.h:
	* mail/mail-config.c:
	* mail/mail-config.glade:
	* mail/message-list.c:
	Label tags are now generated based on label name when creating, except
	of first 5 labels. New menu option "New Label" in popup menu over
	message list and editing of labels has been changed in Preferences.
	Also renaming tab in Preferences for "Labels", not "Colors", and the
	tab label too.
	mail-config-label... functions was moved to e-util/e-util-labels.c/.h.
	* mail/message-list.etspec: Normalized columns has been moved by one
	when label column has been added.

	* filter/filter-option.h:
	* filter/filter-option.c: (filter_option_get_current),
	(filter_option_remove_all): New functions to be able to refill options
	even after initialization of the filter element.
	* filter/filter-label.c: Added support to notify changes on labels in runtime
	and use actual labels.

	* e-util/Makefile.am:
	* e-util/e-util-labels.h:
	* e-util/e-util-labels.c: New files to work with labels.


svn path=/trunk/; revision=34788
2008-01-10 11:19:37 +00:00
510eb1f016 ** Most of the errors are now non-intrusive
2008-01-10  Srinivasa Ragavan  <sragavan@novell.com>

	** Most of the errors are now non-intrusive 

	* em-folder-utils.c: (emfu_copy_folder_selected),
	(emfu_delete_response), (em_folder_utils_delete_folder):
	* em-folder-view.c: (emfv_delete_msg_response):
	* em-utils.c: (em_utils_edit_filters),
	(em_utils_save_part_to_file), (em_utils_temp_save_part),
	(error_response), (em_utils_show_error_silent),
	(em_utils_show_info_silent):
	* em-utils.h:
	* mail-autofilter.c: (mail_filter_delete_uri):
	* mail-component.c: (mail_component_show_logger):
	* mail-mt.c: (mail_msg_free):
	* mail-session.c: (do_user_message):
	* mail-vfolder.c: (mail_vfolder_delete_uri), (vfolder_edit_rule):


svn path=/trunk/; revision=34787
2008-01-10 09:31:07 +00:00
39be7e3d9c ** Fix for bug #300336
2008-01-07  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #300336

	* plugins/groupwise-features/share-folder-common.c: (users_dialog_response):
	Ensure vfolder is running.

	* mail/mail-vfolder.h: (vfolder_loaded):
	* mail/mail-vfolder.c: (vfolder_loaded): New helper function.
	* mail/em-folder-utils.c: (emfu_popup_new_folder_response):
	* mail/mail-vfolder.c: (vfolder_gui_add_rule),
	(vfolder_gui_add_from_message), (vfolder_gui_add_from_address):
	* mail/em-folder-browser.c: (emfb_search_menu_activated):
	* mail/em-folder-view.c: (emp_uri_popup_vfolder_sender),
	(emp_uri_popup_vfolder_recipient), (vfolder_type_current):
	Ensure vfolder is running.
	* mail/mail-component.c: (mc_startup): Do not start vfolder when
	disabled by option '/apps/evolution/mail/display/enable_vfolders'.
	* mail/evolution-mail.schemas.in: Added schema for new option.
	* mail/mail-config.glade:
	* mail/em-mailer-prefs.h:
	* mail/em-mailer-prefs.c: Added checkbox for "Enable Search Folders" option.

Note: if your schema failed to install, then the search folders will be hidden. Enable by hand then.

svn path=/trunk/; revision=34775
2008-01-07 12:12:13 +00:00
00d89fdac2 Patch from Michael Monreal <michael.monreal@gmx.net>: Fix for bug #492188 (Use the new Tangoized icons instead of the deprecated ones from gnome-icon-theme)
M    addressbook/gui/component/addressbook-view.c
M    addressbook/ChangeLog
AM   data/icons/hicolor_actions_16x16_mail-move.png
AM   data/icons/hicolor_actions_16x16_mail-copy.png
AM   data/icons/hicolor_actions_16x16_folder-move.png
M    data/icons/Makefile.am
AM   data/icons/hicolor_actions_16x16_folder-copy.png
M    mail/em-folder-browser.c
M    mail/ChangeLog
M    mail/em-folder-tree.c
M    mail/em-folder-view.c
M    mail/message-list.c
M    composer/ChangeLog
M    composer/e-msg-composer.c
M    ChangeLog
M    calendar/gui/dialogs/comp-editor.c
M    calendar/ChangeLog

svn path=/trunk/; revision=34769
2008-01-06 18:02:18 +00:00
538be0680e ** Fixes bug #362638
2007-12-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #362638

	* calendar/gui/alarm-notify/alarm-notify.c:
	* calendar/gui/alarm-notify/alarm-notify.h:
	* calendar/gui/alarm-notify/alarm-queue.c:
	Rewrite message passing to use GThreadPool instead of EThread.

	* mail/mail-mt.h:
	Overhaul the message passing API:
	- Define a MailMsg type as the base message struct.
	- Define types for the various callback functions.
	- Add a priority value to each message (not yet used).
	- Add a reference count to each message.
	- Define a MailMsgInfo type for the virtual function table.
	- Record the size of message sub-types in MailMsgInfo.
	- New/changed functions:
	    mail_msg_new()   - Easier to use.
	    mail_msg_ref()   - Increase reference count.
	    mail_msg_unref() - Decrease reference count.
	    mail_msg_main_loop_push()    }
	    mail_msg_unordered_push()    } Submit MailMsgs to various
	    mail_msg_fast_ordered_push() } message-processing threads.
	    mail_msg_slow_ordered_push() }

	* mail/mail-mt.c (mail_msg_new):
	Use GSlice for memory allocation.

	* mail/mail-mt.c (mail_msg_ref), (mail_msg_unref):
	New functions increment/decrement a MailMsg's reference count.

	* mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove):
	Convert the 'cancel_hook_list' from an  EDList to a GHookList and
	modify the API accordingly.

	* mail/mail-mt.c:
	Use GThreadPools instead of EThreads.
	Use GAsyncQueues instead of EMsgPorts.

	* mail/em-composer-utils.c:
	* mail/em-folder-browser.c:
	* mail/em-folder-properties.c:
	* mail/em-folder-tree.c:
	* mail/em-folder-utils.c:
	* mail/em-folder-view.c:
	* mail/em-format-html-print.c:
	* mail/em-format-html.c:
	* mail/em-subscribe-editor.c:
	* mail/em-sync-stream.c:
	* mail/importers/elm-importer.c:
	* mail/importers/mail-importer.c:
	* mail/importers/pine-importer.c:
	* mail/mail-component.c:
	* mail/mail-folder-cache.c:
	* mail/mail-mt.c:
	* mail/mail-ops.c:
	* mail/mail-ops.h:
	* mail/mail-send-recv.c:
	* mail/mail-session.c:
	* mail/mail-vfolder.c:
	* mail/message-list.c:
	* plugins/folder-unsubscribe/folder-unsubscribe.c:
	* plugins/groupwise-features/share-folder-common.c:
	* plugins/exchange-operations/exchange-folder.c:
	* plugins/mark-all-read/mark-all-read.c:
	* plugins/mailing-list-actions/mailing-list-actions.c:
	* plugins/itip-formatter/itip-formatter.c:
	* plugins/save-attachments/save-attachments.c:
	Use the new MailMsg API for messages.


svn path=/trunk/; revision=34730
2007-12-20 17:58:09 +00:00
2093e31002 ** Fix for bug #211353
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* message-list.etspec:
	* message-list.h:
	* message-list.c: Added new column to show labels.
	* filtertypes.xml:
	* vfoldertypes.xml:
	Code for label filters/search folders has been changed.
	* mail-config.glade:
	* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
	(emfv_popup_label_clear), (emfv_popup_label_set),
	(emfv_popup_labels_get_state_for_tag), (emfv_popup):
	Labels popup submenu is now shown with checkboxes so one can set
	more than one label to the message and unset only one label from
	message. There has been added new function, because of this.
	* mail-config.h:
	* mail-config.c: New "interface" functions to work with labels.
	* em-mailer-prefs.h:
	* em-mailer-prefs.c: Editing labels in tree.
	* em-folder-browser.c:
	Labels in show menu reflect changes in preferences.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* filter-label.c: Use global label's setup, not its own copy.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-popup.h:
	* e-popup.c: (ep_build_tree):
	Toggles can be in inconsistent state now, and can also contain
	an image, which is a pointer to GtkImage widget.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-search-bar.c: (e_search_bar_get_viewitem_id):
	Return -1 if no viewmenu is setup yet.


svn path=/trunk/; revision=34715
2007-12-17 05:40:53 +00:00
0445320615 If it is not FolderBrowser object, the pane size signal is not sent. Fix
2007-12-10  Jeff Cai  <jeff.cai@sun.com>

        * em-folder-view.c: (emfv_setting_notify):
        If it is not FolderBrowser object, the pane size
        signal is not sent.
        Fix #501677


svn path=/trunk/; revision=34681
2007-12-10 05:40:20 +00:00
9fe2bb92d1 Patch from Akhil Laddha <lakhil@novell.com>: Fix for bug #475508 (UI: Changed the string for search folder and filter creation from message list, etc to make it understandable)
svn path=/trunk/; revision=34667
2007-12-07 16:08:26 +00:00
ab0001db0d ** Fix for bug #263236
2007-12-06  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #263236

	* em-folder-view.c: (emfv_delete_msg_response):
	Look for "Do not ask me again" check in alignment, so
	let it works properly.


svn path=/trunk/; revision=34660
2007-12-06 13:50:40 +00:00
1c88010c53 ** Fix for bug #335931
2007-11-23  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #335931

	* message-list.c: (struct _regen_list_msg): New member last_row.
	* message-list.c: (regen_list_regen): Store last_row for later use.
	* message-list.c: (regen_list_regened): Restore row based on last_row
	when no uid was selected before.
	* message-list.c: (mail_regen_list): Init new last_row member.
	* em-folder-view.c: (emfv_select_next_message): New helper function
	to select messages in list.
	* em-folder-view.c: (emfv_popup_mark_junk), (emfv_popup_mark_nojunk),
	(emfv_popup_delete): Using new helper function, so get same behavior.

	* message-list.h: (struct _MessageList):
	* message-list.c: (on_cursor_activated_cmd): Removed cursor_row member.


svn path=/trunk/; revision=34567
2007-11-23 09:06:00 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00