[evolution] Bug 632870 - Cut and paste broken in ESignatureEditor
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 632870 - Cut and paste broken in ESignatureEditor
- Date: Sat, 23 Oct 2010 04:01:16 +0000 (UTC)
commit 535f3ef13637c2edc0462d9c38bcb518d1bd8bcb
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Oct 22 23:58:41 2010 -0400
Bug 632870 - Cut and paste broken in ESignatureEditor
widgets/misc/e-signature-editor.c | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index 68bd3a3..d3b50af 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -323,9 +323,34 @@ signature_editor_finalize (GObject *object)
}
static void
+signature_editor_cut_clipboard (GtkhtmlEditor *editor)
+{
+ /* Do nothing. EFocusTracker handles this. */
+}
+
+static void
+signature_editor_copy_clipboard (GtkhtmlEditor *editor)
+{
+ /* Do nothing. EFocusTracker handles this. */
+}
+
+static void
+signature_editor_paste_clipboard (GtkhtmlEditor *editor)
+{
+ /* Do nothing. EFocusTracker handles this. */
+}
+
+static void
+signature_editor_select_all (GtkhtmlEditor *editor)
+{
+ /* Do nothing. EFocusTracker handles this. */
+}
+
+static void
e_signature_editor_class_init (ESignatureEditorClass *class)
{
GObjectClass *object_class;
+ GtkhtmlEditorClass *editor_class;
g_type_class_add_private (class, sizeof (ESignatureEditorPrivate));
@@ -335,6 +360,12 @@ e_signature_editor_class_init (ESignatureEditorClass *class)
object_class->dispose = signature_editor_dispose;
object_class->finalize = signature_editor_finalize;
+ editor_class = GTKHTML_EDITOR_CLASS (class);
+ editor_class->cut_clipboard = signature_editor_cut_clipboard;
+ editor_class->copy_clipboard = signature_editor_copy_clipboard;
+ editor_class->paste_clipboard = signature_editor_paste_clipboard;
+ editor_class->select_all = signature_editor_select_all;
+
g_object_class_install_property (
object_class,
PROP_FOCUS_TRACKER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]