mirror of https://github.com/GNOME/gimp.git
set the "visible" flags before mapping the widgets.
1999-07-09 Michael Natterer <mitschel@cs.tu-berlin.de> * app/commands.c (view_toggle_rulers_cmd_callback): set the "visible" flags before mapping the widgets.
This commit is contained in:
parent
bd989d656d
commit
810a3db516
|
@ -1,3 +1,8 @@
|
|||
1999-07-09 Michael Natterer <mitschel@cs.tu-berlin.de>
|
||||
|
||||
* app/commands.c (view_toggle_rulers_cmd_callback): set the
|
||||
"visible" flags before mapping the widgets.
|
||||
|
||||
1999-07-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||
|
||||
* tools/pdbgen/app.pl (generate): Fix typo.
|
||||
|
|
|
@ -583,14 +583,14 @@ view_toggle_rulers_cmd_callback (GtkWidget *widget,
|
|||
{
|
||||
if (!GTK_WIDGET_VISIBLE (gdisp->origin))
|
||||
{
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->origin, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->hrule, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->vrule, GTK_VISIBLE);
|
||||
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (gdisp->origin->parent));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -583,14 +583,14 @@ view_toggle_rulers_cmd_callback (GtkWidget *widget,
|
|||
{
|
||||
if (!GTK_WIDGET_VISIBLE (gdisp->origin))
|
||||
{
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->origin, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->hrule, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->vrule, GTK_VISIBLE);
|
||||
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (gdisp->origin->parent));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -583,14 +583,14 @@ view_toggle_rulers_cmd_callback (GtkWidget *widget,
|
|||
{
|
||||
if (!GTK_WIDGET_VISIBLE (gdisp->origin))
|
||||
{
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->origin, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->hrule, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->vrule, GTK_VISIBLE);
|
||||
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (gdisp->origin->parent));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -583,14 +583,14 @@ view_toggle_rulers_cmd_callback (GtkWidget *widget,
|
|||
{
|
||||
if (!GTK_WIDGET_VISIBLE (gdisp->origin))
|
||||
{
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->origin, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->hrule, GTK_VISIBLE);
|
||||
GTK_WIDGET_SET_FLAGS (gdisp->vrule, GTK_VISIBLE);
|
||||
|
||||
gtk_widget_map (gdisp->origin);
|
||||
gtk_widget_map (gdisp->hrule);
|
||||
gtk_widget_map (gdisp->vrule);
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (gdisp->origin->parent));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue