Gary Burton
4530bd5cb9
Refactoring. ManagedWindow now controls window sizing
...
svn: r11905
2009-02-07 22:54:16 +00:00
Zsolt Foldvari
0e3013982e
Move src/objectentries.py to src/Editors/ObjectEntries.py.
...
svn: r10710
2008-05-12 10:43:43 +00:00
Zsolt Foldvari
c6203b282b
Reorganize custom widgets into a new 'widgets' package.
...
4. Blow up 'grampswidgets' module into several smaller modules.
Also move 'objectentry' module out from 'widgets' to src/, otherwise there
would be circular dependency between the 'Editors' and 'widgets' packages.
svn: r10703
2008-05-11 16:22:14 +00:00
Zsolt Foldvari
05b39c5c15
Reorganize custom widgets into a new 'widgets' package.
...
1. moving existing widget modules under src/widgets/
svn: r10694
2008-05-08 19:40:56 +00:00
Brian Matherly
a46e733398
Remove the "target" parameter from GrampsDisplay.help(). It was used for the old help system. We now link directly to the wiki.
...
svn: r10474
2008-04-05 14:17:15 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +00:00
Benny Malengier
15e789467b
2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/DisplayTabs/_SourceEmbedList.py:
* src/DisplayTabs/_PersonRefEmbedList.py:
* src/DisplayTabs/_RepoEmbedList.py:
* src/DisplayTabs/__init__.py:
* src/DisplayTabs/_AddrEmbedList.py:
* src/DisplayTabs/_WebEmbedList.py:
* src/DisplayTabs/_NameEmbedList.py:
* src/DisplayTabs/_EventEmbedList.py:
* src/DisplayTabs/_EmbeddedList.py:
* src/DisplayTabs/_GalleryTab.py:
* src/DisplayTabs/_BackRefList.py:
* src/DisplayTabs/_NoteTab.py:
* src/DisplayTabs/_LocationEmbedList.py:
* src/DisplayTabs/_ButtonTab.py:
* src/DisplayTabs/_DataEmbedList.py:
* src/DisplayTabs/_AttrEmbedList.py:
* src/DisplayTabs/_LdsEmbedList.py:
* src/DisplayTabs/_GrampsTab.py:
* src/Editors/_EditPrimary.py:
* src/Editors/_EditPlace.py:
* src/Editors/_EditSecondary.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditReference.py:
* src/Editors/_EditRepoRef.py:
* src/Editors/_EditNote.py:
* src/Editors/_EditMediaRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditName.py:
* src/Editors/_EditFamily.py:
Add mnemonics for all tabs, eg ALT+S and INSERT to move to sources and
insert a new source.
* src/DisplayTabs/_TextTab.py:
* src/DisplayTabs/Makefile.am:
* po/POTFILES.in:
Remove unused TextTab
svn: r10040
2008-02-15 22:38:47 +00:00
Gary Burton
101048e1ca
* src/Editors/_EditEventRef.py: swap around delete/share buttons, bug #1477
...
2007-12-21 Gary Burton <gary.burton@zen.co.uk >
svn: r9557
2007-12-21 23:14:33 +00:00
Benny Malengier
13bd98097b
2007-12-19 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/Editors/_EditPrimary.py:
* src/Editors/_EditPlace.py:
* src/Editors/_EditSecondary.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditReference.py:
* src/Editors/_EditRepoRef.py:
* src/Editors/_EditNote.py:
* src/Editors/_EditMediaRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditName.py:
* src/DisplayTabs/__init__.py:
* src/DisplayTabs/_GalleryTab.py:
* src/DisplayTabs/_BackRefList.py:
* src/DisplayTabs/_ButtonTab.py:
* src/DisplayTabs/_GrampsTab.py:
Accelator keys on displaytabs, convert _all_ tabs to GrampsTab!
Feature #955 #1438
svn: r9545
2007-12-20 13:49:41 +00:00
Don Allingham
d58641415d
2007-10-08 Don Allingham <don@gramps-project.org>
...
* various: gen.lib integration. probably touches almost every file
* various: gen.utils integration
svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
a65a73d1d7
* various: const.py changes
...
2007-09-07 Don Allingham <don@gramps-project.org >
* src/DateHandler/_Date_fr.py: fix indentation errors
2007-09-07 Don Allingham <don@gramps-project.org >
svn: r8948
2007-09-08 05:54:02 +00:00
Benny Malengier
0182f42307
2007-05-07 Benny Malengier <bm@cage.ugent.be>
...
* src/Editors/_EditPlace.py:
* src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditSource.py:
* src/Editors/_EditRepoRef.py:
* src/Editors/_EditAttribute.py:
* src/Editors/_EditPersonRef.py:
* src/Editors/_EditNote.py:
* src/Editors/_EditPerson.py:
* src/Editors/_EditMediaRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditMedia.py:
* src/Editors/_EditRepository.py:
* src/Editors/_EditName.py:
* src/Editors/_EditChildRef.py:
* src/Editors/_EditFamily.py:
* src/Editors/_EditEvent.py:
* src/RelLib/_NoteType.py:
* src/DisplayTabs/_NoteTab.py:
* src/GrampsWidgets.py:
* TODO:
Implement using a specific notetype instead of General for notes created as part of a
primary or secondary object. Add list of types to ignore for inclusion in MonitoredDataType in a general manner.
List remaining issues in TODO for multiple notes.
svn: r8441
2007-05-07 20:41:16 +00:00
Zsolt Foldvari
be30e422b9
* src/Editors/_EditAddress.py:
...
* src/Editors/_EditLdsOrd.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditMedia.py:
* src/Editors/_EditName.py:
* src/Editors/_EditEvent.py:
* src/glade/gramps.glade:
move date_entry(ValidatableMaskedEntry) out into glade.
2007-03-24 Zsolt Foldvari <zfoldvar@users.sourceforge.net >
svn: r8312
2007-03-24 00:30:14 +00:00
Zsolt Foldvari
8c6223ba1e
2007-03-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
...
* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte
string for parseString.
* src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditMedia.py:
* src/Editors/_EditName.py:
* src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table
with FILL=False yoption for having the validation error tip at right
position.
svn: r8309
2007-03-21 22:11:52 +00:00
Don Allingham
a0d4ea5ab8
* src/Editors/_EditPlace.py: note list support
...
* src/Editors/_EditAddress.py: note list support
* src/Editors/_EditLdsOrd.py: note list support
* src/Editors/_EditSourceRef.py: note list support
* src/Editors/_EditSource.py: note list support
* src/Editors/_EditRepoRef.py: note list support
* src/Editors/_EditAttribute.py: note list support
* src/Editors/_EditPersonRef.py: note list support
* src/Editors/_EditPerson.py: note list support
* src/Editors/_EditMediaRef.py: note list support
* src/Editors/_EditEventRef.py: note list support
* src/Editors/_EditMedia.py: note list support
* src/Editors/_EditRepository.py: note list support
* src/Editors/_EditName.py: note list support
* src/Editors/_EditChildRef.py: note list support
* src/Editors/_EditFamily.py: note list support
* src/Editors/_EditEvent.py: note list support
* src/DisplayTabs/_NoteTab.py: note list support
* src/GrampsDbUtils/_GedcomParse.py: note list support
svn: r8183
2007-02-20 01:36:26 +00:00
Alex Roitman
58b1a424bb
2007-01-22 Alex Roitman <shura@gramps-project.org>
...
* src/Editors/_EditSource.py (query_response): Remove sourcerefs
from repos (indirectly, through secondary objects).
* src/Editors/_EditPlace.py (query_response): Avoid db walk.
* src/DataViews/_FamilyList.py (remove): Set busy cursor.
* src/DataViews/_PlaceView.py (remove): Set busy cursor.
* src/DataViews/_SourceView.py (remove): Set busy cursor.
* src/DataViews/_MediaView.py (remove): Set busy cursor.
* src/DataViews/_EventView.py (remove): Set busy cursor.
* src/DataViews/_RepositoryView.py (remove): Set busy cursor.
* src/Editors/_EditEventRef.py (DelEventQuery): Remove unneeded class.
* src/Filters/Rules/_HasTextMatchingSubstringOf.py: Remove
unneeded import.
* src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py
(cache_sources): Adapt to changes in get_source_referents.
* src/Utils.py (get_source_referents): Use reference map, add
repositories to the search results;
(get_media_referents): Use reference map.
svn: r7958
2007-01-23 03:37:13 +00:00
Martin Hawlisch
838b35e8f2
* src/Editors/*: Switch notebook tabs during DnD
...
svn: r7915
2007-01-16 07:12:10 +00:00
Zsolt Foldvari
ecbfe5bf78
2007-01-09 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
...
* src/GrampsWidget.py: set_completion_mode() added, exact_completion
fixed, cleanup
* src/GrampsLogger/_ErrorView.py: missing help_clicked method added
* src/Editors/_EditEventRef.py: reminder about missing help handle
svn: r7887
2007-01-09 22:10:36 +00:00
Don Allingham
2b30971dc3
2007-01-06 Don Allingham <don@gramps-project.org>
...
* src/Editors/_EditAddress.py: new date entry
* src/Editors/_EditLdsOrd.py: new date_entry
* src/Editors/_EditSourceRef.py: new date_entry
* src/Editors/_EditEventRef.py: new date_entry
* src/Editors/_EditMedia.py: new date_entry
* src/Editors/_EditName.py: new date_entry
* src/Editors/_EditEvent.py: new date_entry
* src/GrampsWidgets.py: add options to ValidatedDateEntry to specify colors and icon
* src/glade/gramps.glade: new date_entry
* src/Errors.py: new date_entry
* src/DateEdit.py: new date_entry
svn: r7872
2007-01-06 22:35:29 +00:00
Martin Hawlisch
a78af64666
* src/Editors/_EditSourceRef.py,
...
* src/Editors/_EditRepoRef.py,
* src/Editors/_EditUrl.py,
* src/Editors/_EditMediaRef.py,
* src/Editors/_EditEventRef.py,
* src/Editors/_EditFamily.py,
* src/DisplayTabs/_NameEmbedList.py,
* src/DisplayTabs/_EmbeddedList.py,
* src/DisplayTabs/_GalleryTab.py,
* src/DisplayTabs/_DataEmbedList.py: Disable some more controls when readonly
svn: r7804
2006-12-15 12:39:28 +00:00
Martin Hawlisch
8059e67938
* src/DataViews/_PedigreeView.py,
...
* src/DataViews/_RelationView.py,
* src/Editors/_EditLdsOrd.py,
* src/Editors/_EditSourceRef.py,
* src/Editors/_EditAttribute.py,
* src/Editors/_EditPerson.py,
* src/Editors/_EditEventRef.py,
* src/Editors/_EditName.py,
* src/DisplayTabs/_ButtonTab.py: Hide some more controls when readonly
svn: r7801
2006-12-14 15:32:33 +00:00
Don Allingham
78195bc5c8
2006-11-25 Don Allingham <don@gramps-project.org>
...
* src/Config/_GrampsConfigKeys.py: remember window size
* src/Editors/_EditAddress.py: remember window size
* src/Editors/_EditSecondary.py: remember window size
* src/Editors/_EditLdsOrd.py: remember window size
* src/Editors/_EditReference.py: remember window size
* src/Editors/_EditUrl.py: remember window size
* src/Editors/_EditRepoRef.py: remember window size
* src/Editors/_EditAttribute.py: remember window size
* src/Editors/_EditPersonRef.py: remember window size
* src/Editors/_EditLocation.py: remember window size
* src/Editors/_EditMediaRef.py: remember window size
* src/Editors/_EditEventRef.py: remember window size
* src/Editors/_EditName.py: remember window size
* src/glade/gramps.glade: remember window size
* data/gramps.schemas.in: remember window size
svn: r7701
2006-11-26 04:39:34 +00:00
Alex Roitman
907cdf2ec2
* src/Editors/_EditPlace.py (_create_tabbed_pages): Fix sources.
...
* src/Editors/_EditPersonRef.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditPerson.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditName.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditMediaRef.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditMedia.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditFamily.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditLdsOrd.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditEventRef.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditEvent.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditChildRef.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditAttribute.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditAddress.py (_create_tabbed_pages): Fix sources.
svn: r7373
2006-10-09 02:45:26 +00:00
Don Allingham
c95d16c782
debug test
...
svn: r7369
2006-10-08 04:29:48 +00:00
Alex Roitman
8f188fee5e
* src/GrampsDb/_ReadXML.py (start_attribute): Support attributes
...
in event and eventref;
(stop_cause): Create attribute on cause tag.
* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
* data/grampsxml.rng: Document XML changes (xml 1.1.2).
* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
(write_event): write attributes, remove cause.
svn: r7182
2006-08-15 20:59:12 +00:00
Don Allingham
edfef7d661
2006-08-13 Don Allingham <don@gramps-project.org>
...
* src/Editors/_EditEventRef.py: add attribute list, remove cause
* src/Editors/_EditEvent.py: add attribute list, remove cause
* src/glade/gramps.glade: event fixes
svn: r7172
2006-08-14 03:32:20 +00:00
Don Allingham
e593f5fd33
* various: pyflakes fixes
...
svn: r6982
2006-07-03 04:25:33 +00:00
Don Allingham
bb9b456824
2006-06-20 Don Allingham <don@gramps-project.org>
...
* src/Editors/_EditEvent.py: focus on date on open
* src/Editors/_EditEventRef.py: focus on date on open
* src/UndoHistory.py: don't attempt to unregister with the window
manager, since not registered to begin with
svn: r6926
2006-06-20 15:01:27 +00:00
Alex Roitman
c531fc65bc
2006-05-21 Alex Roitman <shura@gramps-project.org>
...
* src/DisplayTabs/_PersonEventEmbedList.py
(PersonEventEmbedList.default_type): properly process event list.
* src/Editors/_EditEventRef.py (EditEventRef.get_custom_events):
Use correct method.
* src/Editors/_EditEvent.py (EditEvent.get_custom_events)
(EditPersonEvent.get_custom_events): Use correct method.
* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.
svn: r6735
2006-05-21 18:17:52 +00:00
Don Allingham
230ec2bf8a
2006-05-20 Don Allingham <don@gramps-project.org>
...
* src/Editors/_EditPlace.py: custom menus
* src/Editors/_EditLdsOrd.py: custom menus
* src/Editors/_EditSourceRef.py: custom menus
* src/Editors/_EditSource.py: custom menus
* src/Editors/_EditRepoRef.py: custom menus
* src/Editors/_EditUrl.py: custom menus
* src/Editors/_EditAttribute.py: custom menus
* src/Editors/_EditPerson.py: custom menus
* src/Editors/_EditLocation.py: custom menus
* src/Editors/_EditMediaRef.py: custom menus
* src/Editors/_EditEventRef.py: custom menus
* src/Editors/_EditMedia.py: custom menus
* src/Editors/_EditRepository.py: custom menus
* src/Editors/_EditName.py: custom menus
* src/Editors/_EditChildRef.py: custom menus
* src/Editors/_EditFamily.py: custom menus
* src/Editors/_EditEvent.py: custom menus
svn: r6734
2006-05-21 04:24:56 +00:00
Don Allingham
0a2c8f684f
* src/Editors/_EditEventRef.py: new SelectPlace interface, remove
...
old code
svn: r6696
2006-05-17 20:21:16 +00:00
Don Allingham
9b03472a0a
2006-05-17 Don Allingham <don@gramps-project.org>
...
* src/Editors/_EditPlace.py: new SelectPlace interface
* src/Editors/_EditEventRef.py: new SelectPlace interface
* src/Editors/_EditEvent.py: new SelectPlace interface
* src/GrampsWidgets.py: new Place editor interface
svn: r6695
2006-05-17 19:32:19 +00:00
Don Allingham
56a3b7ef20
* src/DateEdit.py: ManagedWindow
...
* src/Editors/_EditAddress.py: new DateEdit interface
* src/Editors/_EditLdsOrd.py: new DateEdit interface
* src/Editors/_EditSourceRef.py: new DateEdit interface
* src/Editors/_EditEventRef.py: new DateEdit interface
* src/Editors/_EditMedia.py: new DateEdit interface
* src/Editors/_EditName.py: new DateEdit interface
* src/Editors/_EditEvent.py: new DateEdit interface
* src/GrampsWidgets.py: new DateEdit interface
svn: r6559
2006-05-06 03:14:13 +00:00
Don Allingham
dcd9927969
* src/glade/gramps.glade: add call name field, add id fields
...
* src/glade/edit_person.glade: add call name field
* src/DataViews/_PersonView.py: start of filter sidebar,
use hbox instead of hpaned
* src/Editors/_EditPlace.py: add ID field
* src/Editors/_EditSource.py: add ID field
* src/Editors/_EditEventRef.py: add ID field
* src/Editors/_EditEvent.py: add ID field
svn: r6551
2006-05-05 13:25:24 +00:00
Alex Roitman
6169cecbd3
In .:
...
2006-05-04 Alex Roitman <shura@gramps-project.org >
* src/DisplayTabs.py: remove file.
* src/DisplayTabs: Add package.
In po:
2006-05-04 Alex Roitman <shura@gramps-project.org >
* POTFILES.in: Add new files.
svn: r6546
2006-05-05 00:39:11 +00:00
Don Allingham
9d695790d0
2006-04-27 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
* src/Editors/_EditEventRef.py: fix custom event storing
* src/Editors/_EditEvent.py: fix custom event storing
* src/GrampsWidgets.py: fix custom data types
* src/AutoComp.py: fix custom data types
svn: r6480
2006-04-28 03:32:04 +00:00
Alex Roitman
093cbe0775
Update
...
svn: r6426
2006-04-23 22:43:36 +00:00
Alex Roitman
cd4ee9ca0b
2006-04-23 Alex Roitman <shura@gramps-project.org>
...
* src/Utils.py: Make set_titles call ManagedWindow.set_titles
with warning.
* src/ManagedWindow.py: move set_titles here.
* src/plugins/FilterEditor.py: Use new set_window method.
* src/Editors/_Edit*.py: new set_window method.
svn: r6425
2006-04-23 22:18:01 +00:00
Don Allingham
d384497dd9
pychecker fixes
...
svn: r6407
2006-04-22 03:23:57 +00:00
Don Allingham
313c93cd03
fix display of shared info warning box
...
svn: r6384
2006-04-20 22:32:17 +00:00
Don Allingham
bd7b3136e8
2006-04-19 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_EventView.py: more GrampsTypes changes
* src/DataViews/_PedigreeView.py: more GrampsTypes changes
* src/RelLib/_ChildRef.py: more GrampsTypes changes
* src/RelLib/_Family.py: more GrampsTypes changes
* src/RelLib/_Repository.py: more GrampsTypes changes
* src/RelLib/_Event.py: more GrampsTypes changes
* src/Editors/_EditPerson.py: more GrampsTypes changes
* src/Editors/_EditEventRef.py: more GrampsTypes changes
* src/Editors/_EditEvent.py: more GrampsTypes changes
* src/PeopleModel.py: more GrampsTypes changes
* src/DisplayTabs.py: more GrampsTypes changes
* src/GrampsWidgets.py: more GrampsTypes changes
* src/Utils.py: more GrampsTypes changes
* src/PageView.py: more GrampsTypes changes
svn: r6373
2006-04-20 03:10:23 +00:00
Don Allingham
41a9e9205c
GrampsType support for FamilyRelations, Events
...
svn: r6371
2006-04-19 22:59:33 +00:00
Alex Roitman
57d6df04c9
* various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
...
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
371c34ef1b
remember custom attributes/events
...
svn: r6248
2006-03-31 23:46:34 +00:00
Alex Roitman
93add4967a
* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
...
svn: r6155
2006-03-16 20:24:27 +00:00
Don Allingham
1c147b3cd3
commit places properly
...
svn: r6125
2006-03-10 02:46:19 +00:00
Don Allingham
f5fc3e8cd6
event ref commit
...
svn: r6090
2006-03-06 05:43:47 +00:00
Don Allingham
71b3c72d70
relocate glade files
...
svn: r6075
2006-03-04 22:53:46 +00:00
Don Allingham
c45e1dd68a
installation fixes
...
svn: r6068
2006-03-04 06:34:48 +00:00