Commit Graph

138 Commits

Author SHA1 Message Date
Alex Roitman
6e7c46ba8a * src/gramps_main.py (__init__): Pass parent window to DbPrompter.
* src/DbPrompter.py (show): Gracefully deal with empty parent.


svn: r2106
2003-09-08 12:14:34 +00:00
Alex Roitman
727cbff2da * src/gramps_main.py (new_database_response,read_file,save_file):
Pass parent window to DbPrompter.
* src/DbPrompter.py (__init__): Accept optional parent argument;
(show): Make the window the transient for the main window.
* src/gramps.glade: Make Opendb dialog modal.


svn: r2103
2003-09-08 04:12:43 +00:00
Don Allingham
a0c10c2203 * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate


svn: r2098
2003-09-07 14:16:25 +00:00
Alex Roitman
99cc57c470 * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.
(post_load): Select the person with the alphabetically lowest ID
to be active if no home person is set. Fixes 793127.
(goto_active_person): Create alpha page if it does not exist.
* src/FamilyView.py (init_interface): Do not connect handlers to
events if they already exist;
(set_widgets): Set correct page before hiding the old one. Fixes
resizing issue on applying preferences after changing Family View
layout.


svn: r2087
2003-09-03 04:57:36 +00:00
Alex Roitman
d3cd682eaf * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.


svn: r2084
2003-09-03 00:54:55 +00:00
Tim Waugh
d5bee0d775 2003-09-02 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py: Fixed start-up view when family view style
        is the default.


svn: r2082
2003-09-02 21:22:11 +00:00
Alex Roitman
a49d27a6eb * src/gramps_main.py (load_selected_people): Only invoke Edit person
dialog if the active person is selection in the current alpha- page;
(change_alpha_page): Enable person-centered buttons only if the
selection is visible in the current page;
(build_people_context_menu): Enable Add bookmark and Edit/Remove only
if the selection is visible in the current page.


svn: r2068
2003-08-31 05:12:30 +00:00
Alex Roitman
77a0a7f728 * src/gramps_main.py: Enable context menu for an empty people view.
* src/FamilyView.py: Cleanups for the case of empty database.


svn: r2063
2003-08-30 23:14:00 +00:00
Alex Roitman
18454e96b5 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Don Allingham
5d18912711 * src/gramps_main.py: reinitialize interface after preferences
has been clicked.


svn: r2052
2003-08-27 03:46:27 +00:00
Alex Roitman
7dc824487c * src/gramps.glade: Minor cleanups for the alternate family view.
* src/gramps_main.py: Likewise.


svn: r2050
2003-08-26 04:26:09 +00:00
Don Allingham
74667d39bc * src/gramps.glade: move alternate family view tab, assign a
few object names
* src/FamlyView.py: handle alternate family view
* src/preferences.glade: allow user to choose family view
* src/GrampsCfg.py: allow user to choose family view
* src/gramps_main.py: allow user to choose family view


svn: r2047
2003-08-26 03:45:41 +00:00
Alex Roitman
3b8a6aec8f * src/gramps_main.py (init_interface): Call PedView with self as parent;
(set_buttons,change_active_person): Fix enabling the buttons.


svn: r2044
2003-08-25 20:38:35 +00:00
Alex Roitman
313faca8da * src/PedView.py (PedigreeView.__init__): Add parent argument to the
constructor. Connect to the handling function on button press over the
canvas to enable context menu;
(on_canvas_press, build_nav_menu): Add functions to enable context menu.
* src/gramps_main.py (init_interface): Call PedView with self as parent.
* src/PlaceView.py (merge): Change error message from people to places.


svn: r2042
2003-08-25 14:00:26 +00:00
Alex Roitman
c0d79487b5 * src/gramps_main.py (change_active_person): Cleanup with
enabling/disabling add/edit/remove buttons in different views upon the
active person change.


svn: r2041
2003-08-25 05:03:36 +00:00
Alex Roitman
aa861a39db Add a limit of 20 for the Back/Forward history popup menus.
Add hotkeys for these menus;
(change_active_person): Fix sensitivity of Back/Forward buttons;
(build_people_context_menu): Add new items to the People View's context
menu (Home and Add Bookmark);
(change_alpha_page): Fix context menu upon changing pages.


svn: r2027
2003-08-19 14:46:34 +00:00
Alex Roitman
f77ca9b479 * src/gramps_main.py (build_backhistmenu,build_fwdhistmenu):
Limit of 20 for the Back/Forward history menus.
Add hotkeys for these menus.


svn: r2025
2003-08-19 12:39:05 +00:00
Alex Roitman
e4dd91c55f Enable context menu upon right-click in the People View with Back,
svn: r2022
2003-08-19 02:55:27 +00:00
Alex Roitman
b1f34817a6 * src/gramps_main.py: Enable context menus with back and forward
portions of history upon right-clicking on Back and Forward buttons.
* src/gramps.glade: Add handlers for the context menus.


svn: r2021
2003-08-19 00:34:09 +00:00
Alex Roitman
ed0fd7f134 * src/gramps_main.py: Better behavior for the history menu.
svn: r2019
2003-08-17 16:07:06 +00:00
Alex Roitman
e6ce232335 * src/gramps_main.py: Functional history submenu of the Go menu.
svn: r2018
2003-08-17 04:01:52 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
8178a7f82e * src/gramps_main.py (change_active_person): Small fix for disabling
back button.
* src/gramps_main.py: Add enabling/disabling for the new back/fwd menu
items.


svn: r2015
2003-08-16 05:06:24 +00:00
Don Allingham
66d35b9df4 * src/gramps.glade: New tool icon
* src/gramps_main.py: handle back/fwd buttons, disabling when
not appropriate
* src/people48.png: new image
* src/family48.png: new image
* src/tools.png


