Commit Graph

923 Commits

Author SHA1 Message Date
13d7c4e4cb License changes
svn path=/trunk/; revision=36591
2008-10-10 12:59:06 +00:00
77ff19dd83 ** Fix for bug #554418
2008-10-01  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #554418

	* e-util/e-util.h: (e_util_guess_mime_type):
	* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
	the file content only when permitted by the caller, otherwise
	check based on the filename only, where it fallbacks if file
	content guess fails.

	* mail/em-utils.c: (em_utils_snoop_type):
	* mail/em-popup.c: (emp_standard_menu_factory):
	Guess mime_type based on the filename only.

	* composer/e-msg-composer.c: (handle_uri),
	(e_msg_composer_add_inline_image_from_file): Guess mime_type based
	on the file content, if failed, then on the filename.

	* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
	Allow guessing mime_type based on the file content.

	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
	Allow/disallow guessing of the mime_type based on the file content.


svn path=/trunk/; revision=36529
2008-10-01 12:29:46 +00:00
3b318d5cbf Change License from GPL to LGPL.
svn path=/trunk/; revision=36520
2008-10-01 09:24:41 +00:00
1f8187e8da Change License from GPL to LGPL.
svn path=/trunk/; revision=36502
2008-09-30 15:19:23 +00:00
0679411d0e ** Fix for bug #530716
2008-09-29  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #530716

	* mail/mail-session.c: (user_message_response), (user_message_exec),
	(user_message_response_free): Differentiate between response
	with valid message pointer and with one already freed.

	* widgets/misc/e-activity-handler.c: (error_cleanup): GtkDialog errors close
	by the response message, not as other widgets, because creator
	of the dialog waits for that signal and takes care of the widget.


svn path=/trunk/; revision=36473
2008-09-29 10:07:12 +00:00
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
762ac32d75 Change License from GPL to LGPL
svn path=/trunk/; revision=36443
2008-09-24 11:02:48 +00:00
f9f3b67162 Change license from GPL to LGPL
svn path=/trunk/; revision=36381
2008-09-19 06:02:55 +00:00
79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
b7fc5caefe License Changes from GPL to LGPL
svn path=/trunk/; revision=36313
2008-09-12 16:19:36 +00:00
c6c63d16d8 ** Fixes bug #549968
2008-09-06  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #549968

	* calendar/gui/dialogs/comp-editor.c (comp_editor_init):
	Use the same mnemonic for "Recent Documents" as composer.

	* widgets/misc/e-attachment-bar.c
	(e_attachment_bar_bonobo_ui_populate_with):
	Use the same mnemonic for "Recent Documents" as composer.


svn path=/trunk/; revision=36266
2008-09-06 16:12:51 +00:00
9b2f1c77d2 esthetic license header cleans, and fix e-pkcs12
svn path=/trunk/; revision=36264
2008-09-06 15:32:10 +00:00
e3f3503c97 fix licensing snafus.
svn path=/trunk/; revision=36263
2008-09-06 14:45:00 +00:00
e867d62beb correct licensing cockup; apologies.
2008-09-06  Michael Meeks  <michael.meeks@novell.com>

        * e-spinner.c: correct licensing cockup; apologies.


svn path=/trunk/; revision=36262
2008-09-06 14:16:34 +00:00
76dbf9df1f License changes. Changed license from GPL to LGPL.
More to come.

svn path=/trunk/; revision=36255
2008-09-04 14:56:39 +00:00
14fa5c8a8c Change License from GPL to LGPL. 2nd batch.
More changes to come.

svn path=/trunk/; revision=36247
2008-09-02 16:25:53 +00:00
2850145fbd ** Fixes bug #550334
2008-09-01  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #550334

	* widgets/misc/e-activity-handler.c:
	Use standard icon names for warning and information.


svn path=/trunk/; revision=36246
2008-09-02 03:10:07 +00:00
229beeeac3 Fix vertical alignment of labels.
2008-08-30  Matthew Barnes  <mbarnes@redhat.com>

	* widgets/misc/e-info-label.c (e_info_label_set_info):
	Fix vertical alignment of labels.


svn path=/trunk/; revision=36217
2008-08-30 11:40:20 +00:00
1bad915150 License Changes
svn path=/trunk/; revision=36116
2008-08-27 10:33:22 +00:00
31ab3e7713 ** Fixes bug #547411
2008-08-14  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #547411

	* data/icons/hicolor_status_32x32_online.png:
	* data/icons/hicolor_status_32x32_online.svg:
	* data/icons/hicolor_status_32x32_offline.png:
	* data/icons/hicolor_status_32x32_offline.svg:
	New, Tangoized versions of the old "art" images.

	* art/online.png:
	* art/offline.png:
	These are now obsolete.  Remove them.

	* widgets/misc/e-online-button.c (e_online_button_set_online):
	The button icons are themed now but still oblong.
	Load the icons by filename so GTK+ doesn't scale them.


svn path=/trunk/; revision=35995
2008-08-14 20:37:38 +00:00
09cfe5d569 New convenience function for launching help from Evolution. Displays an
2008-08-14  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util.c (e_display_help):
	New convenience function for launching help from Evolution.
	Displays an error dialog over the given parent window if an
	error occurs.

	* addressbook/gui/contact-editor/e-contact-editor.c:
	* calendar/gui/dialogs/comp-editor.c:
	* plugins/email-custom-header/gui/contact-editor/e-contact-editor.c:
	* plugins/exchange-operations/exchange-send-options.c:
	* widgets/misc/e-multi-config-dialog.c:
	* widgets/misc/e-send-options.c:
	Use e_display_help() for displaying help.


svn path=/trunk/; revision=35991
2008-08-14 19:21:10 +00:00
434bc25ed6 ** Fixes bug #546892
2008-08-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #546892

	* e-util/e-icon-factory.c (e_icon_factory_get_image):
	Kill this function.  Use gtk_image_new_from_icon_name().

	* e-util/e-icon-factory.c (e_icon_factory_get_icon_list):
	Kill this function.  Use gtk_window_set_icon_name().

	* widgets/misc/e-activity-handler.c:
	* widgets/misc/e-task-widget.c:
	Purge the GdkPixbuf arguments from the API.  We've been ignoring
	them since the spinner icon was added.

	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* calendar/gui/alarm-notify/alarm-notify-dialog.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/alarm-list-dialog.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/changed-comp.c:
	* calendar/gui/dialogs/delete-error.c:
	* calendar/gui/dialogs/select-source-dialog.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	* widgets/misc/e-combo-button.c:
	* widgets/misc/e-info-label.c:
	* widgets/misc/e-url-entry.c:
	* widgets/misc/e-task-widget.c:
	Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list().

	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/e-timezone-entry.c:
        * e-util/e-gui-utils.c:
        * e-util/e-popup.c:
	* plugins/import-ics-attachments/icsimporter.c:
	* plugins/itip-formatter/itip-view.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html-display.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image().

	* calendar/gui/alarm-notify/alarm-queue.c:
	* plugins/mail-notification/mail-notification.c:
	Prefer gtk_status_icon_set_from_icon_name() over
	gtk_status_icon_set_from_pixbuf().

	* addressbook/gui/component/addressbook-view.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-memo-table.c:
	* mail/mail-mt.c:
	e_activity_handler_operation_started() no longer takes a GdkPixbuf.
	It was ignoring the pixbuf anyway ever since we added a spinner icon.


svn path=/trunk/; revision=35958
2008-08-11 17:04:32 +00:00
cd9554f638 ** Part of fix for bug #543943
2008-07-23  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #543943

	* e-activity-handler.c: (e_activity_handler_operation_set_error):
	* e-task-bar.c: (e_task_bar_class_init), (impl_finalize):
	Leak fix.


svn path=/trunk/; revision=35826
2008-07-23 14:54:16 +00:00
3e09622310 ** Fixes bug #542587
2008-07-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #542587

	* shell/e-shell-window.c: Use new EOnlineButton widget.

	* widgets/misc/e-online-button.c:
	* widgets/misc/e-online-button.h:
	New widget implements the online/offline button used in the main
	window.  The button just maintains an "online" flag and displays
	the appropriate button image for the flag.


