[evolution/wip/webkit2] Remove the FIXMEs by calling e_editor_dom_fix_file_uri_images



commit dda7fcb4587558ff73d098745f7b7cf2afb84aa9
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Jul 8 10:39:29 2016 +0200

    Remove the FIXMEs by calling e_editor_dom_fix_file_uri_images

 .../web-extension/e-composer-dom-functions.c       |    3 +--
 .../web-extension/e-editor-dom-functions.c         |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/modules/webkit-editor/web-extension/e-composer-dom-functions.c 
b/modules/webkit-editor/web-extension/e-composer-dom-functions.c
index 6751596..911da61 100644
--- a/modules/webkit-editor/web-extension/e-composer-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-composer-dom-functions.c
@@ -587,9 +587,8 @@ insert:
                        NULL);
        }
 
-/* FIXME WK2 - e_editor_dom_fix_file_uri_images
        if (is_html && html_mode) {
-               e_html_editor_view_fix_file_uri_images (view);*/
+               e_editor_dom_fix_file_uri_images (editor_page);
 
        move_caret_after_signature_inserted (editor_page);
 
diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c 
b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index 70b9cfa..0de1149 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -8850,8 +8850,7 @@ e_editor_dom_insert_html (EEditorPage *editor_page,
                }
 
                e_editor_dom_exec_command (editor_page, E_CONTENT_EDITOR_COMMAND_INSERT_HTML, html_text);
-               /* FIXME WK2 - e_editor_dom_fix_file_uri_images
-               e_html_editor_view_fix_file_uri_images (view);*/
+               e_editor_dom_fix_file_uri_images (editor_page);
                if (strstr (html_text, "id=\"-x-evo-selection-start-marker\""))
                        e_editor_dom_selection_restore (editor_page);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]