diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-12 19:27:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-12 19:27:36 +0000 |
commit | 07b59c7e75275967ad854a41b1d90ac143213ed2 (patch) | |
tree | 3cd14fd2f7f4614f10f7bcdaaed338b9795cae2f /mgaapplet_gui.pm | |
parent | a41a9501a185cc06981e69f6b5530e4748649490 (diff) | |
download | mgaonline-07b59c7e75275967ad854a41b1d90ac143213ed2.tar mgaonline-07b59c7e75275967ad854a41b1d90ac143213ed2.tar.gz mgaonline-07b59c7e75275967ad854a41b1d90ac143213ed2.tar.bz2 mgaonline-07b59c7e75275967ad854a41b1d90ac143213ed2.tar.xz mgaonline-07b59c7e75275967ad854a41b1d90ac143213ed2.zip |
drop support for mdv2007.x/2008.x/2009.x
(simplify code and increase perl_checker's SNR)
Diffstat (limited to 'mgaapplet_gui.pm')
-rw-r--r-- | mgaapplet_gui.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mgaapplet_gui.pm b/mgaapplet_gui.pm index 802a70ed..8ac332ea 100644 --- a/mgaapplet_gui.pm +++ b/mgaapplet_gui.pm @@ -64,11 +64,7 @@ our $localfile = "$localdir/mgaonline"; mkdir_p($localdir) if !-d $localdir; -e "$ENV{HOME}/.mgaonline" and system("mv", "$ENV{HOME}/.mgaonline", $localfile); -# make it work on 2008.X: -eval { interactive::gtk::add_padding(Gtk2::Label->new) }; -if ($@) { - *interactive::gtk::add_padding = sub { $_[0] }; -} +interactive::gtk::add_padding(Gtk2::Label->new); our %local_config; read_local_config(); |