mirror of https://github.com/GNOME/gimp.git
fixed #10554 by requesting a window with the max. size of
2000-11-11 Simon Budig <simon@gimp.org> * app/interface.c: fixed #10554 by requesting a window with the max. size of 0.75*screen_width x 0.75*screen_height. These 75% value is taken from the shrink_wrap code and probably should be configurable...
This commit is contained in:
parent
496f8271ea
commit
cc2f917cc5
|
@ -1,3 +1,10 @@
|
||||||
|
2000-11-11 Simon Budig <simon@gimp.org>
|
||||||
|
|
||||||
|
* app/interface.c: fixed #10554 by requesting a window
|
||||||
|
with the max. size of 0.75*screen_width x 0.75*screen_height.
|
||||||
|
These 75% value is taken from the shrink_wrap code and
|
||||||
|
probably should be configurable...
|
||||||
|
|
||||||
2000-11-11 Tor Lillqvist <tml@iki.fi>
|
2000-11-11 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* plug-ins/common/gpb.c: Implement the noninteractive run mode for
|
* plug-ins/common/gpb.c: Implement the noninteractive run mode for
|
||||||
|
|
|
@ -698,8 +698,10 @@ create_display_shell (GDisplay *gdisp,
|
||||||
gint contextid;
|
gint contextid;
|
||||||
|
|
||||||
/* adjust the initial scale -- so that window fits on screen */
|
/* adjust the initial scale -- so that window fits on screen */
|
||||||
s_width = gdk_screen_width ();
|
/* the 75% value is the same as in gdisplay_shrink_wrap. It */
|
||||||
s_height = gdk_screen_height ();
|
/* probably should be a user-configurable option. */
|
||||||
|
s_width = gdk_screen_width () * 0.75;
|
||||||
|
s_height = gdk_screen_height () * 0.75;
|
||||||
|
|
||||||
scalesrc = SCALESRC (gdisp);
|
scalesrc = SCALESRC (gdisp);
|
||||||
scaledest = SCALEDEST (gdisp);
|
scaledest = SCALEDEST (gdisp);
|
||||||
|
|
|
@ -698,8 +698,10 @@ create_display_shell (GDisplay *gdisp,
|
||||||
gint contextid;
|
gint contextid;
|
||||||
|
|
||||||
/* adjust the initial scale -- so that window fits on screen */
|
/* adjust the initial scale -- so that window fits on screen */
|
||||||
s_width = gdk_screen_width ();
|
/* the 75% value is the same as in gdisplay_shrink_wrap. It */
|
||||||
s_height = gdk_screen_height ();
|
/* probably should be a user-configurable option. */
|
||||||
|
s_width = gdk_screen_width () * 0.75;
|
||||||
|
s_height = gdk_screen_height () * 0.75;
|
||||||
|
|
||||||
scalesrc = SCALESRC (gdisp);
|
scalesrc = SCALESRC (gdisp);
|
||||||
scaledest = SCALEDEST (gdisp);
|
scaledest = SCALEDEST (gdisp);
|
||||||
|
|
|
@ -698,8 +698,10 @@ create_display_shell (GDisplay *gdisp,
|
||||||
gint contextid;
|
gint contextid;
|
||||||
|
|
||||||
/* adjust the initial scale -- so that window fits on screen */
|
/* adjust the initial scale -- so that window fits on screen */
|
||||||
s_width = gdk_screen_width ();
|
/* the 75% value is the same as in gdisplay_shrink_wrap. It */
|
||||||
s_height = gdk_screen_height ();
|
/* probably should be a user-configurable option. */
|
||||||
|
s_width = gdk_screen_width () * 0.75;
|
||||||
|
s_height = gdk_screen_height () * 0.75;
|
||||||
|
|
||||||
scalesrc = SCALESRC (gdisp);
|
scalesrc = SCALESRC (gdisp);
|
||||||
scaledest = SCALEDEST (gdisp);
|
scaledest = SCALEDEST (gdisp);
|
||||||
|
|
Loading…
Reference in New Issue