Don't show the window unless the widget is mapped. (#76742, Dennis

Thu Mar 28 18:38:30 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
	Don't show the window unless the widget is mapped.
        (#76742, Dennis Bjrklund, Soeren Sandmann)
This commit is contained in:
Owen Taylor 2002-03-29 00:15:11 +00:00 committed by Owen Taylor
parent fe60d43a26
commit 7dfb78f882
8 changed files with 41 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* 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 <hans@breuer.org> 2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend. Fixed dashed line issues (#74441) to an IMO reasonable extend.

View File

@ -1,3 +1,9 @@
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* 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 <hans@breuer.org> 2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend. Fixed dashed line issues (#74441) to an IMO reasonable extend.

View File

@ -1,3 +1,9 @@
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* 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 <hans@breuer.org> 2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend. Fixed dashed line issues (#74441) to an IMO reasonable extend.

View File

@ -1,3 +1,9 @@
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* 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 <hans@breuer.org> 2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend. Fixed dashed line issues (#74441) to an IMO reasonable extend.

View File

@ -1,3 +1,9 @@
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* 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 <hans@breuer.org> 2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend. Fixed dashed line issues (#74441) to an IMO reasonable extend.

View File

@ -1,3 +1,9 @@
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* 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 <hans@breuer.org> 2002-03-29 Hans Breuer <hans@breuer.org>
Fixed dashed line issues (#74441) to an IMO reasonable extend. Fixed dashed line issues (#74441) to an IMO reasonable extend.

View File

@ -172,7 +172,8 @@ gtk_hpaned_size_allocate (GtkWidget *widget,
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, gdk_window_move_resize (paned->handle,
paned->handle_pos.x, paned->handle_pos.x,
paned->handle_pos.y, paned->handle_pos.y,

View File

@ -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.width = MAX (1, (gint) widget->allocation.width - 2 * border_width);
paned->handle_pos.height = handle_size; 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, gdk_window_move_resize (paned->handle,
paned->handle_pos.x, paned->handle_pos.x,
paned->handle_pos.y, paned->handle_pos.y,