diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-23 11:58:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-23 12:01:04 +0800 |
commit | 535f3ef13637c2edc0462d9c38bcb518d1bd8bcb (patch) | |
tree | 4375444844eeca0224a427991caa2b224c88fb6c /widgets/misc | |
parent | 0204a507de2b7d39866ed3ceca35514f45cacdc6 (diff) | |
download | gsoc2013-evolution-535f3ef13637c2edc0462d9c38bcb518d1bd8bcb.tar.gz gsoc2013-evolution-535f3ef13637c2edc0462d9c38bcb518d1bd8bcb.tar.zst gsoc2013-evolution-535f3ef13637c2edc0462d9c38bcb518d1bd8bcb.zip |
Bug 632870 - Cut and paste broken in ESignatureEditor
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | 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 68bd3a323f..d3b50af236 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, |