Commit Graph

29 Commits

Author SHA1 Message Date
Doug Blank
4442a33f96 Speed-up for right-click menu
svn: r14681
2010-03-07 20:57:46 +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
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Nick Hall
b503fa2e25 Extend history functionality (back/forward) and active-changed signals to all primary objects
svn: r14023
2010-01-10 19:19:33 +00:00
Brian Matherly
bbe2b6da0c move src/Editors/* to src/gui/editors as part of GEP008
svn: r13807
2009-12-15 05:56:12 +00:00
Doug Blank
8b326b49d2 3394: Pango Warning for Fanchartview during start
svn: r13756
2009-12-11 03:19:06 +00:00
Doug Blank
2a1aa5e5ad Allow lateral move placement of Fan Chart
svn: r13564
2009-11-13 01:57:40 +00:00
Benny Malengier
7da5541920 Cleanup after making views plugins, remove last imports of DataView
svn: r13563
2009-11-12 22:32:52 +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
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
a052bc3c63 Tweaks to use inplace arithmetic
svn: r13184
2009-09-09 20:37:26 +00:00
Doug Blank
e2e6d4972e 2798: Gramplet 'Fan Chart' throws error when right-clicked prior to defining Home Person.
svn: r12289
2009-03-10 00:55:35 +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
Raphael Ackermann
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
Doug Blank
60d1964ede Added tooltip to translations
svn: r11720
2009-01-25 17:32:34 +00:00
Doug Blank
04b9ec770f Added uistate to gramplet class; Finished Interactive Fan Chart: right-click gives menu options (same from PedigreeView)
svn: r11719
2009-01-25 17:29:59 +00:00
Doug Blank
d2b481b1a3 Speed ups: cache names---don't re-lookup name; added outer edge to indicate parents; removed simple access
svn: r11714
2009-01-25 11:19:13 +00:00
Doug Blank
384f574fea Put the database access at beginning; fixes bug in mailing list from Rob H.
svn: r11702
2009-01-24 09:00:19 +00:00
Doug Blank
409063ae94 Rotation is now done by dragging in open space (doesn't draw names while dragging to get speed up)
svn: r11684
2009-01-22 12:07:36 +00:00
Doug Blank
6815af9303 Rearrange methods to get all of the fanchart business int the widget; fixed a bug in show_parents; general refining
svn: r11680
2009-01-22 00:36:26 +00:00
Doug Blank
e23c3e704c Needed to register event mask to get additional signals; next step: cleanup
svn: r11678
2009-01-21 16:12:48 +00:00
Doug Blank
a02e10a067 Edited some comments; changed rotation to corners---would like to use motion
svn: r11670
2009-01-19 21:58:57 +00:00
Doug Blank
e9c0be1d15 First working version
svn: r11663
2009-01-19 16:57:43 +00:00
Doug Blank
7ccee8ab0a A couple of bugs left
svn: r11662
2009-01-19 07:11:48 +00:00
Doug Blank
cd713adf74 Work in progress
svn: r11661
2009-01-19 05:42:20 +00:00
Doug Blank
708b00951f Roundoff error
svn: r11651
2009-01-18 03:41:44 +00:00
Doug Blank
bd90c18ed9 An experimental interactive fan chart. Needs some work to be really usable. See bug #2611 for more details.
svn: r11648
2009-01-17 22:36:30 +00:00