Doug Blank
d5056554a0
Fixes for configuring gramplets
...
svn: r15215
2010-04-18 13:42:46 +00:00
Doug Blank
cf03374f70
Updates to gramplets with options
...
svn: r14346
2010-02-13 03:21:38 +00:00
Doug Blank
1bc7a15a27
Fixed some optimized reference copy errors
...
svn: r14148
2010-01-27 12:07:25 +00:00
Gerald Britton
8f0582df8a
Use built-in functions to replace for loops:
...
Old code:
for x in y:
f(x)
New Code:
map(f, y)
Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.
svn: r14135
2010-01-25 17:45:21 +00:00
Gerald Britton
1f2469b09f
Simplify with built-in functions where possible. e.g.
...
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)
These changes reduce source code size and complexity and produce some minor performance gains
svn: r14104
2010-01-21 18:42:53 +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
Doug Blank
943dbc97b4
Added a yield occasionaly in main
...
svn: r14083
2010-01-16 23:02:10 +00:00
Doug Blank
c6a51db8d3
Fix for running quick view gramplet; disable unnecessary signals reception for some change-actives
...
svn: r13519
2009-11-07 13:31:36 +00:00
Doug Blank
6af2d2f30a
Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
...
svn: r13416
2009-10-25 20:29:45 +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
966d2bcd42
Use new iter_objects methods
...
svn: r13203
2009-09-14 20:50:25 +00:00
Doug Blank
d5b8862082
Removed debugging statements
...
svn: r12860
2009-08-02 14:36:26 +00:00
Doug Blank
f7f66af44a
Added missing imports
...
svn: r12819
2009-07-19 22:08:47 +00:00
Gerald Britton
f7454de7fd
Implement iter_people_handles methods and begin to use them
...
svn: r12760
2009-07-03 20:23:41 +00:00
Gerald Britton
81a0848490
Bug 3018: remove calls to keys() and values() dictionary method where possible
...
svn: r12579
2009-05-27 17:33:45 +00:00
Gerald Britton
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
2671a8cd50
Replace "== None" and "!= None" with "is None" and "is not None", respectively
...
svn: r12098
2009-02-23 19:11:46 +00:00
Rob G. Healey
c56f46b493
Added revision numbering symbol to all of plugins directory if it was missing in the file.
...
svn: r12002
2009-02-16 06:56:49 +00:00
Luigi Toscano
ce8b02c9f6
Better localization support for decimal separator.
...
svn: r11999
2009-02-15 21:50:27 +00:00
Jérôme Rapinat
ed56bb9be5
typo on translation string
...
svn: r11909
2009-02-08 08:28:36 +00:00
Doug Blank
33067b97f1
Moved AgeStats.py gramplet to correct subdirectory, and updated Makefile.am and POTFILES.in
...
svn: r11650
2009-01-18 02:20:17 +00:00