Merge from trunk:

2007-12-4  Cody Russell  <bratsche@gnome.org>

        Merge from trunk:

        * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
        On Windows, queue a redraw of child2 whenever we set
        the pane handle position.  This is unfortunately kind
        of hacky, but solves the visual artifacts that were
        occuring on at least certain types of child widgets
        (e.g., text views and tree views) that are inside
        horizontal or vertical panes. (#144269)


svn path=/branches/gtk-2-10/; revision=19104
This commit is contained in:
Cody Russell
2007-12-04 18:18:05 +00:00
committed by Cody Russell
parent 6f2195f951
commit 05a446c33f
2 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,15 @@
2007-12-4 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
On Windows, queue a redraw of child2 whenever we set
the pane handle position. This is unfortunately kind
of hacky, but solves the visual artifacts that were
occuring on at least certain types of child widgets
(e.g., text views and tree views) that are inside
horizontal or vertical panes. (#144269)
2007-10-05 Murray Cumming <murrayc@murrayc.com>
* gtk/gtkprintoperation.c: (print_pages_idle):

View File

@@ -1153,6 +1153,11 @@ gtk_paned_set_position (GtkPaned *paned,
g_object_thaw_notify (object);
gtk_widget_queue_resize (GTK_WIDGET (paned));
#ifdef G_OS_WIN32
/* Hacky work-around for bug #144269 */
gtk_widget_queue_resize (paned->child2);
#endif
}
/**