Package: gnome-gmail
Version: 1.8.2-1
Severity: normal

Dear Maintainer,

the package doesn't consider the user preferences about the browser.
Here's a patch that would.

Thanks,
Carlo.

diff --git a/gnome-gmail b/gnome-gmail
index a43ccc7..2919d55 100755
@@ -314,6 +314,8 @@ class ConfigInfo( object ):
         except:
             pass

+        self.browser = self.client.get_string(
'/desktop/gnome/applications/browser/exec' )
+
     def write_config( self ):
         """ write out all configuration information """
         self.client.set_string( self.basedir + 'user', self.user )
@@ -623,7 +625,10 @@ def main( ):
         interface.Notify( "gnome-gmail", 0, '', "gnome-gmail", \
             gerr.value, [], {}, 3000 )
     else:
-        webbrowser.open_new_tab( gmailurl )
+        if cfg.browser != None:
+            os.system('%s %s' % (cfg.browser, gmailurl))
+        else:
+            webbrowser.open_new_tab( gmailurl )

 if __name__ == "__main__":
     main()



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-gmail depends on:
ii  gconf-editor          3.0.1-1
ii  gconf2                3.2.3-4
ii  gnome-control-center  1:3.2.2-2
ii  libgtk2.0-bin         2.24.10-1
ii  python                2.7.2-10
ii  python-gconf          2.28.1+dfsg-1
ii  python-glade2         2.24.0-3
ii  python-gnomekeyring   2.32.0+dfsg-1
ii  xdg-utils             1.1.0~rc1+git20111210-6

gnome-gmail recommends no packages.

gnome-gmail suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to