diff options
-rw-r--r-- | composer/ChangeLog | 7 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 45eff247c2..e75e362317 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2005-04-06 Radek Doulik <rodo@novell.com> + + * e-msg-composer.c (delete_old_signature): block gtkhtml's + selection so that we don't set primary X selection + + Fixes #36972 + 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: implement read-receipt functionality. diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 818f4c5f2b..dc516800ff 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4830,6 +4830,7 @@ delete_old_signature (EMsgComposer *composer) /* printf ("delete_old_signature\n"); */ CORBA_exception_init (&ev); + GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "block-selection", &ev); GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "cursor-bod", &ev); if (GNOME_GtkHTML_Editor_Engine_searchByData (composer->editor_engine, 1, "ClueFlow", "signature", "1", &ev)) { /* printf ("found\n"); */ @@ -4841,6 +4842,7 @@ delete_old_signature (EMsgComposer *composer) GNOME_GtkHTML_Editor_Engine_setParagraphData (composer->editor_engine, "signature", "0", &ev); GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "delete-back", &ev); } + GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "unblock-selection", &ev); CORBA_exception_free (&ev); } |