mirror of https://github.com/GNOME/gimp.git
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:
parent
329e2072d8
commit
28f61dfd5a
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue