summaryrefslogtreecommitdiffstats
path: root/mgaapplet_gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-12 19:27:36 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-12 19:27:36 +0000
commit07b59c7e75275967ad854a41b1d90ac143213ed2 (patch)
tree3cd14fd2f7f4614f10f7bcdaaed338b9795cae2f /mgaapplet_gui.pm
parenta41a9501a185cc06981e69f6b5530e4748649490 (diff)
downloadmgaonline-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.pm6
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();