[evolution/wip/webkit-composer] Bug 726655 - [webkit-composer] Composer not always marked as dirty
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer] Bug 726655 - [webkit-composer] Composer not always marked as dirty
- Date: Wed, 19 Mar 2014 14:14:30 +0000 (UTC)
commit 7dfe3f47c7e5a292cf87dfb9d70c8c1d82d7fa96
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 19 15:14:07 2014 +0100
Bug 726655 - [webkit-composer] Composer not always marked as dirty
e-util/e-editor-hrule-dialog.c | 1 +
e-util/e-editor-table-dialog.c | 2 ++
e-util/e-editor-widget.c | 2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-hrule-dialog.c b/e-util/e-editor-hrule-dialog.c
index b20e194..503934f 100644
--- a/e-util/e-editor-hrule-dialog.c
+++ b/e-util/e-editor-hrule-dialog.c
@@ -278,6 +278,7 @@ editor_hrule_dialog_show (GtkWidget *widget)
editor_hrule_dialog_set_alignment (dialog);
editor_hrule_dialog_set_shading (dialog);
+ e_editor_widget_set_changed (editor_widget, TRUE);
} else {
dialog->priv->hr_element = WEBKIT_DOM_HTMLHR_ELEMENT (rule);
diff --git a/e-util/e-editor-table-dialog.c b/e-util/e-editor-table-dialog.c
index d710f3a..7b3096b 100644
--- a/e-util/e-editor-table-dialog.c
+++ b/e-util/e-editor-table-dialog.c
@@ -122,6 +122,8 @@ editor_table_dialog_create_table (EEditorTableDialog *dialog)
e_editor_selection_clear_caret_position_marker (editor_selection);
+ e_editor_widget_set_changed (editor_widget, TRUE);
+
return table;
}
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 44e92b8..aa438c9 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -1119,6 +1119,8 @@ emoticon_read_async_cb (GFile *file,
e_editor_selection_restore_caret_position (
e_editor_widget_get_selection (widget));
+ e_editor_widget_set_changed (widget, TRUE);
+
g_free (html);
g_free (node_text);
g_free (base64_encoded);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]