Commit Graph

349 Commits

Author SHA1 Message Date
Doug Blank
118525b4b9 Added a generic goto_handle that works (at least) with selectors; added a default keyword that takes a handle
svn: r15323
2010-05-05 03:23:35 +00:00
Doug Blank
e847354d8b Allow 'Media' short for 'MediaObject'
svn: r15322
2010-05-05 03:19:54 +00:00
Doug Blank
98436e2e53 Double Oops: that line does belong here
svn: r15321
2010-05-04 22:13:43 +00:00
Doug Blank
67e5d8d6d2 Oops: should not have included this line; from another patch
svn: r15319
2010-05-04 11:59:08 +00:00
Doug Blank
8a80aeae96 Added an EditObject that works on any object_class; will look up obj based on gramps_id or handle
svn: r15314
2010-05-03 22:47:47 +00:00
Peter Landgren
22377f265c Fix of included files.
svn: r15311
2010-05-03 16:20:42 +00:00
Peter Landgren
0eb5728320 Information in file was doubled/tripled.
svn: r15308
2010-05-03 12:39:49 +00:00
Peter Landgren
0236eb15ab Information in file was doubled/tripled.
svn: r15307
2010-05-03 12:39:29 +00:00
Doug Blank
39f4ac256f Removed duplicate code inserted by change set 15294; added plugin version in display
svn: r15298
2010-05-01 21:22:05 +00:00
Brian Matherly
df32be43de 0003796: Make export available when no GUI available. Patch from jmodule (Jakim Friant).
svn: r15294
2010-05-01 04:12:42 +00:00
Benny Malengier
38eff3382c 1892: Name Editor Cancel marks Override
svn: r15121
2010-04-14 20:15:49 +00:00
Nick Hall
c7294b600b Make sidebar menu label translatable
svn: r15072
2010-04-10 16:13:30 +00:00
Jérôme Rapinat
a46b607121 Add bookmark icon was missing on Menu (same string as navigationview)
svn: r15042
2010-04-06 17:59:26 +00:00
Jérôme Rapinat
f7ae672bb9 Edit bookmark icon was missing on Menu
svn: r15041
2010-04-06 17:49:37 +00:00
Nick Hall
3ad0a469f3 Add base class for sidebar plugins
svn: r15038
2010-04-06 16:34:35 +00:00
Nick Hall
6ae2f1c81e GEPS 019: Improved sidebar which allows sidebar plugins
svn: r15029
2010-04-04 18:16:03 +00:00
Rob G. Healey
4994fb128b Fixed a typo from eaxct_search to exact_search.
svn: r14995
2010-04-02 00:04:13 +00:00
Doug Blank
3e345733eb 3780: 'Gender contains' filter does not work as I expect
svn: r14985
2010-04-01 13:22:58 +00:00
Benny Malengier
ed296c227d 3757: key2string map still in memory after XML import
svn: r14979
2010-03-31 08:26:36 +00:00
Nick Hall
4ffef76fac 3740: Fix problems with add, delete and update of views when filter applied
svn: r14968
2010-03-29 16:00:24 +00:00
Nick Hall
f22febbea0 0407 and 1447: Save column widths in configuration file
svn: r14953
2010-03-28 00:55:09 +00:00
Nick Hall
e090d8d250 3731: Add place name column to place tree view
svn: r14951
2010-03-27 23:00:41 +00:00
Nick Hall
edaec66f47 Translate strings for hierarchy level headings
svn: r14935
2010-03-26 21:12:09 +00:00
Nick Hall
80a1b440b8 3752: Fix sort order of last-changed column
svn: r14933
2010-03-26 19:49:46 +00:00
Benny Malengier
229cf5ccc0 3761: Error when editing family event
svn: r14924
2010-03-24 19:46:21 +00:00
Benny Malengier
910d34c330 Solving connected date bugs
3390: Date module that reads calendar on Gedcom file format, cannot read the @
3763: dates parsed wrong
3754: Active markup for invalid date on Event View
Some other bugs might be fixed by these changes


