On Sat, Apr 14, 2012 at 1:14 AM, ygmarchi <carlo.marchi...@gmail.com> wrote:
> the package doesn't consider the user preferences about the browser. > Here's a patch that would. > ... > + self.browser = self.client.get_string( '> /desktop/gnome/applications/browser/exec' ) ... > - webbrowser.open_new_tab( gmailurl ) > + if cfg.browser != None: > + os.system('%s %s' % (cfg.browser, gmailurl)) > + else: > + webbrowser.open_new_tab( gmailurl ) > The webbrowser module uses the GNOME-defined browser already, with an override using the BROWSER variable. You may be seeing that issue, or confusion between the dconf and gconf desktop configuration. The extra code should not be needed. http://docs.python.org/library/webbrowser.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org