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:27 +0800 |
commit | b25ca9f4e64d619f5a72bfc54ad935eb00ac955e (patch) | |
tree | 1275f5bfe28003110ea36cdef0eced1f2a796234 /widgets/misc | |
parent | a45b815306668cb267b4a08a057b745746159a2d (diff) | |
download | gsoc2013-evolution-b25ca9f4e64d619f5a72bfc54ad935eb00ac955e.tar.gz gsoc2013-evolution-b25ca9f4e64d619f5a72bfc54ad935eb00ac955e.tar.zst gsoc2013-evolution-b25ca9f4e64d619f5a72bfc54ad935eb00ac955e.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 28c5819865..cffc578d46 100644 --- a/widgets/misc/e-signature-editor.c +++ b/widgets/misc/e-signature-editor.c @@ -322,9 +322,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)); @@ -334,6 +359,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, |