summaryrefslogtreecommitdiffstats
path: root/mgaapplet_gui.pm
diff options
context:
space:
mode:
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();