svn: r2012
2003-08-16 03:22:56 +00:00
Don Allingham
53c3da4a2d * src/gramps_main.py: implement a basic history mechanism
* src/gramps.glade: add back and forward buttons


svn: r2000
2003-08-14 03:51:19 +00:00
Don Allingham
a5d499fe20 * src/AddMedia.py: set title for image select dialog
* src/DbPrompter.py: set default path in database file entry box
* src/gramps_main.py: set default path in database file entry box
* src/ImageSelect.py: set default path in image select file entry box,
keep track of last directory used
* src/Report.py: set default path in report file entry box
* src/imagesel.glade: enlarge image select dialog box


svn: r1997
2003-08-13 04:28:07 +00:00
Don Allingham
d3333e1265 * src/gramps_main.py: apply the filter after a load of the database,
allow default view to be set
* src/GrampsCfg.py: handle the defaultview key to allow the user to
choose Family or People view as the default
* src/preferences.glade: defaultview settings


svn: r1993
2003-08-12 03:01:17 +00:00
Alex Roitman
0ff39d38a0 * src/gramps_main.py (save_file): Remove statusbar.set_pulse_step()
call because gnome.ui.AppBar does not have such method.


svn: r1958
2003-08-03 05:41:08 +00:00
Don Allingham
40619fa17f * src/gramps_main.py: handle status bar message with autosave
* src/FamilyView.py: add right-context menus in the family view


svn: r1947
2003-08-01 03:38:51 +00:00
Don Allingham
36ca5fbec9 * src/ChooseParents.py: Used EditPerson dialog instead of quick add,
select added parent in list
* src/gramps_main.py: eliminated importing of string, display
error if no person selected when trying to export
* src/ListModel.py : explicitly delete renderers and columns due
to memory leak in pygtk 1.99.16
* src/PlaceView.py: explictly delete model due to above memory leak
* src/plugins/pkgexport.glade: don't set height of window
* src/plugins/WriteFtree.py: export to Web Family Tree


svn: r1942
2003-07-31 11:58:08 +00:00
Don Allingham
80e6b47bfb * src/gramps_main.py: handle autosave more gracefully
svn: r1940
2003-07-29 04:36:13 +00:00
Don Allingham
2d71fb6768 * src/ListModel.py: set the cell renderers to a fixed size
to improve performance
* src/PlaceView.py: set the cell renderers to a fixed size
to improve performance
* src/SourceView.py: set the cell renderers to a fixed size
to improve performance
* src/Sources.py: set the cell renderers to a fixed size
to improve performance
* src/Utils.py: set the cell renderers to a fixed size
to improve performance
* src/gramps_main.py: prevent double loading of place_view


svn: r1931
2003-07-27 03:50:57 +00:00
Alex Roitman
f8d2f86295 * src/gramps_main.py (open_example): Fix destination name when copying
files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.


svn: r1901
2003-07-18 06:17:28 +00:00
Alex Roitman
1a5fb683a9 * src/gramps_main.py: Replace old "file-should-be-directory" message.
* src/StartupDialog.py: Minor typos.
* src/plugins/Verify.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/book.glade: Likewise.
* src/MediaView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/po/template.po: Update the above corrections in template.


svn: r1894
2003-07-17 02:37:28 +00:00
Don Allingham
e4a1d75f14 * src/DisplayTrace.py: identify more linux versions
svn: r1803
2003-06-30 03:07:24 +00:00
Don Allingham
00c9985d60 * src/plugins/ReadGedcom.py: removed unused variable
* src/latin_utf8.py: explicity state iso-8859-1 to unicode translation
* src/gramps_main.py: handle clearing of tabs better, eliminating
spurious tabs being added on a complete rebuild of the tabs.


svn: r1782
2003-06-26 02:53:04 +00:00
Don Allingham
c5a32dfae8 update
svn: r1775
2003-06-25 03:36:48 +00:00
Don Allingham
cf54cbc309 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Don Allingham
8189febf02 * src/preferences.glade: Don't immediately show preferences dialog
* src/GrampsCfg.py: Handle new callback for preferences dialog
* src/gramps_main.py: Pass update_display instead of full_update to
loadConfig to prevent the displaying of multiple entries on the display.


svn: r1738
2003-06-14 14:47:41 +00:00
Alex Roitman
8edebcad36 * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Don Allingham
8e21af4a49 Catch loops in filters
svn: r1583
2003-05-23 04:08:03 +00:00
Don Allingham
4021237d5f Fixed loading of places and goto person switching back to first page
svn: r1580
2003-05-23 01:47:36 +00:00
Don Allingham
5c8fcf4c3f Pass the correct object to apply_filter when apply is clicked
svn: r1570
2003-05-22 03:15:48 +00:00
Alex Roitman
0ad11c728c Segfault on changing tab with filter applied
svn: r1569
2003-05-22 01:25:23 +00:00
Alex Roitman
282cd6732d Updates
svn: r1568
2003-05-21 22:08:09 +00:00
Alex Roitman
41f848f53c Finishing command line options
svn: r1564
2003-05-21 18:06:41 +00:00
Alex Roitman
f5c9c8f2cd Command line imports: gedcom and iso
svn: r1552
2003-05-20 20:31:16 +00:00
Alex Roitman
7eded566a4 Unknown option handling
svn: r1551
2003-05-20 19:21:23 +00:00
Alex Roitman
9dbba654e5 Command line export-> default to gramps
svn: r1549
2003-05-20 18:33:14 +00:00
Alex Roitman
697e5cb456 Correction
svn: r1547
2003-05-20 04:52:44 +00:00