Commit 28f61dfd authored by Sven Neumann's avatar Sven Neumann
Browse files

Disabled setting the size of the dialogs since

lewing pointed out that you can't make them smaller any more :-(
Bah, the whole geometry stuff needs to be reworked in gtk+ !!


--Sven
parent 329e2072
Sun Jul 12 00:44:57 MEST 1998 Sven Neumann <sven@gimp.org>
* app/session.c: disabled setting the size of the dialogs since
lewing pointed out that you can't make them smaller any more :-(
Sun Jul 12 00:13:02 MEST 1998 Sven Neumann <sven@gimp.org>
* gimprc.in
......
......@@ -108,6 +108,12 @@ session_set_window_geometry (GtkWidget *window,
gtk_widget_set_uposition (window, info->x, info->y);
/* It seems that usizing the dialogs is a bad thing, because you can't
make them smaller then. Until a better solution is found, we don't set
the size ...
*/
set_size = FALSE;
if ( (set_size) && (info->width > 0) && (info->height > 0) )
gtk_widget_set_usize (window, info->width, info->height);
}
......
......@@ -108,6 +108,12 @@ session_set_window_geometry (GtkWidget *window,
gtk_widget_set_uposition (window, info->x, info->y);
/* It seems that usizing the dialogs is a bad thing, because you can't
make them smaller then. Until a better solution is found, we don't set
the size ...
*/
set_size = FALSE;
if ( (set_size) && (info->width > 0) && (info->height > 0) )
gtk_widget_set_usize (window, info->width, info->height);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment