Commit Graph

11 Commits

Author SHA1 Message Date
Gerald Britton
7244e05a25 Optimize docgen backends by consolidating calls to write methods
svn: r15527
2010-06-04 17:19:26 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Raphael Ackermann
5ae1a75bc0 0003137: Attribute error on EmptyDoc for all graphical reports - only with PostScript and SVG output formats !
removed 'template' parameter from init method.
problem was that they still used template parameter, when BaseDoc didn't have a template parameter anymore.

also pylint cleanup

svn: r12927
2009-08-08 19:15:19 +00:00
Benny Malengier
fb3ec68c6a part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
update build system


svn: r12603
2009-05-31 14:59:56 +00:00
Benny Malengier
8dd7adc607 part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
that was missing in part 1 
 Still to come: makefiles and splitting new basedoc.py in small files


svn: r12591
2009-05-29 22:25:44 +00:00
Brian Matherly
c56c25b932 Add DocGenPlugin to be used to register all docgen plugins. This replaces the array of variables which was more difficult to read.
svn: r12359
2009-03-19 02:24:29 +00:00
Brian Matherly
0214b842cd Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
svn: r12351
2009-03-16 04:22:12 +00:00
Brian Matherly
3259b393da Change the way we "launch" files using their default application. Instead of trying to find the application ourselves, use the OS built in functions to open a file with its default application. We no longer show the name of the application that we will open the file with because we don't know.
svn: r11781
2009-02-01 04:21:17 +00:00
Brian Matherly
3f95d8ddb7 Plugins Restructure: Move docgen plugins into plugins/docgen.
svn: r11652
2009-01-18 04:59:14 +00:00