Commit Graph

243 Commits

Author SHA1 Message Date
Benny Malengier
5b6c641650 consistent naming and order of views
svn: r14233
2010-02-05 20:02:18 +00:00
Serge Noiraud
59b2cefd45 GeoView : Toolbar optimization.
svn: r14226
2010-02-05 12:13:24 +00:00
Benny Malengier
ee1d3874d2 fix bug on collapse of parents in relview"
svn: r14223
2010-02-05 10:32:19 +00:00
Benny Malengier
c0fc14960f Move 2 more options to config, increase columndialog size
svn: r14220
2010-02-05 08:48:58 +00:00
Nick Hall
a818db8817 Rename placeview and placemodel classes for consistency
svn: r14216
2010-02-04 21:05:15 +00:00
Benny Malengier
8b6077a95e Give relview a configuration, remove old config from preferences
svn: r14204
2010-02-03 23:31:38 +00:00
Doug Blank
5604176e73 Now updates newly added gramplet
svn: r14203
2010-02-03 22:45:32 +00:00
Serge Noiraud
12bf567678 GeoView : Don't show the filter when the database is not yet selected.
svn: r14202
2010-02-03 21:43:45 +00:00
Benny Malengier
201a0103df base place view should be a plugin lib, only used in other plugins
svn: r14200
2010-02-03 20:44:00 +00:00
Benny Malengier
be4e299638 Add missing files from previous commit
svn: r14196
2010-02-03 13:28:51 +00:00
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
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Doug Blank
3a8b4d7e40 Moved fallback functions from Db to gen.utils
svn: r13876
2009-12-21 05:58:55 +00:00
Doug Blank
872e971fd3 gen.lib and gen.utils are independent; removed gen.utils.dbutils --- moved db methods to gen.db.base
svn: r13872
2009-12-21 04:18:31 +00:00
Serge Noiraud
a17ae4c484 GeoView : issue 3312 : erase entrybox and years interval.
svn: r13868
2009-12-21 00:01:32 +00:00
Gary Burton
4392fa3120 Fix wrong calls to get_type
svn: r13852
2009-12-19 16:08:44 +00:00
Serge Noiraud
74752f1360 GeoView : Added some corrections for issue 3312
When we switch between databases, if no info exist for the current view,
          don't try to load the page.


svn: r13844
2009-12-18 07:36:20 +00:00
Doug Blank
383cf27b8b Fix to prevent duplicate tags
svn: r13842
2009-12-18 03:55:59 +00:00
Serge Noiraud
3ee5c908f9 Geography : unable to display geoview when only mozilla is present.
svn: r13840
2009-12-17 20:14:00 +00:00
Serge Noiraud
0598c178ec htmlrenderer : use vars() instead of inline dictionary.
svn: r13839
2009-12-17 18:30:30 +00:00
Serge Noiraud
bd961672c8 htmlrenderer : The prefs.js was created twice.
We didn't use the locale language.
               Adding var args to the gerald's modifications.


svn: r13829
2009-12-16 22:09:26 +00:00
Gerald Britton
0caa05e44f Tweak to improve readability and reduce dcalls to write method
svn: r13825
2009-12-16 16:56:45 +00:00
Serge Noiraud
82d7e93a7c GeoView : Better initialization.
Avoid to create the same page several times.
          Don't create the start page twice now we have Web and Geography views.


svn: r13817
2009-12-15 23:43:00 +00:00
Doug Blank
cfec1b2092 Cleanup treestyle to work across gramps versions
svn: r13810
2009-12-15 16:46:40 +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
Brian Matherly
baa13df670 Move src/Selectors to src/gui/selectors. Rename files to lower case in conformance with the Gramps coding style.
svn: r13806
2009-12-15 03:45:09 +00:00
Brian Matherly
0001133eb8 move src/widgets/* to src/gui/widgets as part of GEP008
svn: r13791
2009-12-14 03:20:19 +00:00
Doug Blank
8b326b49d2 3394: Pango Warning for Fanchartview during start
svn: r13756
2009-12-11 03:19:06 +00:00
Doug Blank
011b875540 Charts to Ancestry view category renaming
svn: r13754
2009-12-11 01:48:22 +00:00
Benny Malengier
d9efebc047 2846: PedigreeView: build tree basic on arithmetics
svn: r13746
2009-12-09 20:23:21 +00:00
Benny Malengier
24cd5d6f92 2846: PedigreeView: build tree basic on arithmetics
svn: r13745
2009-12-09 13:36:40 +00:00
Doug Blank
7fbdff5e0d 3352: Confusion in creating multiple views of same type and selecting them; see tracker for more details
svn: r13705
2009-12-05 04:38:31 +00:00
Doug Blank
216a5d6e0a 3376: RFE: please add 'Open directory' to context menu of media objects
svn: r13693
2009-12-01 02:56:03 +00:00
Peter Landgren
0b711b211c Third update for consistent use of Gramps. See issue 3355.
svn: r13633
2009-11-19 17:32:11 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Nick Hall
d7b4ca2d9c Add hierarchical place view. Reorganise existing place view and model.
svn: r13601
2009-11-17 00:13:03 +00:00
Benny Malengier
47158f47ac allow forcing a view to be first in category
svn: r13590
2009-11-15 13:49:27 +00:00
Benny Malengier
d3fd2f150d GEPS_014:_Plugin_registration_and_management
finish views in category, todo: configuration


svn: r13578
2009-11-14 17:17:34 +00:00
Doug Blank
6066738fac Updated imports
svn: r13566
2009-11-13 05:29:42 +00:00
Doug Blank
9fd107741f A Fan chart view (unstable)
svn: r13565
2009-11-13 01:59:30 +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
Rob G. Healey
1f2103469e Fixed two build problems. configure.in had a reference to src/DisplayModels/Makefile. The /src/plugins/view/Makefile.am had a reference to htmlrenderer without the .py extension.
svn: r13536
2009-11-10 01:33:58 +00:00
Serge Noiraud
e769051735 GeoView : Plugin registration and management corrections.
svn: r13534
2009-11-09 20:31:19 +00:00
Benny Malengier
19522ec975 GEPS 014: Plugin registration and management
Also views are now plugins belonging to view category


svn: r13528
2009-11-08 16:41:49 +00:00