summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-02-03 22:13:07 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-02-03 22:14:15 +0100
commit85bcd4f2cc6f3834167417ce22eb96fcc6794396 (patch)
treee39cf2800f604408a78a5e62c402c91b8356903f
parent529f4024134638eccc3d7952ce39201f5519d496 (diff)
downloadmgaonline-85bcd4f2cc6f3834167417ce22eb96fcc6794396.tar
mgaonline-85bcd4f2cc6f3834167417ce22eb96fcc6794396.tar.gz
mgaonline-85bcd4f2cc6f3834167417ce22eb96fcc6794396.tar.bz2
mgaonline-85bcd4f2cc6f3834167417ce22eb96fcc6794396.tar.xz
mgaonline-85bcd4f2cc6f3834167417ce22eb96fcc6794396.zip
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
-rw-r--r--mgaapplet_gui.pm4
1 files changed, 0 insertions, 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;
}