]> Pileus Git - ~andy/gtk/commitdiff
Queue the redisplay after modifying the tag in the btree, otherwise we end
authorMatthias Clasen <mclasen@redhat.com>
Thu, 26 May 2005 19:49:51 +0000 (19:49 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 26 May 2005 19:49:51 +0000 (19:49 +0000)
2005-05-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the
redisplay after modifying the tag in the btree, otherwise
we end up showing the old tags until the next redraw comes
around.   (#143537, Gary Kramlich)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtktextbtree.c

index 1018ae55135beff86fe62416d96ea9ef7b9732d0..555002e4d24b55b83bcd179037889c36443b70fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-05-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the 
+       redisplay after modifying the tag in the btree, otherwise 
+       we end up showing the old tags until the next redraw comes 
+       around.   (#143537, Gary Kramlich)
+
        * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make 
        autoscrolling work at the bottom of the screen.
 
index 1018ae55135beff86fe62416d96ea9ef7b9732d0..555002e4d24b55b83bcd179037889c36443b70fe 100644 (file)
@@ -1,5 +1,10 @@
 2005-05-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the 
+       redisplay after modifying the tag in the btree, otherwise 
+       we end up showing the old tags until the next redraw comes 
+       around.   (#143537, Gary Kramlich)
+
        * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make 
        autoscrolling work at the bottom of the screen.
 
index 1018ae55135beff86fe62416d96ea9ef7b9732d0..555002e4d24b55b83bcd179037889c36443b70fe 100644 (file)
@@ -1,5 +1,10 @@
 2005-05-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the 
+       redisplay after modifying the tag in the btree, otherwise 
+       we end up showing the old tags until the next redraw comes 
+       around.   (#143537, Gary Kramlich)
+
        * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make 
        autoscrolling work at the bottom of the screen.
 
index ac5a9fc9043f4f4b7e0cd6ec3824b36b6ce73c40..050399e5f30cc3314ee247d72fa2d775f11216ec 100644 (file)
@@ -1975,6 +1975,8 @@ _gtk_text_btree_tag (const GtkTextIter *start_orig,
 
   segments_changed (tree);
 
+  queue_tag_redisplay (tree, tag, &start, &end);
+
   if (gtk_debug_flags & GTK_DEBUG_TEXT)
     _gtk_text_btree_check (tree);
 }