diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-07 10:07:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-07 10:07:18 +0000 |
commit | 27fef06948b09370f7c168c1e87015ff1c37767c (patch) | |
tree | 429a52253000b4b01e4b7aacad84aa83bb6c5402 /mdkapplet | |
parent | 54d0c3b88ddc0200f1635d8b95163797952fc9c1 (diff) | |
download | mgaonline-27fef06948b09370f7c168c1e87015ff1c37767c.tar mgaonline-27fef06948b09370f7c168c1e87015ff1c37767c.tar.gz mgaonline-27fef06948b09370f7c168c1e87015ff1c37767c.tar.bz2 mgaonline-27fef06948b09370f7c168c1e87015ff1c37767c.tar.xz mgaonline-27fef06948b09370f7c168c1e87015ff1c37767c.zip |
(confirm_upgrade) make "Distro Upgrade" confirmation dialog wider
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -373,6 +373,7 @@ sub restart_applet() { } sub confirm_upgrade() { + my $width = 500; my $w = ugtk2->new(N("A new stable distribution has been released")); my $warn_me = text2bool($local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE}); gtkadd($w->{window}, @@ -382,12 +383,16 @@ sub confirm_upgrade() { qw(/usr/share/mcc/themes/default/rpmdrake-mdk.png /usr/share/icons/large/mdkonline.png)), N("Distribution Upgrade") ), - gtknew('Label_Left', text => N("A new stable distribution has been released.")), + gtknew('Label_Left', text => N("A new stable distribution has been released."), + # workaround infamous 6 years old gnome bug #101968: + width => $width -50), gtknew('HButtonBox', layout => 'start', children_tight => [ my $link = Gtk2::LinkButton->new($new_distro->{url}, N("More info about this new version")), ]), gtknew('Label_Left', text => N("Do you want to upgrade to the '\%s' distribution?", - $new_distro->{name} || $new_distro->{version})), + $new_distro->{name} || $new_distro->{version}), + # workaround infamous 6 years old gnome bug #101968: + width => $width -50), gtknew('CheckButton', text => N("Do not ask me next time"), active_ref => \$warn_me), create_okcancel($w, N("Yes"), N("No")), ]), |