[Reportbug-commits] [reportbug] 05/22: gtk2_ui: let GTK choose how to open a web browser

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 15 00:43:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit 868f6c3b8308fd52e2f39e6ddd7a21466319e753
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Dec 14 15:01:22 2016 +0000

    gtk2_ui: let GTK choose how to open a web browser
    
    It uses freedesktop.org mechanisms to do so, and is at least as good
    at it as xdg-open, which is what launch_browser uses.
---
 reportbug/ui/gtk2_ui.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 7d28b6f..1673c79 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1591,7 +1591,6 @@ Falling back to 'text' interface."""
 
     # GTK settings
     gtk.Window.set_default_icon_from_file(DEBIAN_LOGO)
-    gtk.link_button_set_uri_hook(lambda button, uri: launch_browser(uri))
 
     application = ReportbugApplication()
     assistant = ReportbugAssistant(application)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list