From: Brian M. <br...@gr...> - 2008-01-12 22:25:21
|
Benny, > I'd like to remove the gnome dependence of GRAMPS as > much as possible for > 3.0. I support this effort 100%. > 2/opening of browser, this uses for GNOME > gnome.url_show(target) > I would remove that, and use for opening the > sequence (line 66, > Grampsdisplay.py): > > for browser in ['xdg-open', 'firefox', 'konqueror', > 'epiphany', 'galeon', > 'mozilla']: > > Normally, all recent linux distro's should contain > the xdg-open > freedesktop.org utility, which opens the preferred > browser. Can somebody on > Windows tell me how internet explorer could be found > to open the manual by > adding it to the above list? Eg ie7.exe ?? Could you just use the webbrowser module? http://docs.python.org/lib/module-webbrowser.html import webbrowser webbrowser.open_new("www.gramps-project.org/bla") > 4/plugin WriteCD.py > Gnome module is used to write the CD. I see no way > to offer this > functionality to people who don't have gnome > installed. As this is a plugin, > this should not be a problem. The writeCD plugin > will just not be available > to those users. Since it is a plugin, it is fine. The plugin status will show it as uninstalled. Just make sure a valid message appears. Thanks for doing this! ~Brian |