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
This commit is contained in:
Sven Neumann 1998-07-11 22:47:15 +00:00
parent 329e2072d8
commit 28f61dfd5a
3 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);
}

View File

@ -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);
}