svn path=/trunk/; revision=35777
2008-07-20 16:37:22 +00:00
c049cedd69 ** Fix for bug #542889
2008-17-14  Paolo Borelli  <pborelli@katamail.com>

	** Fix for bug #542889

	Port to the new gtk tooltip api.


svn path=/trunk/; revision=35744
2008-07-14 11:38:30 +00:00
65f69a91c5 ** Fix for bug #542631
2008-07-12  Paolo Borelli  <pborelli@katamail.com>

	** Fix for bug #542631

	* e-attachment-bar.c: use g_format_size_for_display instead of cut and
	pasted code.


svn path=/trunk/; revision=35740
2008-07-12 16:36:45 +00:00
1fe74f379d Fix for bug #370731 (bugzilla.novell.com): Use MAX (<max width of day-names>, (2 * <max width of a digit>)) to determine the minimal size for each cell. This prevents the numbers and day-names from getting fuzzy when using large font-sizes.
svn path=/trunk/; revision=35731
2008-07-07 08:50:34 +00:00
cdf763e9d7 ** Fix for bug #519536
2008-06-30  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #519536

	* e-activity-handler.c: (cancel_wrapper): Handle freeing of data
	safely.



svn path=/trunk/; revision=35702
2008-06-30 06:57:45 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
1a5163b539 ** Fix for bug #532597
2008-06-18  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #532597

	* e-selection-model-array.c: (e_selection_model_array_delete_rows):
	Do not leave selected more than one item if somebody else took care
	or reposition of the cursor row before the delete.


svn path=/trunk/; revision=35647
2008-06-18 16:13:23 +00:00
1931b88ebb ** Fix for bug #340683
2008-06-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #340683

	* e-attachment-bar.c: (get_system_thumbnail), (scale_pixbuf),
	(e_attachment_bar_create_attachment_cache), (update):
	Allow creating thumbnails of non-pictures with a gnome's thumbnailer.


svn path=/trunk/; revision=35624
2008-06-10 08:57:51 +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
64b15c5cb7 Migrate from gtk_window_set_policy() to gtk_window_set_resizable() and
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* e-cell-date-edit.c: (e_cell_date_edit_init):
	* e-dateedit.c: (create_children):
	* e-multi-config-dialog.c: (e_multi_config_dialog_init):
	* e-unicode.h:
	* test-calendar.c: (main):
	* test-dateedit.c: (main):
	* test-info-label.c: (main):
	Migrate from gtk_window_set_policy() to gtk_window_set_resizable()
	and clean up a bunch of coding style issues along the way.

svn path=/trunk/; revision=35584
2008-06-03 18:35:02 +00:00
48fbd44f44 Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-05-28  Milan Crha  <mcrha@redhat.com>

       ** Fix for bug #532597

       * e-selection-model-array.h: (struct ESelectionModelArray):
       * e-selection-model-array.c: (es_row_model_to_sorted),
       (es_row_sorted_to_model), (e_selection_model_array_delete_rows),
       (e_selection_model_array_insert_rows), (esma_invert_selection),
       (e_selection_model_array_move_row), (esma_clear), (esma_select_all),
       (esma_change_cursor), (esma_set_selection_end),
       (e_selection_model_array_init): Work with sorted cursor row to keep
       right position after insert/delete/move row(s).


svn path=/trunk/; revision=35573
2008-06-02 05:33:10 +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
7d213ee0c2 ** Fixes bug #311042, Patch by Milan Crha
2008-05-14  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #311042, Patch by Milan Crha

	* widgets/misc/e-info-label.c: (el_size_allocate), (el_class_init),
	(e_info_label_set_info), (get_text_full_width): Allocate size for
	location and info labels differently, than GtkHBox does, to be able
	to minimize it as much as possible and do not waste empty space.


svn path=/trunk/; revision=35499
2008-05-14 13:50:05 +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
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
015345c498 ** Fix for bug #529893
2008-04-25  Danny Baumann  <dannybaumann@web.de>

	** Fix for bug #529893

	* widgets/misc/e-dateedit.c (create_children):
	* widgets/misc/e-combo-cell-editable.c (build_popup):
	* widgets/misc/e-cell-date-edit.c (e_cell_date_edit_init):
	* widgets/table/e-table-header-item.c: (make_shaped_window_from_xpm):
	* widgets/table/e-cell-combo.c: (e_cell_combo_init):
	* widgets/table/e-cell-text.c: (ect_show_tooltip):
	* widgets/text/e-text.c: (_do_tooltip):
	* calendar/gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
	Properly set type hints for popup windows.


