Re: [PATCH] use 800x600 as minimal mainWindow size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm just wondering, what does the set_size_request() call actually do, if there's a maximize() right after it?

----- Original Message -----
> ---
>  gui.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/gui.py b/gui.py
> index 7790aa0..409882b 100755
> --- a/gui.py
> +++ b/gui.py
> @@ -1579,7 +1579,7 @@ class InstallControlWindow:
>                      height = int(fields[pos + 3].replace(',', ''))
>  
>              if width and height:
> -                self.window.set_size_request(width, height)
> +                self.window.set_size_request(min(width, 800),
> min(height, 600))
>  
>              self.window.maximize()
>  
> --
> 1.7.4.4
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
> 

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux