diff --git a/ChangeLog b/ChangeLog index 8d0fcaffac..66bc216965 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Mar 28 18:38:30 2002 Owen Taylor + + * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): + Don't show the window unless the widget is mapped. + (#76742, Dennis Björklund, Soeren Sandmann) + 2002-03-29 Hans Breuer Fixed dashed line issues (#74441) to an IMO reasonable extend. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8d0fcaffac..66bc216965 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Mar 28 18:38:30 2002 Owen Taylor + + * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): + Don't show the window unless the widget is mapped. + (#76742, Dennis Björklund, Soeren Sandmann) + 2002-03-29 Hans Breuer Fixed dashed line issues (#74441) to an IMO reasonable extend. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 8d0fcaffac..66bc216965 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Thu Mar 28 18:38:30 2002 Owen Taylor + + * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): + Don't show the window unless the widget is mapped. + (#76742, Dennis Björklund, Soeren Sandmann) + 2002-03-29 Hans Breuer Fixed dashed line issues (#74441) to an IMO reasonable extend. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8d0fcaffac..66bc216965 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Mar 28 18:38:30 2002 Owen Taylor + + * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): + Don't show the window unless the widget is mapped. + (#76742, Dennis Björklund, Soeren Sandmann) + 2002-03-29 Hans Breuer Fixed dashed line issues (#74441) to an IMO reasonable extend. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8d0fcaffac..66bc216965 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Mar 28 18:38:30 2002 Owen Taylor + + * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): + Don't show the window unless the widget is mapped. + (#76742, Dennis Björklund, Soeren Sandmann) + 2002-03-29 Hans Breuer Fixed dashed line issues (#74441) to an IMO reasonable extend. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8d0fcaffac..66bc216965 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Mar 28 18:38:30 2002 Owen Taylor + + * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): + Don't show the window unless the widget is mapped. + (#76742, Dennis Björklund, Soeren Sandmann) + 2002-03-29 Hans Breuer Fixed dashed line issues (#74441) to an IMO reasonable extend. diff --git a/gtk/gtkhpaned.c b/gtk/gtkhpaned.c index b0e6481a66..4d35345a5b 100644 --- a/gtk/gtkhpaned.c +++ b/gtk/gtkhpaned.c @@ -172,7 +172,8 @@ gtk_hpaned_size_allocate (GtkWidget *widget, if (GTK_WIDGET_REALIZED (widget)) { - gdk_window_show (paned->handle); + if (GTK_WIDGET_MAPPED (widget)) + gdk_window_show (paned->handle); gdk_window_move_resize (paned->handle, paned->handle_pos.x, paned->handle_pos.y, diff --git a/gtk/gtkvpaned.c b/gtk/gtkvpaned.c index 39316f8668..47d12ddc2f 100644 --- a/gtk/gtkvpaned.c +++ b/gtk/gtkvpaned.c @@ -170,9 +170,10 @@ gtk_vpaned_size_allocate (GtkWidget *widget, paned->handle_pos.width = MAX (1, (gint) widget->allocation.width - 2 * border_width); paned->handle_pos.height = handle_size; - if (GTK_WIDGET_REALIZED(widget)) + if (GTK_WIDGET_REALIZED (widget)) { - gdk_window_show (paned->handle); + if (GTK_WIDGET_MAPPED (widget)) + gdk_window_show (paned->handle); gdk_window_move_resize (paned->handle, paned->handle_pos.x, paned->handle_pos.y,