Commit Graph

263 Commits

Author SHA1 Message Date
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
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
Brian Matherly
814d721f68 Remove QuestionDialog dependency from gen. The database now raises exceptions and the GUI generates the question dialog.
svn: r13865
2009-12-20 22:44:32 +00:00
Gary Burton
b7169ff0b0 Fix bug 2926. Two references created when dropping media onto gallery tab
svn: r13858
2009-12-20 17:24:28 +00:00
Brian Matherly
806bd63ca2 Continued work on GEP008: Move GrampsDbUtils/_Backup.py to gen/db/backup.py.
svn: r13856
2009-12-20 04:30:28 +00:00
Nick Hall
7b9bd62734 Bug fix for trees with handles on non-leaf nodes
svn: r13845
2009-12-18 15:55:05 +00:00
Gerald Britton
a52663d0cd tweak replacing for-loop with call to map() function
svn: r13838
2009-12-17 16:21:37 +00:00
Doug Blank
b4512427af Small little crash fix
svn: r13834
2009-12-17 04:38:33 +00:00
Nick Hall
bfd2a9629f Improved export for hierarchical views
svn: r13830
2009-12-16 22:56:55 +00:00
Nick Hall
a921cc784f 3433: Fix hierarchy problem in place view
svn: r13828
2009-12-16 19:40:53 +00:00
Gerald Britton
85c307d174 Simplification using list comprehension
svn: r13826
2009-12-16 17:51:53 +00:00
Peter Landgren
18eff92c76 Fixed some uppercase in filenames to lowercase.
svn: r13822
2009-12-16 08:07:52 +00:00
Brian Matherly
2f1c04169a move src/DisplayTabs/* to src/gui/editors/displaytabs as part of GEP008
svn: r13821
2009-12-16 06:11:06 +00:00
Gerald Britton
0512137d35 tweak using enumerate() instead of more complicated zip(range(len())) alternative
svn: r13809
2009-12-15 16:21:38 +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
35a29e9ef5 add widgets to src/gui/Makefile and po/POTFILES
svn: r13802
2009-12-14 12:48:27 +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
58dc389e48 Sometimes, the pending events can get into an infinite loop of causing more events to be handled; this fix makes it finite
svn: r13778
2009-12-12 17:01:06 +00:00
Doug Blank
b1254d7820 gtk is hidden in methods to not import it overall for cli
svn: r13777
2009-12-12 13:03:57 +00:00
Rob G. Healey
8af5f5f532 Moved "import gtk" from several different places to the area where all imports are located. Had a problem with set_header() in class progressMeter.
svn: r13774
2009-12-12 07:41:09 +00:00
Gerald Britton
54e5538c2d Readability and performance tweaks
svn: r13767
2009-12-11 17:30:54 +00:00
Gerald Britton
a82b115192 Tweaks
svn: r13752
2009-12-10 21:06:00 +00:00
Doug Blank
0cf5665a78 3426: No "invalid_date_format" definition on peoplemodel
svn: r13739
2009-12-08 00:24:56 +00:00
Doug Blank
ca061d3607 Refinements to ProgressMeter and ProgressMonitor for cancelling
svn: r13720
2009-12-06 01:16:17 +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
Peter Landgren
0b711b211c Third update for consistent use of Gramps. See issue 3355.
svn: r13633
2009-11-19 17:32:11 +00:00
Jérôme Rapinat
22b476be8a 3343: Misnamed report format. Open Document to OpenDocument
svn: r13632
2009-11-19 11:13:39 +00:00
Peter Landgren
900d1c57f4 Second update for consistent use of Gramps. See issue 3355.
svn: r13611
2009-11-17 20:45:58 +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
0e87714de3 Fix bug in new place view with empty places
svn: r13608
2009-11-17 10:28:13 +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
Doug Blank
f272ce3dd1 Move gtk-based items out of scope of import for cli
svn: r13599
2009-11-16 22:39:54 +00:00
Doug Blank
e9366e26b6 fixed typo
svn: r13595
2009-11-16 00:38:43 +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
319ca153a3 register the gramps-view icon
svn: r13589
2009-11-15 13:23:16 +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
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
Benny Malengier
eea7ba35c7 enable change of sortkey moves rows in flat views
svn: r13527
2009-11-07 23:38:49 +00:00
Benny Malengier
a5ac3beda9 one way of converting the sortkey, not two
svn: r13520
2009-11-07 13:50:10 +00:00
Benny Malengier
1b556586a4 3275: PageView reworking main work by Nick Hall
Moving personview to the new pageview classes, and using a generic 
treebasemodel


svn: r13515
2009-11-07 13:04:45 +00:00
Nick Hall
f697451301 Fixed error when opening two plugin status windows
svn: r13501
2009-11-05 16:49:35 +00:00
Benny Malengier
ffd61918c4 fix svn properties
svn: r13472
2009-10-31 08:15:10 +00:00
Benny Malengier
ab302b4673 Use Utils to check for Windows instead of string compare
svn: r13459
2009-10-29 21:56:31 +00:00
Benny Malengier
ebc34c4a71 add missing pluginmanager
svn: r13414
2009-10-25 18:43:01 +00:00
Benny Malengier
d25cdc3958 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager


svn: r13405
2009-10-25 13:52:29 +00:00
Benny Malengier
79b6708163 03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Part 2: update plugin status: show registered, allow hide/unhide of 
        plugins


svn: r13403
2009-10-24 20:27:10 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Benny Malengier
5504df77ba 3275: PageView reworking-pageview3.patch
svn: r13364
2009-10-11 06:36:56 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Benny Malengier
53251826f7 3275: PageView reworking - change all non person views to new classes
svn: r13343
2009-10-07 20:51:12 +00:00
Rob G. Healey
e2d1949cf1 New files: listview.py, navigationview.py, and pageview.py were added to the subdirs portion of the Makefile.am, so I put them where they belonged. Running autogen.sh && make will now complete.
svn: r13341
2009-10-07 20:28:18 +00:00
Benny Malengier
9a8b5d8743 3275: PageView reworking-adding the new files 2
svn: r13339
2009-10-07 19:58:14 +00:00
Benny Malengier
08b4f8a510 3275: PageView reworking-adding the new files 2
svn: r13338
2009-10-07 19:53:34 +00:00
Benny Malengier
fce9b37a08 3275: PageView reworking-adding the new files
svn: r13337
2009-10-07 19:50:00 +00:00
Gerald Britton
fa0805dc60 Bug 0003063: gtk.Tooltips is deprecated -- first batch of updates
svn: r13335
2009-10-07 18:15:18 +00:00
Benny Malengier
2de9aa8404 3217: All views except Person View are NOT updated when adding or deleting entries
svn: r13319
2009-10-06 19:13:28 +00:00
Serge Noiraud
5b2ed0dafa GeoView : Split in two parts : HtmlRenderer and GeoView.
Adding two icons for map provider selection.
          We now can zoom in and out with the wheel mouse.
          It's possible to save the zoom between the maps.
          The zoom, latitude, longitude and map is now saved
          when we quit gramps:
          only if you use the save zoom between maps.
          Issue 3150, 3152 included.


svn: r13166
2009-09-07 21:13:38 +00:00
Gerald Britton
1587cb8ad1 Implement restructured database objects
svn: r13139
2009-08-31 18:42:29 +00:00
Benny Malengier
43663bbee7 Start with fix up of connects to db in relationview.
Fix calling method of signals to a shorter algorithm based on lambda 
func


svn: r13115
2009-08-24 21:44:15 +00:00
Raphael Ackermann
d5f186e3ee import cleanup & doc fixes
svn: r12974
2009-08-12 09:56:07 +00:00
Raphael Ackermann
d6559f9044 0003064: Remove check for libglade in configure
Removed all references to gtk.glade & libglade

svn: r12951
2009-08-10 21:25:13 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Benny Malengier
ee69317b62 Fix for: 1277: database corroption on delete outside of DisplayTabs while tab open
Introduces the concept of callman.py as one single way to follow handles an
interface is interested in. 
dbguielement.py contains a small base class using that, usable for all windows/
guielements that need to track database changes to handles


svn: r12881
2009-08-05 10:32:05 +00:00
Rob G. Healey
c56a762c91 Added set_header() to ProgressMeter from Bob Harm. Changes to stylesheet once more.
svn: r12856
2009-08-02 02:07:39 +00:00
Doug Blank
cfd4c5e300 Removed 'self' left over from conversion from method to function.
svn: r12820
2009-07-19 23:58:32 +00:00
Benny Malengier
c2c937ae5d avoid crash when update on object not seen in model
svn: r12811
2009-07-16 21:47:06 +00:00
Benny Malengier
cf506f544e fix make install failing
svn: r12803
2009-07-16 09:17:40 +00:00
Benny Malengier
d49e1f0ec7 update documentation
svn: r12780
2009-07-10 08:46:18 +00:00
Benny Malengier
0d7c048052 svn id tag
svn: r12764
2009-07-04 15:55:43 +00:00
Benny Malengier
4b9bf10c07 bug fix, correctly query system
svn: r12763
2009-07-04 10:21:10 +00:00
Benny Malengier
c8ef93f120 Correct localized sort in windows using os encoding in the flat views
svn: r12761
2009-07-03 22:00:58 +00:00
Benny Malengier
d97e62fa27 optimization suggested by Gerald to avoid append
svn: r12734
2009-06-29 20:46:00 +00:00
Benny Malengier
4e974dc0e1 add missing Makefile and suggestions by Gerald
svn: r12730
2009-06-29 18:15:28 +00:00
Benny Malengier
f07a12766a Further optimization in the flatbasemodel:
* keep list of all possible keys in memory so database is no longer touched 
     for the searches. ==> a search is faster
   * bug fixes to previous patch set: show total and displayed number correctly


svn: r12726
2009-06-29 13:37:15 +00:00
Benny Malengier
7a5e5f4476 bug fix, on delete return old path of deleted row
svn: r12725
2009-06-28 22:07:18 +00:00
Benny Malengier
d182a5797f some pylint fixes
svn: r12724
2009-06-28 21:47:04 +00:00
Benny Malengier
fb6967d000 optimization and cleaning of the base model for flat treeviews
svn: r12723
2009-06-28 21:15:10 +00:00
Benny Malengier
dc354dfd4f [Emrys] 2896: Macports 3.0.4 cannot view images
svn: r12716
2009-06-26 09:46:06 +00:00
Benny Malengier
e5d8544a6c [Emrys] 2896: Macports 3.0.4 cannot view images
svn: r12714
2009-06-26 09:44:12 +00:00
Peter Landgren
7390f38f61 Reminder to change call to pixbuf.add_alpha in later version of gtk/pygtk.
svn: r12692
2009-06-22 07:50:04 +00:00
Rob G. Healey
4bc5a34938 Changed utilsgui.py to utils.py in src/gui/Makefile.am! Would not allow make install to complete.
svn: r12690
2009-06-21 06:26:51 +00:00
Benny Malengier
0a3e869361 Add missing file grampsgui and make utilsgui just gui
svn: r12681
2009-06-19 15:26:51 +00:00
Benny Malengier
9d417e2cd6 Split Utils in a non GUI and GUI part
move GrampsCfg utils to Utils
improve import strategy


svn: r12680
2009-06-19 15:23:58 +00:00
Benny Malengier
5f77bfea3b pylint fixes and bug fixes for CLI/GUI split
svn: r12677
2009-06-19 08:46:17 +00:00
Benny Malengier
4b7692708c Split CLI from GUI. These changes allow CLI to work without GTK
Part 1. To do: pylint on new files.


svn: r12674
2009-06-18 21:56:37 +00:00
Benny Malengier
38876a32a5 GEPS 008: File Organization
svn: r12667
2009-06-15 19:02:15 +00:00