svn: r14922
2010-03-24 16:05:42 +00:00
Benny Malengier
739a0f0f43 3655: last modified timestamp changes everytime a tree is accessed
svn: r14887
2010-03-21 09:37:10 +00:00
Doug Blank
c1938a8dfb 3742: Gramps 3.2 crashes on data entry
svn: r14883
2010-03-20 15:23:07 +00:00
Nick Hall
5f133cd21b 3691: Make all views displaying names respond to nameformat-changed signals
svn: r14737
2010-03-10 12:36:27 +00:00
Benny Malengier
72afaa04bb activate help buttons in editors
svn: r14734
2010-03-10 11:39:23 +00:00
Nick Hall
623d5d43e5 3687: Prevent multiple re-build of views when name format changed
svn: r14725
2010-03-09 22:40:07 +00:00
Nick Hall
669db7237e Bug fix for multiple sort keys
svn: r14679
2010-03-07 19:49:50 +00:00
Nick Hall
d34e83d9ba Allow multiple sort keys on tree views
svn: r14673
2010-03-07 17:48:58 +00:00
Nick Hall
665e62edd1 Fix sort order in flat person view
svn: r14672
2010-03-07 17:27:53 +00:00
Benny Malengier
9ab5decb47 3667: Addings a new person and changing the name grouping results in frozen window
svn: r14662
2010-03-07 15:33:38 +00:00
Doug Blank
a8e3439e80 Added some protection on loading bad views
svn: r14601
2010-03-04 01:04:08 +00:00
Gary Burton
b99bcd2a89 Do not explicitly set an item width as it causes excessive whitespace around thumbnails when the image description becomes longer.
svn: r14589
2010-03-02 21:57:00 +00:00
Nick Hall
1698f8ddbf Update history and MRU lists when objects are deleted
svn: r14581
2010-03-02 15:49:27 +00:00
Benny Malengier
d594dcf247 03651: Deleting more than one person causes crash
Actually these are fixes trying to fix this bug


