From cc913d611044221a84f8d2383438ad7b646c9fda Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 26 May 2005 19:49:51 +0000 Subject: [PATCH] Queue the redisplay after modifying the tag in the btree, otherwise we end 2005-05-26 Matthias Clasen * 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 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktextbtree.c | 2 ++ 4 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1018ae551..555002e4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-05-26 Matthias Clasen + * 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. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1018ae551..555002e4d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,10 @@ 2005-05-26 Matthias Clasen + * 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. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1018ae551..555002e4d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,10 @@ 2005-05-26 Matthias Clasen + * 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. diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index ac5a9fc90..050399e5f 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -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); } -- 2.43.2