diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-22 15:23:16 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:53:09 +0100 |
commit | 52a8335b44d07c564151a9ad24eecedd33883751 (patch) | |
tree | 299081ca3900ac98808ff2e8b0f82f0410d5eb0e | |
parent | 15768bb58de861fab57e8053d1b810fb50b469ff (diff) | |
download | drakx-52a8335b44d07c564151a9ad24eecedd33883751.tar drakx-52a8335b44d07c564151a9ad24eecedd33883751.tar.gz drakx-52a8335b44d07c564151a9ad24eecedd33883751.tar.bz2 drakx-52a8335b44d07c564151a9ad24eecedd33883751.tar.xz drakx-52a8335b44d07c564151a9ad24eecedd33883751.zip |
set_url_hook() & set_email_hook() no more exists
-rw-r--r-- | perl-install/mygtk3.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 3be95eae0..16988905a 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -1023,14 +1023,6 @@ sub _gtk__AboutDialog { $w->set_icon(gtknew('Pixbuf', file => delete $opts->{icon})) if exists $opts->{icon}; $w->set_logo(gtknew('Pixbuf', file => delete $opts->{logo})) if exists $opts->{logo}; $w->set_copyright(delete $opts->{copyright}) if exists $opts->{copyright}; - $w->set_url_hook(sub { - my (undef, $url) = @_; - run_program::raw({ detach => 1 }, 'www-browser', $url); - }); - $w->set_email_hook(sub { - my (undef, $url) = @_; - run_program::raw({ detach => 1 }, 'www-browser', $url); - }); if (my $url = delete $opts->{website}) { $url =~ s/^https:/http:/; # Gtk3::About doesn't like "https://..." like URLs |