aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2005-04-08 21:56:28 +0800
committerRadek Doulik <rodo@src.gnome.org>2005-04-08 21:56:28 +0800
commit4e0c35255b6d1787f571a4f525f020fe6d7c7a3e (patch)
tree00140844b5ba7e50b4a11c4535e9e8843f7fb3a1 /composer
parentd26b22c4da21f94749a3a40dd365fa131b9361e8 (diff)
downloadgsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.tar
gsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.tar.gz
gsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.tar.bz2
gsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.tar.lz
gsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.tar.xz
gsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.tar.zst
gsoc2013-evolution-4e0c35255b6d1787f571a4f525f020fe6d7c7a3e.zip
block gtkhtml's selection so that we don't set primary X selection
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 svn path=/trunk/; revision=29192
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer.c2
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);
}