Gerald Britton
7975d5c3c4
Revert some map calls to list comps to correct bug introduced in rev. 14104
...
svn: r14191
2010-02-02 13:56:15 +00:00
Benny Malengier
d6205d09d1
fix bug: close not disconnected on dbchange
...
svn: r14190
2010-02-02 09:02:31 +00:00
Benny Malengier
2828363e9e
fix bug in notemodel, wrong offset
...
svn: r14184
2010-02-01 19:48:09 +00:00
Benny Malengier
030af7b07b
fix bug that prevents show change date in place view
...
svn: r14182
2010-02-01 16:12:15 +00:00
Benny Malengier
1fe13f7a78
Fix sort on change issues
...
svn: r14181
2010-02-01 15:14:17 +00:00
Benny Malengier
e06fd89d14
missing imports
...
svn: r14180
2010-02-01 15:01:36 +00:00
Benny Malengier
140c7c6f7d
Reenable changing column order for all listviews
...
svn: r14179
2010-02-01 13:04:19 +00:00
Benny Malengier
a89e8d1d18
Remove column config from db, move to the plugins
...
Start with reuse of preferences for all configuration
Allow all view plugins to set configuration dialog
TODO: activate the column reorder in config of listviews
svn: r14176
2010-02-01 07:01:45 +00:00
Gerald Britton
07decce138
Tweaks
...
svn: r14143
2010-01-26 14:21:51 +00:00
Doug Blank
2c1a4da30c
Fixed bug reveal by optimization
...
svn: r14139
2010-01-26 12:21:28 +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
Peter Landgren
d4117408e6
Fixed typo.
...
svn: r14133
2010-01-25 08:56:46 +00:00
Peter Landgren
7a3732d6fa
Fixed typo.
...
svn: r14132
2010-01-25 08:56:05 +00:00
Brian Matherly
cd30f4db2f
Continued work on GEP008: move src/Mime to src/gen/mime.
...
svn: r14118
2010-01-24 20:17:14 +00:00
Brian Matherly
2e9a4c27d0
Move find_mime_type_pixbuf from the Mime module to ThumbNails. It is more closely related to thumbnails than mime.
...
svn: r14109
2010-01-24 04:52:22 +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
b66e96b8d9
Plugin Manager refinements, part 1: refactored plugin lists, renamed Plugin Status to Plugin Manager, added functionality on loaded plugin page
...
svn: r14086
2010-01-17 16:24:56 +00:00
Brian Matherly
d9a0ab8a90
Continued work on GEP008: Consolidate src/FilterEditor files into one file and move it to gui/filtereditor.py.
...
svn: r14074
2010-01-14 04:58:30 +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
Gerald Britton
d6ede10e89
Tweaks to reduce source- and byte-code sizes
...
svn: r14069
2010-01-13 20:54:46 +00:00
Benny Malengier
63d9122ea2
fix 3 one line bugs in treebasemodel
...
svn: r14068
2010-01-13 20:17:45 +00:00
Nick Hall
4a87cbbe61
Add Most Recently Used object functionality to Go menu
...
svn: r14061
2010-01-13 15:59:36 +00:00
Benny Malengier
623e39d0a8
On delete of node in treeview, remove handle link so that goto_handle unsets
...
selection
svn: r14052
2010-01-12 22:10:33 +00:00
Benny Malengier
61de0898af
1. remove leftover from using nodeid as iter
...
2. fix error in add on placetreeview: preset values with node.name of parents
svn: r14051
2010-01-12 21:50:37 +00:00
Benny Malengier
263c87ff87
correct not general string, more logical treeview
...
svn: r14040
2010-01-12 08:37:17 +00:00
Benny Malengier
db06758bb0
Only clear dicts, don't reassign
...
svn: r14028
2010-01-11 10:51:56 +00:00
Benny Malengier
2a36355a8b
fix goto_handle on row update
...
change placetreeview somewhat, further to discuss
svn: r14024
2010-01-10 20:11:18 +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
Benny Malengier
04763f50fe
*fix displayed/total on views, so they are correct on updates
...
*listviews don't become dirty from add/delete/update signals while
they are not active. This should improve performance on large trees
now that these actions are cheap in all views after rework of the views
svn: r14020
2010-01-10 15:00:15 +00:00
Benny Malengier
2e65bfcce4
Extra keybinding/buttonbinding on treeviews for usability
...
Shift+enter and dblclick: expand group and children
svn: r14019
2010-01-10 12:20:13 +00:00
Gerald Britton
2b12f3df07
Use defaultdict type where possible for minor performance gain and source code simplification
...
svn: r14011
2010-01-09 19:54:32 +00:00
Benny Malengier
0ec49507ed
Renable enter to expand nodes on the treeviews
...
svn: r14005
2010-01-09 16:16:52 +00:00
Benny Malengier
de2d669763
3275: PageView reworking, changes by B. Malengier and N.Hall
...
Specifically: improve new treeview by using a linked list implementation so
iters can be quickly iterated over
Also: progressdialog on long personview loads.
svn: r14002
2010-01-09 11:10:32 +00:00
Peter Landgren
d664fa4aa2
Fix of issue 3480.
...
svn: r13997
2010-01-08 15:59:05 +00:00
Brian Matherly
1fa4e8d66c
Continued work on GEP008: move gen/utils/longop.py, gen/utils/progressmon.py, ProgressDialog.py into gui/widgets/progressdialog.py.
...
svn: r13980
2010-01-06 05:27:28 +00:00
Nick Hall
6872ce1b33
3498: Fix bug and enable show all checkbox in selector
...
svn: r13969
2010-01-04 18:44:51 +00:00
Peter Landgren
7c152a868a
Fix of issue 3480.
...
svn: r13967
2010-01-03 14:14:30 +00:00
Nick Hall
6ae29de4f0
2563: Add signals for all objects when active object changes
...
svn: r13960
2010-01-02 23:01:43 +00:00
Nick Hall
c43f162b2f
Preparation to extend navigation to all object types
...
svn: r13955
2010-01-01 19:55:09 +00:00
Doug Blank
0f78f5c918
Refined right-click popup menus on placeviews
...
svn: r13954
2010-01-01 18:59:58 +00:00
Doug Blank
205b3beadd
Enabled Quickviews on all list views; enabled References Quickview for all views
...
svn: r13947
2009-12-31 14:59:44 +00:00
Jérôme Rapinat
bbdf6d80cc
3485: A better message for date validator on AgeOnDate Gramplet.
...
svn: r13939
2009-12-29 16:56:27 +00:00
Nick Hall
7f2174b225
Improve event type defaults for new events in display tabs
...
svn: r13933
2009-12-28 18:09:40 +00:00
Benny Malengier
68224a98c0
correct wrong editperson import
...
svn: r13923
2009-12-27 09:48:58 +00:00
Nick Hall
ad5aa7006e
3463: Re-select edited row after edit in tree view
...
svn: r13922
2009-12-26 23:11:09 +00:00
Nick Hall
5422931318
Allow nodes with handles at higher levels in the tree
...
svn: r13921
2009-12-26 19:42:22 +00:00
Gary Burton
d8471f652a
Make search bar work again in selectors
...
svn: r13901
2009-12-23 20:55:52 +00:00
Doug Blank
ab3dfe1415
3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
...
svn: r13894
2009-12-23 15:55:58 +00:00
Brian Matherly
9a397544a2
Fix missing import for family event reference editor.
...
svn: r13883
2009-12-22 12:21:37 +00:00