Commit Graph

83 Commits

Author SHA1 Message Date
Benny Malengier
967f99bf7b Use the new view plugin structure to offer a flat list person view
svn: r14195
2010-02-03 13:01:04 +00:00
Serge Noiraud
d97775d07c GeoView: Change the start page.
svn: r14194
2010-02-03 10:26:35 +00:00
Benny Malengier
036485a611 make bookmarks work on review
svn: r14192
2010-02-02 14:54:59 +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
Doug Blank
53358c2179 Handle non-object (function) gramplets' active setting
svn: r14172
2010-01-29 23:56:47 +00:00
Doug Blank
4aea0543b2 When you close a detached gramplet, need to set active to the same as its viewpage
svn: r14171
2010-01-29 23:49:31 +00:00
Doug Blank
4501b036df Redraw initially closed, then maximized gramplet
svn: r14161
2010-01-29 12:41:55 +00:00
Doug Blank
294f59bb7b If detached, force active
svn: r14142
2010-01-26 13:56:55 +00:00
Doug Blank
81bb97e2df Refinements on statusbar update; only updated when really necessary; fixed bug in updating when db is closed
svn: r14141
2010-01-26 13:38:05 +00:00
Doug Blank
e7c5d7a207 Start out dirty and not active; removed debugging stuff
svn: r14140
2010-01-26 13:04:01 +00:00
Doug Blank
cf4748ecaf Gramplets only update when active, detached, or forced
svn: r14138
2010-01-26 12:00:01 +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
Brian Matherly
cd30f4db2f Continued work on GEP008: move src/Mime to src/gen/mime.
svn: r14118
2010-01-24 20:17:14 +00:00
Nick Hall
4a529d0c28 Fix selected handles for merge operations
svn: r14108
2010-01-23 15:31:50 +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
Serge Noiraud
f06acae4b1 GeoView : issue 3497 adds filters.
javascript errors when switching between maps.


svn: r14100
2010-01-19 19:34:47 +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
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
Nick Hall
4a87cbbe61 Add Most Recently Used object functionality to Go menu
svn: r14061
2010-01-13 15:59:36 +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
Nick Hall
a4dcfa3fc3 Bug fixes for commit 14023
svn: r14037
2010-01-11 22:37:18 +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
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
Doug Blank
36fa65944d Removed unneeded imports
svn: r14006
2010-01-09 17:12:45 +00:00
Benny Malengier
0ec49507ed Renable enter to expand nodes on the treeviews
svn: r14005
2010-01-09 16:16:52 +00:00
Doug Blank
bfa7687058 Fixed code that gave warning: GtkWarning: gtk_box_pack: assertion 'child->parent == NULL' failed
svn: r14003
2010-01-09 13:40:40 +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
Doug Blank
debfc3dd78 Fixed issue of not re-docking gramplet from whence it came (reported by Rob); refined some code
svn: r13999
2010-01-08 20:06:51 +00:00
Serge Noiraud
e346c68fb1 GeoView : issue 3472; using date format preference.
svn: r13992
2010-01-07 22:02:38 +00:00
Jérôme Rapinat
83d7448c1a 2846: build tree basic on arithmetics - uncomment lines (ezegzda)
svn: r13982
2010-01-07 10:52:41 +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
6cdb8a9406 Add signal for media-changed, and test on mediaview
svn: r13949
2009-12-31 17:03:04 +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
Nick Hall
5422931318 Allow nodes with handles at higher levels in the tree
svn: r13921
2009-12-26 19:42:22 +00:00
Serge Noiraud
9aabed5c4f GeoView : issue 3472
svn: r13909
2009-12-24 17:21:55 +00:00
Serge Noiraud
cd7f3b8a29 GeoView : Replacement for openstreetmap and google map button by one provider
toglebutton. This is to minimize the space used by the buttons now
          we have the new "Add place" and "Link place" buttons.


svn: r13908
2009-12-24 15:55:01 +00:00
Serge Noiraud
ab2f9b9d19 GeoView : Entrybox completion now works when entering "tab"
We can erase the text with the place list label at the left of the entrybox.
          Performance : comment the sort to reduce display time.


svn: r13906
2009-12-24 12:18:18 +00:00
Gary Burton
864a4692a9 Another instance where we need to pass str latitude and longitude to EditPlace
svn: r13903
2009-12-23 23:02:26 +00:00
Serge Noiraud
3106784c22 GeoView : EditPlace crash with real instead of string.
svn: r13902
2009-12-23 21:32:01 +00:00
Gary Burton
2de02b5899 Add an existing place to a map
svn: r13896
2009-12-23 18:20:44 +00:00
Doug Blank
61e3237d5a Constructors don't return things; renderer gets set in constructor
svn: r13895
2009-12-23 17:57:54 +00:00
Serge Noiraud
361b99cee6 GeoView : Add Nick to the contributors.
Force the zoom to be locked when adding places.


svn: r13890
2009-12-23 10:08:16 +00:00
Serge Noiraud
a8e5f3acf9 GeoView : add signal when places are added. thanks nick.
svn: r13889
2009-12-23 07:06:44 +00:00
Gary Burton
db22a53da8 Add a new place to Gramps using latitude and longitude from GeoView
svn: r13886
2009-12-22 20:50:45 +00:00
Serge Noiraud
cd6843635e GeoView: issue 3312.
svn: r13885
2009-12-22 19:37:21 +00:00
Nick Hall
feb13b4a79 Better error message when gramplet fails to load
svn: r13884
2009-12-22 15:48:03 +00:00