From bd668004f87cb42f168506182a42e36df6f87ca6 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 25 Sep 2001 14:33:39 +0000 Subject: [PATCH] improved configure, handing of photos better in the place gallery svn: r427 --- gramps/configure.in | 1 - gramps/doc/gramps-manual/C/gramps-manual.sgml | 155 +++++++++--------- gramps/src/EditPlace.py | 2 +- gramps/src/Makefile.in | 5 +- 4 files changed, 82 insertions(+), 81 deletions(-) diff --git a/gramps/configure.in b/gramps/configure.in index 794cd2da1..6adb17175 100644 --- a/gramps/configure.in +++ b/gramps/configure.in @@ -17,7 +17,6 @@ AC_SUBST(PYTHON_VERSION) AC_SUBST(PACKAGE) AC_SUBST(GNOMEHELP) AC_SUBST(LIBS) -AC_SUBST(INCS) AC_PROG_INSTALL AC_PROG_MAKE_SET diff --git a/gramps/doc/gramps-manual/C/gramps-manual.sgml b/gramps/doc/gramps-manual/C/gramps-manual.sgml index 9a9169d4c..fbf0ca175 100644 --- a/gramps/doc/gramps-manual/C/gramps-manual.sgml +++ b/gramps/doc/gramps-manual/C/gramps-manual.sgml @@ -154,7 +154,7 @@ - The second page of the start up screens will prompt you for + The second page of the start-up screens will prompt you for some personal information. This information is optional, and can be changed at any time. The information will be used to establish your copyright on the information, and to provide @@ -201,10 +201,11 @@ OK to import the file. The GEDCOM Import Status will tell you what the importer is doing and a little bit about your file (file - location, what program it was created by, the version, Encoding, + location, which program created it, the version, Encoding, Number of Families, Number of People, and the Number of Errors). - Once the Importer is done, you can click close and start - editing/adding to your file. + Once the Importer is done, you can click + Close and start editing/adding to your + file. @@ -227,7 +228,7 @@ Source button and/or a Note button. These buttons are there to add more information (Source button to - add the source of where you got the information and the + add the source of where you acquired the information and the Note button to add more detail to the information) @@ -242,7 +243,7 @@ The People View window is the initial view seen on the main window. It displays the name, gender, birth date, and death date of all individuals in the database. At any time, you can - return to the this view either by pressing the + return to this view either by pressing the People button at the top of the screen, or by choosing the @@ -325,12 +326,12 @@ in the list can be sorted by three of the fields: Name, Birth Date, or Death Date. Clicking on the column label will cause the list to be re-sorted by that column. Arrows on the label - indicate whether the list is sort by ascending or descending + indicate whether the list is sorted by ascending or descending order. If the list is already sorted by a particular column, clicking - on the same column label will switch sorting order. For + on the same column label will switch the sorting order. For example, if the list is currently sorted in ascending order by Name, clicking on the Name column header will re-sort the list in descending order. @@ -356,7 +357,7 @@ The General Information tab contains the basic information about the person. This includes the person's name, gender, birth - informaton, and death informaton. + information, and death information. If images have been associated with the person, the primary @@ -375,7 +376,7 @@ It is possible for people to use more than one name during their - lifetime. These may be legal names changes, or just informal + lifetime. These may be legal name changes, or just informal names. An example would be a person changing his or her name due to marriage or adoption. GRAMPS allows multiple alternate names to be specified for each person. @@ -383,10 +384,10 @@ The Alternate Names tab allows additional names to be added or removed from list. Clicking the - Add allows a new name to be added to the - list. The Edit/View allows the selected - alternate name to be edited. The Delete - removes the selected name. + Add button allows a new name to be added + to the list. The Edit/View allows the + selected alternate name to be edited. The + Delete button removes the selected name. @@ -399,7 +400,7 @@ choose. - An event consists of a name of an event (such as "Baptism" or + An event consists of the name of an event (such as "Baptism" or "Education"), a date or date range on which the event occurred, the place where the event occurred, and a description of the event. A note or a source may also be attached to the event. @@ -439,11 +440,11 @@ the window. - An event may be added by by clicking the - Add button. This displays a form which - allows you to enter the information about the particular - event. The Edit/View button allows to view - or alter the information of the currently displayed event. The + An event may be added by clicking the Add + button. This displays a form that allows you to enter the + information about the particular event. The + Edit/View button allows to view or to + alter the information of the currently displayed event. The Delete button allows you to delete the currently displayed event. @@ -452,9 +453,10 @@ Attributes Tab Attributes are similar to events, but are for information items - that do not necessary have the concept of a place or a date. An - example would be person's Social Security Number or National - origin. Attributes consist of an attribute name and its value. + that do not necessarily have the concept of a place or a + date. An example would be a person's Social Security Number or + national origin. Attributes consist of an attribute name and its + value. Like events, attributes may also have a note, source, privacy @@ -477,11 +479,11 @@ the top of the window. - An attribute may be added by by clicking the - Add button. This displays a form which + An attribute may be added by clicking the + Add button. This displays a form that allows you to enter the information about the particular attribute. The Edit/View button allows to - view or alter the information of the currently displayed + view or to alter the information of the currently displayed attribute. The Delete button allows you to delete the currently displayed attribute. @@ -491,10 +493,10 @@ Addresses are used to record information about where a person has lived. Addresses are different from - GRAMPS' concept of a place. A address - as GRAMPS sees it consists of an - equivalent of a mailing address and the date or date range when - the person lived at the address. + GRAMPS' concept of a place. An + address, as GRAMPS sees, it consists + of an equivalent of a mailing address and the date or date range + when the person lived at the address. Like events and attributes, addresses may also have a note, @@ -518,11 +520,11 @@ the top of the window. - An address may be added by by clicking the - Add button. This displays a form which + An address may be added by clicking the + Add button. This displays a form that allows you to enter the information about the particular address. The Edit/View button allows to - view or alter the information of the currently displayed + view or to alter the information of the currently displayed address. The Delete button allows you to delete the currently displayed address. @@ -562,7 +564,7 @@ are advantages and disadvatages to both approaches. Refering to an external copy reduces disk space. Allowing GRAMPS to make its own copy - eliminates allows GRAMPS to still have the image if the orignal + allows GRAMPS to still have the image if the original is altered, deleted, or moved. It also simplifies the transfer of a database from one machine to another. @@ -639,9 +641,9 @@ Frequently, information about a person is available on the internet, frequently on someone else's web site. With multiple - people researching the same family, is desirable to keep track + people researching the same family, it is desirable to keep track of internet sites that contain information about someone in your - database. This allows you to keep track of the web sites you you + database. This allows you to keep track of the web sites you can periodically check them for any addition information.
@@ -666,8 +668,8 @@ to display the site using the GNOME default browser. - An internet address may be added by by clicking the - Add button. This displays a form which + An internet address may be added by clicking on the + Add button. This displays a form that allows you to enter the information about the internet address. This information consists of the web address (URL) and a description of the location. The @@ -682,7 +684,7 @@ Family View The Family View window displays the spouses, parents, and children - of the active person. At any time, you can return to the this view + of the active person. At any time, you can return to this view either by pressing the Family button at the top of the screen, or by choosing the @@ -702,7 +704,7 @@ In the Family View, the family information related to the active person is displayed. This information falls into two categories: - families in which the person is a child, and families in which + families in which the person is a child, and families in which the person is a spouse or parent. @@ -714,7 +716,7 @@ family relationships for each person. For example, a person may have natural birth parents and adopted parents. In this case, an option menu will appear below the parents names, allowing you to - choose which set of parents you which to view. + choose which set of parents you wish to view. Pressing the Add/Edit Parents @@ -749,8 +751,8 @@ On the left side of the window, below the active person's name, is the information related to the person's marriages and relationships. If the person has one or no relationships, the - spouse will appear within a non-editable text box. If more that - one relationships exist, the text box will be replaced with an + spouse will appear within a non-editable text box. If more than + one relationship exists, the text box will be replaced with an option menu that allows you to select the relationship to view. @@ -786,8 +788,8 @@ The Remove button removes the current spouse from the relationship. If no children exist in the relationship, the entire relationship is removed. If children - exist in the relationship, the the current spouse is removed, - and the children remain in a family with active person as the + exist in the relationship, the current spouse is removed, + and the children remain in a family with the active person as the only parent. @@ -809,7 +811,7 @@ not delete the person from the database. - Double clicking on a entry in the list brings up the + Double clicking on an entry in the list brings up the Edit Person dialog for the child. @@ -824,7 +826,7 @@ The Pedigree View window displays the active person, the active person's parents, and the active parent's grandparents in a - somewhat graphical manner. At any time, you can return to the this + somewhat graphical manner. At any time, you can return to this view either by pressing the Pedigree button at the top of the screen, or by choosing the @@ -846,7 +848,7 @@ information about a person, including their date of birth and date of death. Double-clicking the box will display the Edit Person dialog box for the person. Holding down the - Shift key while double-clicking will will make that person the + Shift key while double clicking will will make that person the active person. @@ -860,9 +862,9 @@ person's father (top button) or mother (bottom button), effectively shifting the pedigree view to the right, or up one generation. If the active person does not have any children, then - the button on the left hand side of the screen will not + the button on the left-hand side of the screen will not appear. Similarly, if the active person does have a father or - mother, the corresponding button on the right hand side of the + mother, the corresponding button on the right-hand side of the screen will not appear. As a quick short cut, double clicking on a line between two people - will make the person on the right hand side of the line the active + will make the person on the right-hand side of the line the active person. shows navigation using this method. When the mouse is over one of the lines connecting individuals, the line widens and becomes highlighted. In this - case, double-clcking on the line would make Hjalmar Smith the + case, double clcking on the line would make Hjalmar Smith the active person. @@ -887,8 +889,8 @@ Source View - The Source View window displays the different sources which have - been entered into the database. At any time, you can return to the + The Source View window displays the different sources that have + been entered into the database. At any time, you can return to this view either by pressing the Sources button at the top of the screen, or by choosing the @@ -915,8 +917,8 @@ Place View - The Place View window displays the different sources which have - been entered into the database. At any time, you can return to the + The Place View window displays the different sources that have + been entered into the database. At any time, you can return to this view either by pressing the Places button at the top of the screen, or by choosing the @@ -1061,7 +1063,7 @@ GRAMPS normally compresses its - data file to conserve disk space. If you do not which to + data file to conserve disk space. If you do not whish to have the file compressed, selecting this option will cause GRAMPS to leave the file uncompressed. This may be desirable if other applications @@ -1074,7 +1076,7 @@ When this is selected there will be a row of tabs below - the tool bars for the Person View, Family Fiew, Pedigree + the tool bars for the Person View, Family View, Pedigree View, and Sources View. @@ -1125,7 +1127,7 @@ and names. Options exist for several different date formats. Names can be displayed with either the given name or the surname first. This option typically does not - affect lists which are sorted by last name, in which case + affect lists that are sorted by last name, in which case the surname is displayed first. @@ -1149,13 +1151,13 @@
Preferences Dialog - Appearence Preferences Dialog + Appearance Preferences Dialog
- Appearence Preferences + Appearance Preferences Custom Colors @@ -1173,9 +1175,9 @@ Status Bar - Allows you can change the information displayed in the + Allows you to change the information displayed in the status bar at the bottom of the window. There are three - (3) preferences you can chose from. The first is Active + (3) preferences from which to chose. The first is Active person's name only - this will display the active person's name only in the status bar. The second is Active person's name and GRAMPS ID - This will display the name @@ -1191,10 +1193,10 @@ List Display Options - Allows to control what gets displayed in lists. You can + Allows you to control what gets displayed in lists. You can control if alternate names are displayed in the lists, or if the lists will contain detail flags to indicate - additional information (such as the presense of notes, + additional information (such as the presence of notes, sources, or images). @@ -1234,8 +1236,8 @@ different paper sizes. Selecting a Preferred Output Format and a Preferred Output Format tells the report generator your - preferences. It should be noted that a report generator may not - support all possible formats. + preferences. It should be noted that a report generator might + not support all possible formats. @@ -1261,9 +1263,9 @@ Generating Reports GRAMPS can produce a wide variety of - reports. New report generators can be written by the user without + reports. A new report generator can be written by the user without modifying the main program. For this reason, there may be more - reports available than are documented by this manual + reports available than are documented by this manual.
Report Generation Dialog @@ -1280,11 +1282,11 @@ are understood by other programs. These formats include OpenOffice, AbiWord, PDF, and HTML, among others. This allows the generated reports to be modified after they are generated, stored - for use later, or emailed to another person. + for use at a later time, or e-mailed to another person. After selecting the report you would like generated there are - option you must select. In the Save As option specify your file + options you must select. In the Save As option specify your file name (use /full path/filename to specify a different directory than in your Default Report Directory preference in the preferences). The next step is to select the Report Format. @@ -1298,10 +1300,9 @@ and dorders). Once you are satisfied with the style you are ready to proceed with the generation of your report. The next step is to choose the options (if any for that specific report) and then - Choose the Templete (for HTML format only) and click OK. Your + Choose the Template (for HTML format only) and click OK. Your report will now be in default report directory (unless otherwise - specified) for you to view the program you specified the report to - be generated for. + specified). Using HTML templates @@ -1319,7 +1320,7 @@ as the target format, the user can select an HTML template to be used. Since the template is chosen at report generation time, a different template may be chosen each time, allowing the user to - change the appearence of the generated files at any time. + change the appearance of the generated files at any time. Nearly any existing HTML file can be used as an HTML template for GRAMPS. @@ -1327,8 +1328,8 @@ When a file has been established as the HTML template file, GRAMPS uses the template for each file that it generates. GRAMPS starts - each file by copying data from the template until it reaches an - HTML comment uses as a marker. At that point, + each file by copying data from the template until it reaches the + HTML comment, which it uses as a marker. At that point, GRAMPS inserts its data into the output file. GRAMPS the continues reading the until it reaches a second comment that tells it to diff --git a/gramps/src/EditPlace.py b/gramps/src/EditPlace.py index 8c3c0e836..4678e5671 100644 --- a/gramps/src/EditPlace.py +++ b/gramps/src/EditPlace.py @@ -205,7 +205,7 @@ class EditPlace: thumb = "%s%s.thumb%s%s" % (self.path,os.sep,os.sep,src) else: thumb = "%s%s.thumb%s%s.jpg" % (self.path,os.sep,os.sep,os.path.basename(src)) - RelImage.check_thumb(src,thumb,const.thumbScale) + RelImage.check_thumb(phto.getPath(),thumb,const.thumbScale) self.photo_list.append(thumb,photo.getDescription()) #------------------------------------------------------------------------- diff --git a/gramps/src/Makefile.in b/gramps/src/Makefile.in index a5069c872..cf47328cf 100644 --- a/gramps/src/Makefile.in +++ b/gramps/src/Makefile.in @@ -5,7 +5,8 @@ datadir = @datadir@/@PACKAGE@ INSTALL = @INSTALL@ srcdir = @top_srcdir@ pycomp = ${srcdir}/py-compile -CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ +CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ @CFLAGS@ @CPPFLAGS@ -I@includedir@ +LDFLAGS = @LDFLAGS@ -L@libdir@ @LIBS@ LANG = sv de fr es @SET_MAKE@ @@ -15,7 +16,7 @@ all: intl.so ${pycomp} *.py intl.so: intl.c - $(CC) $(CFLAGS) -o intl.so intl.c + $(CC) $(CFLAGS) $(LDFLAGS) -o intl.so intl.c install: ${INSTALL} -d ${datadir}