svn: r14575
2010-03-02 11:13:30 +00:00
Benny Malengier
4105b54984 Fix bug: allow drop from Nautilius/Dolphin
svn: r14542
2010-03-01 08:57:44 +00:00
Benny Malengier
699d0d9eb8 Fix bug: allow drop from Nautilius/Dolphin
svn: r14540
2010-03-01 08:51:48 +00:00
Peter Landgren
f98d049f20 Further improvments to drag and drop mult files in Windows.
svn: r14535
2010-02-28 21:29:24 +00:00
Nick Hall
4f7a2d7593 Only update display counts for nodes with handles
svn: r14527
2010-02-28 17:27:43 +00:00
Nick Hall
ccbe040c1f 3448: Prevent removal of hidden root node
svn: r14525
2010-02-28 17:02:26 +00:00
Jérôme Rapinat
e6627850d5 typo
svn: r14520
2010-02-28 15:27:20 +00:00
Benny Malengier
fd867e93ba 3631: Cannot start Gramps without any view loaded (OK, it is stupid...)
svn: r14518
2010-02-28 14:27:59 +00:00
Benny Malengier
528ba93613 Fix drag/drop bug: allow multiple drop on gallery
svn: r14515
2010-02-28 14:02:45 +00:00
Peter Landgren
88c481ce2b Fix of issue 3642.
svn: r14506
2010-02-27 13:30:11 +00:00
Benny Malengier
d2a341f19e translate category in menu and title
svn: r14479
2010-02-25 12:59:12 +00:00
Peter Landgren
61ae6d87ec Fix of issue 3534.
svn: r14447
2010-02-23 13:47:09 +00:00
Benny Malengier
7392cac134 3513: Cannot move up an individual alone in the event tab (Person Editor)
svn: r14388
2010-02-15 13:18:49 +00:00
Doug Blank
6918951596 Set default help page to the wiki gramplet page
svn: r14379
2010-02-15 03:48:03 +00:00
Doug Blank
ea74046a18 Protection from crash; display error
svn: r14377
2010-02-15 00:55:20 +00:00
Benny Malengier
862e2f49ec Remove unused function, add comment on a callback
svn: r14370
2010-02-14 20:24:15 +00:00
Doug Blank
17d6222e70 Additional test before import
svn: r14369
2010-02-14 18:45:41 +00:00
Benny Malengier
7394015a76 allow better string translation of no active object
svn: r14367
2010-02-14 16:55:06 +00:00
Doug Blank
3a6676af4c Gramplet height behaves correctly: is min height if maximized, max height if not
svn: r14359
2010-02-14 00:45:21 +00:00
Doug Blank
86aed42805 Minor reposition
svn: r14357
2010-02-13 19:15:38 +00:00
Doug Blank
48ff4b42d5 Workaround for redisplay widget issue; added pane orientation
svn: r14354
2010-02-13 17:45:28 +00:00
Doug Blank
b1354d2009 Regenerate gui options because previous configdialog may have deleted them; draw a frame around options that need 'save'.
svn: r14349
2010-02-13 06:37:50 +00:00
Doug Blank
c6c653683f Added additional config items for gramplets: height, expand, detached width and height
svn: r14348
2010-02-13 04:30:49 +00:00
Doug Blank
2b27d52782 Allow external update checkbox to use external config
svn: r14347
2010-02-13 04:29:31 +00:00
Doug Blank
6717242366 2671: Error in saving options in Gramplets
svn: r14345
2010-02-13 02:39:42 +00:00
Doug Blank
da5c001baf Removed unneeded pane widths
svn: r14342
2010-02-12 21:22:58 +00:00
Doug Blank
2c0c3f0f85 Override config, if necessary
svn: r14335
2010-02-12 12:48:27 +00:00
Doug Blank
9f2d9dc2fd Ability to override config on adding an item
svn: r14334
2010-02-12 12:47:17 +00:00
Doug Blank
ebbd1a1d12 Added old options to new configure
svn: r14333
2010-02-12 12:08:14 +00:00
Doug Blank
051cd9efe1 Working on a better config system for gramplet pane
svn: r14329
2010-02-11 22:49:36 +00:00
Doug Blank
3cb996049d Two changes: make notebook tabs scroll if too big; allows config pages to be a callable for more dynamic views
svn: r14328
2010-02-11 22:48:57 +00:00
Nick Hall
4ef3a10161 Extend markup column definition to a list of columns for listviews.
svn: r14327
2010-02-11 22:30:16 +00:00
Doug Blank
77734ed302 Workaround for hiding buttons on detached gramplet
svn: r14326
2010-02-11 21:14:22 +00:00
Doug Blank
fbedac6317 Two workarounds for displaying gramplets correctly
svn: r14325
2010-02-11 20:53:10 +00:00
Doug Blank
d9fdd6bf9c Fixed conflict with alt keys
svn: r14307
2010-02-10 22:25:37 +00:00
Doug Blank
458c42b0d4 Added a basic configure for GrampletView; removed config of columns by right-clicking
svn: r14305
2010-02-10 19:19:32 +00:00
Jérôme Rapinat
c77515294c 3595: More confort for non-english users
svn: r14303
2010-02-10 17:02:26 +00:00
Doug Blank
56e25bdc7a Added an optional message area to Progressmeter; addon updates uses this to report back status
svn: r14301
2010-02-10 15:43:05 +00:00
Doug Blank
f382665850 Config of gramplet keeps track of details if it is in a split pane
svn: r14294
2010-02-09 13:14:37 +00:00
Doug Blank
8af314298e Get rid of warnings on view categories with more than 9 views (yes, I have a category with 16 views)
svn: r14291
2010-02-09 01:41:32 +00:00
Benny Malengier
1a5f1720c0 Allow plugins to register their icons, new icons for geoview
svn: r14289
2010-02-09 00:07:43 +00:00
Nick Hall
a7c1c2b32a Fix initial value of filter sidebar toggle on menu
svn: r14288
2010-02-08 22:33:04 +00:00
Peter Landgren
c9e7e6e5e4 Make use of new module constfunc.
svn: r14283
2010-02-08 17:20:57 +00:00
Peter Landgren
99b95c547d Make use of new module constfunc.
svn: r14282
2010-02-08 17:19:15 +00:00
Doug Blank
5ef4112868 Removed gui options from Gramplet Pane; plan on having a Configure View window
svn: r14277
2010-02-08 13:34:44 +00:00
Doug Blank
3b3e5e032d Column of handle of note model had changed, apparently; used in selecting ID
svn: r14273
2010-02-08 04:20:24 +00:00
Peter Landgren
06f2bbf659 Step towards fix of translation in Windows.
svn: r14269
2010-02-07 18:02:51 +00:00
Doug Blank
22c4ec78cb Have some parameters of the GrampletPane passed in at runtime (default_gramplets)
svn: r14267
2010-02-07 16:59:06 +00:00
Doug Blank
1bd2966d3c Have some parameters of the GrampletPane passed in at runtime (column_count)
svn: r14266
2010-02-07 16:38:06 +00:00
Doug Blank
df9899a78b Allow each grampletpane to have its own config
svn: r14265
2010-02-07 13:30:59 +00:00
Doug Blank
9110d76624 Support files for grampletpane
svn: r14264
2010-02-07 12:20:25 +00:00
Doug Blank
b0ec0560f2 Moved GrampletPane to gui/widgets/grampletpane.py
svn: r14259
2010-02-07 04:44:33 +00:00
Doug Blank
efe5ffdc80 3572: Selection of People from picklist seems to not work because of PeopleModel change
svn: r14251
2010-02-06 16:54:57 +00:00
Jérôme Rapinat
b3efd702a2 Make Filter Sidebar consistent on Menu
svn: r14247
2010-02-06 15:27:17 +00:00
Doug Blank
ec017abfa3 3328: Rule Editor does not select current rule to edit
svn: r14244
2010-02-06 12:42:36 +00:00
Benny Malengier
63652c3239 remember in every view cat the last used view
svn: r14232
2010-02-05 19:47:32 +00:00
Nick Hall
6c7fcf4607 Performance improvement when reversing the order of a column
svn: r14231
2010-02-05 19:15:00 +00:00
Gary Burton
c04899d3ea Fix for bug 3566: The column Last Changed is empty for places
svn: r14225
2010-02-05 12:05:28 +00:00
Benny Malengier
f152ac25d8 fix bug: spouse data was not shown in personviews
svn: r14222
2010-02-05 10:27:09 +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
65d03d2556 Avoid detach model problem when reversing a column sort
svn: r14219
2010-02-04 23:33:47 +00:00
Gary Burton
3b6552f62d Include recent change to PlaceListModel in get_handle_column
svn: r14218
2010-02-04 22:52:00 +00:00
Gary Burton
91b8da4fd0 Include more place attributes in the place selector
svn: r14217
2010-02-04 22:43:09 +00:00
Nick Hall
a818db8817 Rename placeview and placemodel classes for consistency
svn: r14216
2010-02-04 21:05:15 +00:00
Nick Hall
31d920ef29 Remove unused constants
svn: r14215
2010-02-04 19:13:05 +00:00
Nick Hall
829705de76 Add main participant to title
svn: r14214
2010-02-04 19:04:35 +00:00
Benny Malengier
8b6077a95e Give relview a configuration, remove old config from preferences
svn: r14204
2010-02-03 23:31:38 +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
5584060f83 Prettify columnorder a bit
svn: r14199
2010-02-03 20:34:35 +00:00
Nick Hall
2d47a0e78d Revert unintentional commit
svn: r14198
2010-02-03 18:13:09 +00:00
Nick Hall
03b41ff8fb Fix bug where handle column not defined consistently between view and model
svn: r14197
2010-02-03 16:33:12 +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
Nick Hall
ac4213db94 Fix moving to bookmark when object is the first in a flat view
svn: r14193
2010-02-02 15:31:48 +00:00
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