[evolution/wip/webkit-composer: 880/966] EEditorSelection: Rename selection markers
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 880/966] EEditorSelection: Rename selection markers
- Date: Wed, 23 Apr 2014 11:07:25 +0000 (UTC)
commit 00818a7b04fe63f1dc03d1831d467784b030db9f
Author: Tomas Popela <tpopela redhat com>
Date: Mon Mar 10 15:22:34 2014 +0100
EEditorSelection: Rename selection markers
e-util/e-editor-selection.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/e-util/e-editor-selection.c b/e-util/e-editor-selection.c
index d97398f..ac22f47 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -1344,7 +1344,7 @@ put_selection_markers_around_element (WebKitDOMDocument *document,
WebKitDOMElement *marker;
marker = webkit_dom_document_create_element (document, "span", NULL);
- webkit_dom_element_set_id (marker, "-x-evolution-selection-start-marker");
+ webkit_dom_element_set_id (marker, "-x-evo-selection-start-marker");
webkit_dom_node_insert_before (
webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (element)),
WEBKIT_DOM_NODE (marker),
@@ -1352,7 +1352,7 @@ put_selection_markers_around_element (WebKitDOMDocument *document,
NULL);
marker = webkit_dom_document_create_element (document, "span", NULL);
- webkit_dom_element_set_id (marker, "-x-evolution-selection-end-marker");
+ webkit_dom_element_set_id (marker, "-x-evo-selection-end-marker");
webkit_dom_node_insert_before (
webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (element)),
WEBKIT_DOM_NODE (marker),
@@ -4539,7 +4539,7 @@ e_editor_selection_save (EEditorSelection *selection)
/* First remove all markers (if present) */
marker = webkit_dom_document_get_element_by_id (
- document, "-x-evolution-selection-start-marker");
+ document, "-x-evo-selection-start-marker");
if (marker != NULL) {
WebKitDOMNode *marker_node;
WebKitDOMNode *parent_node;
@@ -4550,7 +4550,7 @@ e_editor_selection_save (EEditorSelection *selection)
}
marker = webkit_dom_document_get_element_by_id (
- document, "-x-evolution-selection-end-marker");
+ document, "-x-evo-selection-end-marker");
if (marker != NULL) {
WebKitDOMNode *marker_node;
WebKitDOMNode *parent_node;
@@ -4573,7 +4573,7 @@ e_editor_selection_save (EEditorSelection *selection)
marker = webkit_dom_document_create_element (
document, "SPAN", NULL);
webkit_dom_element_set_id (
- marker, "-x-evolution-selection-start-marker");
+ marker, "-x-evo-selection-start-marker");
container = webkit_dom_range_get_start_container (range, NULL);
if (WEBKIT_DOM_IS_TEXT (container) && start_offset != 0) {
@@ -4605,7 +4605,7 @@ e_editor_selection_save (EEditorSelection *selection)
marker = webkit_dom_document_create_element (
document, "SPAN", NULL);
webkit_dom_element_set_id (
- marker, "-x-evolution-selection-end-marker");
+ marker, "-x-evo-selection-end-marker");
container = webkit_dom_range_get_end_container (range, NULL);
if (WEBKIT_DOM_IS_TEXT (container) && start_offset != 0) {
@@ -4676,10 +4676,10 @@ e_editor_selection_restore (EEditorSelection *selection)
WebKitDOMNode *parent_node;
marker = webkit_dom_document_get_element_by_id (
- document, "-x-evolution-selection-start-marker");
+ document, "-x-evo-selection-start-marker");
if (!marker) {
marker = webkit_dom_document_get_element_by_id (
- document, "-x-evolution-selection-end-marker");
+ document, "-x-evo-selection-end-marker");
if (marker) {
webkit_dom_node_remove_child (
@@ -4698,10 +4698,10 @@ e_editor_selection_restore (EEditorSelection *selection)
webkit_dom_node_remove_child (parent_node, marker_node, NULL);
marker = webkit_dom_document_get_element_by_id (
- document, "-x-evolution-selection-end-marker");
+ document, "-x-evo-selection-end-marker");
if (!marker) {
marker = webkit_dom_document_get_element_by_id (
- document, "-x-evolution-selection-start-marker");
+ document, "-x-evo-selection-start-marker");
if (marker) {
webkit_dom_node_remove_child (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]