forked from AuroraMiddleware/gtk
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:
parent
fe60d43a26
commit
7dfb78f882
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user