[evolution/wip/webkit2] Fix the history for Cut action
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Fix the history for Cut action
- Date: Mon, 25 Jul 2016 13:18:50 +0000 (UTC)
commit c6c84687559f0591323e348b2282454d1f95fe34
Author: Tomas Popela <tpopela redhat com>
Date: Mon Jul 25 13:35:34 2016 +0200
Fix the history for Cut action
.../web-extension/e-editor-web-extension.c | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
---
diff --git a/modules/webkit-editor/web-extension/e-editor-web-extension.c
b/modules/webkit-editor/web-extension/e-editor-web-extension.c
index 653cf41..13eac80 100644
--- a/modules/webkit-editor/web-extension/e-editor-web-extension.c
+++ b/modules/webkit-editor/web-extension/e-editor-web-extension.c
@@ -384,7 +384,7 @@ static const gchar *introspection_xml =
" <method name='EEditorDialogInsertRowBelow'>"
" <arg type='t' name='page_id' direction='in'/>"
" </method>"
-" <method name='EEditorDialogSaveHistoryForCut'>"
+" <method name='EEditorActionsSaveHistoryForCut'>"
" <arg type='t' name='page_id' direction='in'/>"
" </method>"
"<!-- ********************************************************* -->"
@@ -1507,17 +1507,7 @@ handle_method_call (GDBusConnection *connection,
e_editor_dom_selection_unlink (editor_page);
g_dbus_method_invocation_return_value (invocation, NULL);
- } else if (g_strcmp0 (method_name, "EEditorDialogSaveHistoryForCut") == 0) {
- g_variant_get (parameters, "(t)", &page_id);
-
- editor_page = get_editor_page_or_return_dbus_error (invocation, extension, page_id);
- if (!editor_page)
- goto error;
-
- e_editor_dom_selection_unlink (editor_page);
-
- g_dbus_method_invocation_return_value (invocation, NULL);
- } else if (g_strcmp0 (method_name, "EEditorDialogSaveHistoryForCut") == 0) {
+ } else if (g_strcmp0 (method_name, "EEditorActionsSaveHistoryForCut") == 0) {
g_variant_get (parameters, "(t)", &page_id);
editor_page = get_editor_page_or_return_dbus_error (invocation, extension, page_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]