diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-30 06:29:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-30 06:29:54 +0000 |
commit | 7a835a88515478aaa9fbce4184cd24d1d8a7be3d (patch) | |
tree | 069fb4b1f17c14aa426eaeb145273c209cf5e2d1 | |
parent | 56e07e315562a6cdc391f0b460e629b9e1a45506 (diff) | |
download | drakx-7a835a88515478aaa9fbce4184cd24d1d8a7be3d.tar drakx-7a835a88515478aaa9fbce4184cd24d1d8a7be3d.tar.gz drakx-7a835a88515478aaa9fbce4184cd24d1d8a7be3d.tar.bz2 drakx-7a835a88515478aaa9fbce4184cd24d1d8a7be3d.tar.xz drakx-7a835a88515478aaa9fbce4184cd24d1d8a7be3d.zip |
fix layout so that NTP frame is not badly cut on small resolution (#10971)
-rwxr-xr-x | perl-install/standalone/drakclock | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 45a7e798f..a2cba1686 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -66,16 +66,12 @@ my $mode = 0; my (undef, undef, $h_old, $old_day, $old_month, $old_year) = localtime(time()); -my @image_size = (300, 300); +my @image_size = (200, 200); $my_win->{window}->add(gtkpack_(gtkset_border_width(Gtk2::VBox->new, $::isEmbedded ? 0 : 5), 1, gtkpack_(Gtk2::HBox->new, 1, gtkpack_(Gtk2::VBox->new, 0, $calendar, - 0, gtkadd(gtkset_shadow_type(Gtk2::Frame->new(N("Timezone")), 'etched_in'), - gtkpack__(gtkset_border_width(Gtk2::VBox->new, 5), - $label_timezone, - $button_time)), 1, gtkadd(gtkset_shadow_type(Gtk2::Frame->new(N("Network Time Protocol")), 'etched_in'), gtkpack_(gtkset_border_width(Gtk2::VBox->new, 5), 0, Gtk2::Label->new(N("Your computer can synchronize its clock\n with a remote time server using NTP")), @@ -101,6 +97,10 @@ $my_win->{window}->add(gtkpack_(gtkset_border_width(Gtk2::VBox->new, $::isEmbedd 0, my $spinner_m = Gtk2::SpinButton->new($adjm, 0, 0), 0, my $spinner_s = Gtk2::SpinButton->new($adjs, 0, 0), ), + 1, gtkadd(gtkset_shadow_type(Gtk2::Frame->new(N("Timezone")), 'etched_in'), + gtkpack__(gtkset_border_width(Gtk2::VBox->new, 5), + $label_timezone, + $button_time)), ), ), 0, create_okcancel(my $w = |