diff options
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index d66cfb91..a511a4e4 100755 --- a/control-center +++ b/control-center @@ -290,7 +290,7 @@ my @tree = my ($timeout, %check_boxes, $emb_socket, $page_id); my $window_global = gtkset_size_request(Gtk2::Window->new('toplevel'), $default_width, $default_heigth); -$window_global->resize($h{WIDTH}, $h{HEIGTH}); +$window_global->resize(max($default_width, $h{WIDTH}), max($h{HEIGTH}, $default_heigth)); $window_global->set_icon(gtkcreate_pixbuf("/usr/share/icons/drakconf.png")); my $pending_app = 0; |