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, 3 insertions, 3 deletions
diff --git a/mgaapplet_gui.pm b/mgaapplet_gui.pm
index 605cf3c8..a0273618 100644
--- a/mgaapplet_gui.pm
+++ b/mgaapplet_gui.pm
@@ -62,7 +62,7 @@ our $localfile = "$localdir/mgaonline";
mkdir_p($localdir) if !-d $localdir;
-e "$ENV{HOME}/.mgaonline" and system("mv", "$ENV{HOME}/.mgaonline", $localfile);
-interactive::gtk::add_padding(Gtk2::Label->new);
+interactive::gtk::add_padding(Gtk3::Label->new);
our %local_config;
read_local_config();
@@ -113,7 +113,7 @@ sub fill_n_run_portable_dialog {
sub new_link_button {
my ($url, $text) = @_;
- my $link = Gtk2::LinkButton->new($url, $text);
+ my $link = Gtk3::LinkButton->new($url, $text);
$link->set_uri_hook(sub {
my (undef, $url) = @_;
run_program::raw({ detach => 1, setuid => get_parent_uid() }, 'www-browser', $url);
@@ -160,7 +160,7 @@ sub run_ask_credentials_dialog {
$password_text = $password_w->get_text;
$email_text = $email_w->get_text;
$ok_clicked = 1;
- Gtk2->main_quit;
+ Gtk3->main_quit;
};
my @widgets = (