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-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-29 Milan Crha <mcrha@redhat.com>
** Fix for bug #511337
* em-format-html.h: (EMFormatHTMLState), (struct _EMFormatHTML):
* em-format-html.c: (efh_init), (efh_format_done),
(efh_format_timeout): Track state of the object to recognize
whether rendering new content or doing nothing.
* em-format-html-display.c: (efhd_can_process_attachment),
(efhd_attachment_show), (efhd_attachment_popup),
(efhd_attachment_image), (efhd_attachment_button):
Do nothing when EMFormatHTML object's state is RENDERING,
the puri object instance is not valid anyway.
svn path=/trunk/; revision=35437
2008-04-28 Johan Euphrosine <proppy@aminche.com>
** Fix for bug #529247
* em-format-html.h (struct _EMFormatHTML): Add header_colour.
* em-format-html-display.c (efhd_gtkhtml_realise): Use bg style
properties for body_colour, fg for header_colour, darken for
frame_colour, bg for content_colour.
* em-format-html.c (efh_init), (efh_format_exec), (efh_init),
(efh_text_plain), (efh_text_enriched), (efh_text_html),
(efh_message_deliverystatus): Use header_colour for text color of
the message header, body_colour for background color of the
message header, text_colour for text color of the message content,
base_colour for background color of the message content.
svn path=/trunk/; revision=35429
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-03 Milan Crha <mcrha@redhat.com>
** Fix for bug #350308
* em-format-html-display.c: (efhd_gtkhtml_realise): Make colors only
darker, not lighter. Use black in case someone has too dark theme.
svn path=/trunk/; revision=35316
2008-01-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #488213
* e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale):
* e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale):
New global function for pixbuf scaling which speeds up scaling when
HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H.
* addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field):
* mail/em-icon-stream.c: (emis_fit):
* mail/em-format-html-display.c: (efhd_attachment_button):
* e-util/e-icon-factory.c: (load_icon):
* widgets/misc/e-spinner.c: (scale_to_size):
* widgets/misc/e-image-chooser.c: (set_image_from_data):
* widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update):
Use global function e_icon_factory_pixbuf_scale for scaling pixbufs.
svn path=/trunk/; revision=34800
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-02 Milan Crha <mcrha@redhat.com>
** Fix for bug #317823
* em-format-html-display.c: (efhd_get_uri_puri):
New helper function to dig up uri or puri from the GtkHtml.
If the object is an image, then pass it as puri or uri, depends
on the source of the image.
* em-format-html-display.c: (efhd_html_button_press_event),
(em_format_html_display_popup_menu): Using new helper function.
Note: New API functions in gtkhtml are required.
svn path=/trunk/; revision=34750
2007-12-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #502318
* em-format-html-display.c: (struct _EMFormatHTMLDisplayPrivate),
(efhd_search_destroy), (em_format_html_get_search_dialog),
(em_format_html_display_search), (em_format_html_display_search_with),
(em_format_html_display_search_close), (efhd_complete):
Track search dialog activity rather based on flag than on widget
existence, because the pointer to that widget it still
there (non-NULL) even after destroy of that widget.
svn path=/trunk/; revision=34689
2007-04-18 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #423766
* mail/em-format-html-display.c (attachments_save_all_clicked):
Call em_utils_save_part() if there's only one attachment to save.
* mail/em-utils.c (em_utils_save_part):
Refactor to use gtk_dialog_run() instead of a "response" callback.
* mail/em-utils.c (em_utils_save_parts):
Refactor to use gtk_dialog_run() instead of a "response" callback.
Use gtk_file_chooser_get_uri() to fetch the selected folder.
svn path=/trunk/; revision=33429
2006-09-30 Harish Krishnaswamy <kharish@novell.com>
* em-format-html-display.c: (em_format_html_get_search_dialog):
Do not mark empty strings for translation. Fixes#357422.
svn path=/trunk/; revision=32834
2006-07-11 Johnny Jacob <jjohnny@novell.com>
** Patch by Not Zed <NotZed@Ximian.com>
** See bug #262003
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): put
the potentially long descriptions into a textbuffer so it's
scrollable.
svn path=/trunk/; revision=32287
2006-07-07 Andre Klapper <a9016009@gmx.de>
* em-format-html-display.c: Changing one mnemonic to avoid a
mnemonic conflict with an upcoming patch by Jony.
svn path=/trunk/; revision=32254
2006-06-30 Harish Krishnaswamy <kharish@novell.com>
Enhanced search functionality. patch submitted by Johnny Jacob
Reviewed and committed by Harish.
svn path=/trunk/; revision=32207
2006-02-27 Jeffrey Stedfast <fejj@novell.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Make the verify/decrypt gpg diagnostic text selectable in the
security dialog that comes up when you click the button in a
message. Fixes bug #268414.
svn path=/trunk/; revision=31596