diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 11:20:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 11:20:47 +0000 |
commit | 005efd7a143ff2c2c372d12ed0bf770f67c659d8 (patch) | |
tree | e1c9c0ff27d47b943ef5c82815d329ecc2ab0fce | |
parent | c0e2e79778271f9e20224502fb2a3049b7588dd7 (diff) | |
download | mgaonline-005efd7a143ff2c2c372d12ed0bf770f67c659d8.tar mgaonline-005efd7a143ff2c2c372d12ed0bf770f67c659d8.tar.gz mgaonline-005efd7a143ff2c2c372d12ed0bf770f67c659d8.tar.bz2 mgaonline-005efd7a143ff2c2c372d12ed0bf770f67c659d8.tar.xz mgaonline-005efd7a143ff2c2c372d12ed0bf770f67c659d8.zip |
(confirm_upgrade) display a banner in "Distro Upgrade" confirmation dialog
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- mdkapplet + o display a banner in "Distro Upgrade" confirmation dialog + Version 2.49 - 3 October 2008 - mdkapplet @@ -361,6 +361,11 @@ sub confirm_upgrade() { my $warn_me = text2bool($local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE}); gtkadd($w->{window}, gtknew('VBox', children_tight => [ + Gtk2::Banner->new( + (find { -e $_ } + qw(/usr/share/mcc/themes/default/mdkonline-mdk.png /usr/share/icons/large/mdkonline.png)), + N("Distribution Upgrade") + ), N("A new stable distribution has been released."), N("Do you want to upgrade to the '\%s' distribution?", $new_distro_version), gtknew('CheckButton', text => N("Do not ask me next time"), active_ref => \$warn_me), |