diff options
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")), ]), |