Commit Graph

2439 Commits

Author SHA1 Message Date
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
98c25534d5 ** Remove unused files
2008-09-29  Srinivasa Ragavan  <sragavan@novell.com>

	** Remove unused files

	* widgets/table/Makefile.am:
	* widgets/table/e-cell-spin-button.c:
	* widgets/table/e-cell-spin-button.h:

svn path=/trunk/; revision=36468
2008-09-29 08:48:53 +00:00
1409782df3 Remove obsolete files.
svn path=/trunk/; revision=36466
2008-09-29 08:44:57 +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
7001477db8 ** Fix for bug #352695
2008-08-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #352695

	* e-tree-table-adapter.c: (e_tree_table_adapter_load_expanded_state),
	(e_tree_table_adapter_load_expanded_state_xml):
	Call the e_table_model_changed in the proper function, to prevent
	lock of the model caused by previous commit to this bug.


svn path=/trunk/; revision=35955
2008-08-11 14:19:54 +00:00
28a98b7973 ** Fix for bug #519292
2008-08-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #519292

	* mail/message-list.c: (load_tree_expand_all): Drop function.
	* mail/message-list.c: (regen_list_done): Rather use desired expanded state
	value when creating the tree instead of the default model's value for
	this to have 'expand/collapse all' commands work better and quicker.

	* widgets/tablee-tree.h: (e_tree_load_all_expanded_state):
	* widgets/tablee-tree.c: (e_tree_load_all_expanded_state):
	* widgets/tablee-tree-table-adapter.h:
	(e_tree_table_adapter_load_all_expanded_state):
	* widgets/tablee-tree-table-adapter.c:
	(e_tree_table_adapter_load_all_expanded_state),
	(set_expanded_state_func), (set_collapsed_state_func):
	Drop functions in favor of new functions.
	* widgets/tablee-tree.h: (e_tree_force_expanded_state):
	* widgets/tablee-tree.c: (e_tree_force_expanded_state):
	* widgets/tablee-tree-table-adapter.h: (e_tree_table_adapter_force_expanded_state):
	* widgets/tablee-tree-table-adapter.c: (e_tree_table_adapter_force_expanded_state),
	(struct ETreeTableAdapterPriv), (create_gnode), (etta_init):
	Use either default value of the model to expanded state of new node or
	use the one which has been set (forced) by new functions.


svn path=/trunk/; revision=35954
2008-08-11 10:08:14 +00:00
c29e1c6570 ** Fix for bug #352695
2008-08-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #352695

	* widgets/table/e-tree-table-adapter.h:
	(e_tree_table_adapter_save_expanded_state_xml),
	(e_tree_table_adapter_load_expanded_state_xml):
	* widgets/table/e-tree-table-adapter.c:
	(e_tree_table_adapter_save_expanded_state_xml),
	(e_tree_table_adapter_save_expanded_state),
	(e_tree_table_adapter_load_expanded_state_xml),
	(e_tree_table_adapter_load_expanded_state):
	* widgets/table/e-tree.h: (e_tree_save_expanded_state_xml),
	(e_tree_load_expanded_state_xml):
	* widgets/table/e-tree.c: (e_tree_save_expanded_state_xml),
	(e_tree_load_expanded_state_xml):
	Be able to store expanded state also in memory, not only on the disk.

	* mail/message-list.c: (struct _MessageListPrivate), (save_tree_state),
	(load_tree_state), (on_model_row_changed), (message_list_init),
	(message_list_construct), (struct _regen_list_msg), (regen_list_done),
	(regen_list_free), (mail_regen_list): Be able to recognize whether
	there has been any change on any row in a list and save expanded
	state only in case there was any change. Also use in-memory storing
	of the expanded state in case we do not want to rewrite full view
	It's for searches only, and it's not stored between sessions.


svn path=/trunk/; revision=35953
2008-08-11 09:48:17 +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
9e2412ce34 Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-07-15  Milan Crha  <mcrha@redhat.com>

       ** Part of fix for bug #329821

       * e-table-item.c: (find_cell): Do not consider last row's height
       till the bottom.
       * e-table-item.h: (e_table_item_compute_mouse_over):
       * e-table-item.c: (e_table_item_compute_mouse_over):
       * e-table-group-container.c: (etgc_compute_mouse_over),
       (etgc_class_init):
       * e-table-group-leaf.c: (etgl_compute_mouse_over),
(etgl_class_init):
       * e-table.h: (e_table_get_mouse_over_cell):
       * e-table.c: (e_table_get_mouse_over_cell):
       * e-table-group.h: (struct ETableGroupClass),
       (e_table_group_compute_mouse_over):
       * e-table-group.c: (e_table_group_compute_mouse_over),
       (etg_class_init): Be able to calculate mouse-over position
correctly,
       relatively to the ETableItem.


svn path=/trunk/; revision=35778
2008-07-20 17:02:33 +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
a6a2b0baca gdk_rgb_get_cmap -> gdk_rgb_get_colormap
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* text/e-text-model-test.c: (main):
	* text/e-text-test.c: (main):
	gdk_rgb_get_cmap -> gdk_rgb_get_colormap

svn path=/trunk/; revision=35589
2008-06-03 19:58:06 +00:00
5bca57d569 gdk_rgb_get_cmap -> gdk_rgb_get_colormap
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* e-table-example-1.c: (main):
	* e-table-example-2.c: (main):
	* e-table-size-test.c: (main):
	* test-check.c: (check_test):
	* test-cols.c: (multi_cols_test):
	gdk_rgb_get_cmap -> gdk_rgb_get_colormap

svn path=/trunk/; revision=35588
2008-06-03 19:57:21 +00:00
66bcc503dd gdk_pixbuf_unref() -> g_object_unref()
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* test-check.c: (check_test):
	* test-cols.c: (multi_cols_test):
	gdk_pixbuf_unref() -> g_object_unref()

svn path=/trunk/; revision=35587
2008-06-03 19:17:46 +00:00
73ec31f853 gtk_window_set_policy -> gtk_window_set_resizable.
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* menus/gal-define-views-dialog.c: (gal_define_views_dialog_init):
	* menus/gal-view-new-dialog.c: (gal_view_new_dialog_init):
	gtk_window_set_policy -> gtk_window_set_resizable.

svn path=/trunk/; revision=35586
2008-06-03 18:37:17 +00:00
b98a472f23 gtk_window_set_policy -> gtk_window_set_resizable
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* e-cell-combo.c: (e_cell_combo_init):
	gtk_window_set_policy -> gtk_window_set_resizable

svn path=/trunk/; revision=35585
2008-06-03 18:36:01 +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