From 85bcd4f2cc6f3834167417ce22eb96fcc6794396 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Feb 2014 22:13:07 +0100 Subject: fix gtk2 to gtk3 migration: set_uri_hook() is no more we could have connect to the 'activate-link' signal but it's just simpler to rely on default behaviour --- mgaapplet_gui.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mgaapplet_gui.pm b/mgaapplet_gui.pm index e5d87b24..168883f0 100644 --- a/mgaapplet_gui.pm +++ b/mgaapplet_gui.pm @@ -114,10 +114,6 @@ sub fill_n_run_portable_dialog { sub new_link_button { my ($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); - }); $link; } -- cgit v1.2.1