Queue the redisplay after modifying the tag in the btree, otherwise we end
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)
This commit is contained in:
committed by
Matthias Clasen
parent
b27c1cc6ee
commit
795d91c810
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -1766,8 +1766,6 @@ _gtk_text_btree_tag (const GtkTextIter *start_orig,
|
||||
|
||||
tree = _gtk_text_iter_get_btree (&start);
|
||||
|
||||
queue_tag_redisplay (tree, tag, &start, &end);
|
||||
|
||||
info = gtk_text_btree_get_tag_info (tree, tag);
|
||||
|
||||
start_line = _gtk_text_iter_get_text_line (&start);
|
||||
@@ -1975,6 +1973,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user