svn path=/trunk/; revision=35416
2008-04-25 13:35:38 +00:00
592375b3a0 ** Fixes bug #529641
2008-04-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #529641

	* widgets/e-timezone-dialog/e-timezone-dialog.glade:
	* widgets/e-dateedit.c (create_children):
	* widgets/e-map.c (e_map_new):
	Prefer the term "drop-down combination box" to "combo box" per the
	GNOME Documentation Style Guide.


svn path=/trunk/; revision=35402
2008-04-23 01:23:42 +00:00
d48f96dd9f ** Fix for bug #334444
2008-04-20  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #334444

	* em-format-html-display.c: (efhd_attachment_button),
	(efhd_update_bar), (efhd_message_update_bar),
	(efhd_message_add_bar):
	* em-format-html.c: (efh_format_exec):
2008-04-20  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #334444

	* e-attachment-bar.c: (e_attachment_bar_add_attachment_silent),
	(e_attachment_bar_refresh):
	* e-attachment-bar.h:




svn path=/trunk/; revision=35393
2008-04-21 05:11:07 +00:00
e9a0cfe1a9 ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
2008-04-17  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #526741 (gnome-vfs to gio/gvfs port)

	* configure.in: Drop dependency on gnome-vfs, depend on gio instead.

	* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.

	* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
	(async_read): Read data with gio, not with gnome-vfs.
	* calendar/gui/e-meeting-store.c: (async_close): Function removed.
	* calendar/gui/migration.c:
	* calendar/gui/e-memos.c:
	* calendar/gui/alarm-notify/notify-main.c:
	* calendar/gui/e-tasks.c:
	* calendar/gui/main.c:
	* calendar/gui/e-meeting-list-view.c:
	Do not include gnome-vfs.
	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
	Function removed, use e-util function instead.
	* calendar/gui/e-cal-popup.c: (temp_save_part):
	Reflect changes in CamelStreamVFS.
	* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
	(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
	* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
	New helper function to manage file:// urls for GtkHTML component.
	* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
	* calendar/gui/e-cal-component-memo-preview.c:
	(e_cal_comp_preview_url_requested_cb):
	Use above helper function.
	* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.

	* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
	* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
	(e_msg_composer_add_inline_image_from_file):
	Use shared e_util_guess_mime_type instead of its own.

	* e-util/e-gui-utils.c: Do not include gnome-vfs.
	* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
	* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
	Use gio instead of gnome-vfs.
	* e-util/e-util.h:
	* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
	(e_util_uri_to_filename), (e_util_read_file): New helper functions.

	* mail/Makefile.am:
	* mail/em-vfs-stream.h:
	* mail/em-vfs-stream.c: Removed from project, not used anywhere.
	* mail/em-menu.c:
	* mail/em-config.c: Do not include gnome-vfs.
	* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
	Changes related to Data Server change of CamelStreamVFS.
	* mail/em-format.c: (em_format_describe_part):
	* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
	(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
	(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
	* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
	* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
	(emp_standard_menu_factory): Use gio to fill popup and launch app.

	* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.

	* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
	* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
	Write to gio GOutputStream instead of gnome-vfs handle.
	* plugins/ipod-sync/format-handler.h: (open_for_writing):
	* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.

	* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
	* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
	Use gio GOutputStream instead of gnome-vfs handle.
	* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
	* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
	* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
	(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
	(mount_first), (publish):
	Use gio instead of gnome-vfs for opening (remote) files.

	* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
	* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
	* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
	Use gio GOutpuStream instead of gnome-vfs handle.
	* plugins/save-calendar/format-handler.h: (open_for_writing):
	* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.

	* shell/e-shell-window-commands.c: (command_quick_reference):
	Use gio instead of gnome-vfs.

	* widgets/misc/e-attachment.h: (struct _EAttachment):
	* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
	(e_attachment_new), (struct DownloadInfo), (download_info_free),
	(data_ready_cb), (download_to_local_path),
	(e_attachment_new_remote_file):
	Use gio instead of gnome-vfs to download remote files.
	* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
	Use new util function to read file.
	* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.


svn path=/trunk/; revision=35378
2008-04-17 16:59:08 +00:00
d6ca198aee Remove some unused variables.
2008-04-14  Matthew Barnes  <mbarnes@redhat.com>

	* composer/e-composer-autosave.c (e_composer_autosave_unregister):
	Remove some unused variables.

	* widgets/misc/e-attachment-bar.c
	(e_attachment_bar_bonobo_ui_populate_with_recent):
	Fix a compiler warning.


svn path=/trunk/; revision=35365
2008-04-14 13:04:03 +00:00
8873c47ed1 Fix for bug #517134 : Extend the 'Insert' menu (in editors) to show a "Recent Documents" submenu (to quickly add them as attachments).
M    configure.in
M    ChangeLog
M    composer/evolution-composer.ui
M    composer/ChangeLog
M    composer/e-composer-actions.c
M    composer/e-composer-private.c
M    widgets/misc/ChangeLog
M    widgets/misc/e-attachment-bar.c
M    widgets/misc/e-attachment-bar.h
M    calendar/gui/dialogs/comp-editor.c
M    calendar/ChangeLog
M    ui/ChangeLog
M    ui/evolution-editor.xml

svn path=/trunk/; revision=35354
2008-04-11 18:52:39 +00:00
16068d9b41 ** Merge the mbarnes-composer branch
2008-04-02  Matthew Barnes <mbarnes@redhat.com>

	** Merge the mbarnes-composer branch

	* configure.in:
	Bump libgtkhtml requirement to 3.19.1.
	Add gtkhtml-editor dependency for addressbook, calendar and mail.
	Remove print-message plugin; new composer implements this natively.

	* tools/Makefile.am:
	Remove CORBA rules for the old composer.

	* addressbook/gui/widgets/Makefile.am:
	Remove CORBA rules for the old composer.

	* addressbook/gui/widgets/eab-gui-util.c
	(eab_send_to_contact_and_email_num_list),
	(eab_send_contact_list_as_attachment):
	Adapt to new Bonobo-less composer widget.

	* calendar/gui/Makefile.am:
	Remove CORBA rules for the old composer.

	* calendar/gui/itip-utils.c (comp_from), (comp_to_list),
	(comp_subject), (comp_content_type), (comp_filename),
	(comp_description), (append_cal_attachments), (itip_send_comp),
	(reply_to_calendar_comp):
	Adapt to new Bonobo-less composer widget.

	* composer/Makefile.am:
	Remove CORBA rules for the old composer.

	* composer/e-msg-composer.c:
	* composer/e-msg-composer.h:
	EMsgComposer is now a subclass of GtkhtmlEditor.
	Extensive refactoring and cleanup, too much to list in detail.

	* composer/e-composer-header.c:
	* composer/e-composer-header.h:
	Add "sensitive" property along with get/set functions.

	* composer/e-composer-from-header.c:
	* composer/e-composer-from-header.h:
	Propagate "refreshed" signal from EAccountComboBox.
	Add function e_composer_from_header_get_account_list().

	* composer/e-composer-private.c:
	* composer/e-composer-private.h:
	New files manage composer's private data.
	Allows other composer files to manipulate private data.

	* composer/e-msg-composer-hdrs.c:
	* composer/e-msg-composer-hdrs.h:
	Remove these files; replaced by EComposerHeaderTable widget.

	* composer/evolution-composer.c:
	* composer/evolution-composer.h:
	Remove these files; composer is now a subclass of GtkhtmlEditor.

	* composer/e-msg-composer-select-file.c:
	* composer/e-msg-composer-select-file.h:
	Remove these files; logic moved to e-msg-composer.c.

	* composer/listener.c:
	* composer/listener.h:
	Remove these files; event handlers moved to e-msg-composer.c.

	* composer/Composer.idl:
	* composer/Evolution-Composer.idl:
	Remove these files; composer is no longer a Bonobo object.

	* mail/em-composer-prefs (sig_edit_cb),
	(em_composer_prefs_new_signature):
	Adapt to new Bonobo-less signature editor.

	* mail/mail-signature-editor.c:
	* mail/mail-signature-editor.h:
	Rewrite the signature editor as a subclass of GtkhtmlEditor.
	Eliminates Bonobo from the equation.

	* mail/em-composer-utils.c (composer_get_message),
	(em_utils_composer_send_cb), (save_draft_done),
	(em_utils_composer_save_draft_cb), (create_new_composer),
	(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), (reply_get_composer), (composer_set_body),
	(em_utils_reply_to_message), (post_reply_to_message):
	Adapt to new Bonobo-less composer.

	* mail/mail-component-factory.c:
	Composer is no longer needs a Bonobo factory.

	* mail/mail-config.c:
	Fix style pattern for EMsgComposer widgets.

	* plugins/groupwise/mail-send-options.c
	(org_gnome_composer_send_options):
	Adapt to streamlined EMsgComposer API.

	* plugins/exchange-operations/Makefile.am:
	Add EVOLUTION_MAIL_CFLAGS and EVOLUTION_MAIL_LIBS.

	* plugins/exchange-operations/exchange-mail-send-options.c
	(append_to_header), (org_gnome_exchange_send_options):
	Adapt to streamlined EMsgComposer API.

	* plugins/mailing-list-actions/mailing-list-actions.c
	(emla_list_action_do):
	Adapt to streamlined EMsgComposer API.

	* po/POTFILES.in: Update file list for new composer.

	* ui/evolution-composer-entries.xml:
	Remove this file; obsoleted by new composer.

	* widgets/misc/Makefile.am:
	Add EVOLUTION_MAIL_LIBS.

	* widgets/misc/e-account-combo-box.c:
	* widgets/misc/e-account-combo-box.h:
	New function e_account_combo_box_get_account_list().
	Emit a "refreshed" signal when the EAccountList changes.
	Add an internal reverse-lookup index.

	* widgets/misc/e-charset-picker.c (e_charser_add_radio_actions):
	New function adds radio actions to an action group.
	Will eventually replace e_charset_picker_bonobo_ui_populate().

	* widgets/misc/e-signature-combo-box.c:
	* widgets/misc/e-signature-combo-box.h:
	New function e_signature_combo_box_get_signature_list().

	... separate issue ...

	* configure.in:
	Bump eds_minimum_version to 2.23.1 for
	CAMEL_FOLDER_JUNKED_NOT_DELETED symbol.


svn path=/trunk/; revision=35313
2008-04-02 18:37:22 +00:00
83cdb01f28 ** Fix for bug #507526
2008-03-27  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #507526

	* e-send-options.glade: Add translators' comment.


svn path=/trunk/; revision=35263
2008-03-27 11:13:36 +00:00
fd430c412a ** Fix for bug #482148
2008-03-14  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #482148

	* e-search-bar.c: (entry_activated_cb), (entry_changed_cb),
	(search_now_verb_cb), (clear_verb_cb), (clear_button_clicked_cb):
	Allow clear search when some search is active and text is empty.


svn path=/trunk/; revision=35191
2008-03-14 17:06:02 +00:00
0a3955c5de ** Fix for bug #460204
2008-03-13  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #460204

	* e-attachment.c: (attachment_guess_mime_type):
	Check whether found mime type is valid before returning it.
	My thanks come to Effenberg whom helped me to debug it.


svn path=/trunk/; revision=35184
2008-03-13 12:58:32 +00:00
f72f86f239 ** Fix for bug #512543
2008-03-13  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #512543

	* configure.in:
	* widgets/misc/e-calendar-item.c:
	* calendar/gui/e-day-view.c:
	* calendar/gui/e-week-view-event-item.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-calendar-view.h:
	* calendar/gui/e-week-view-main-item.c:
	* calendar/gui/e-day-view-time-item.c:
	* calendar/gui/e-day-view-top-item.c:
	* calendar/gui/e-day-view-main-item.c:
	Get rid of --enable-cairo-calendar/ENABLE_CAIRO define.


svn path=/trunk/; revision=35182
2008-03-13 11:12:47 +00:00