From 267514c280dcb8ded31c110c94bee853c0c2aa6e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 5 Dec 2003 00:11:22 +0000 Subject: [PATCH] * TODO: Update. * gramps.desktop: Remove in favor of src/gramps.desktop file. * src/gramps_main.py: Replace stock Home with the custom string. * src/PeopleView.py: Replace stock Home with the custom string. svn: r2443 --- ChangeLog | 4 ++++ TODO | 22 +++++++++++++++++----- gramps.desktop | 14 -------------- src/PeopleView.py | 9 ++++++++- src/gramps_main.py | 9 +++++++-- 5 files changed, 36 insertions(+), 22 deletions(-) delete mode 100644 gramps.desktop diff --git a/ChangeLog b/ChangeLog index 71f11dacf..c8115e5be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ 2003-12-04 Alex Roitman * doc/gramps-manual/C/getstart.xml: Remove ZODB support section. * doc/gramps-manual/C/usage.xml: Remove ZODB support section. + * TODO: Update. + * gramps.desktop: Remove in favor of src/gramps.desktop file. + * src/gramps_main.py: Replace stock Home with the custom string. + * src/PeopleView.py: Replace stock Home with the custom string. 2003-12-03 Alex Roitman * src/plugins/ReadGedcom.py (parse_source): Stop TEXT messing diff --git a/TODO b/TODO index 92ed4203e..82c22fc29 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,7 @@ * Allow for multiple notes. A tabbed interface would be really useful, since there are no titles for notes. Not all objects would necessarily need multiple notes. Determine which ones should and shouldn't. +=== THESE should be obsoleted once we move to a database * Speed up the reading of the database. The python XML routines are not as fast as I would like, and it can take a minute or so to read a large database. This is way too slow. @@ -9,10 +10,10 @@ * Disable the save buttons if gramps database is marked read-only. Disable the adding of media objects as well, since this will cause gramps to try to create a thumbnail in a readonly database. +=== * Startup tips. * Date calculator. See http://sourceforge.net/mailarchive/forum.php?thread_id=3252078&forum_id=1993 -* Add sequence number to childlist in family view * Add string substitutions for web page generation (name, report name, date, etc). * Add support for sources of the parent/child relation @@ -20,9 +21,20 @@ see http://sourceforge.net/mailarchive/forum.php?thread_id=3066997&forum_id=1993 and http://sourceforge.net/mailarchive/forum.php?thread_id=3134931&forum_id=1993 for the details. -* Work out the model and the interface for the completeness of a person, - see http://sourceforge.net/mailarchive/forum.php?thread_id=3127454&forum_id=1993 - and http://sourceforge.net/mailarchive/forum.php?thread_id=3134932&forum_id=1993 - for the details. * Make Date parsing locale dependent, like relationship calculator +* Add Confession as a standard event +* Now that the completeness flag exists, create filters that are using it + (both individual and family). +* Introduce abbreviation attribute for the sources (ABBR in GEDCOM). +* Introduce format attribute for the notes (Flowed or Preformatted). +* Add ZIP/Postal code to Places +* Add Phone as an attribute for Addresses and Places +* Add FAX too? Maybe rather a property of Phone + (one of: Home, Work, Mobile, FAX, etc). +* Add Phone as a standard personal and family attribute +* Add Award as a standard personal (and family?) attribute +* Add an option to add media from gallery (like TitlePage in BookReport). + Currently it has to be done via DnD, which is hard for small displays. + The selector is already there waiting anyway ;-) +* Add autofill feature for City, Church parish, County, State and Country? * And a whole lot more.... diff --git a/gramps.desktop b/gramps.desktop deleted file mode 100644 index e79939fc0..000000000 --- a/gramps.desktop +++ /dev/null @@ -1,14 +0,0 @@ -[Desktop Entry] -Name=GRAMPS genealogical database -Name[no]=GRAMPS -Name[nb]=GRAMPS -Comment=Manage your family tree -Comment[no]=Et slektsforskningsprogram -Comment[nb]=Et slektsforskningsprogram -Exec=gramps -Terminal=false -Type=Application -Icon=gramps.png -Categories=Application;Genealogy; -StartupNotify=true -X-GNOME-DocPath=gramps/gramps-manual.xml diff --git a/src/PeopleView.py b/src/PeopleView.py index 065646df9..9c25ce7a5 100644 --- a/src/PeopleView.py +++ b/src/PeopleView.py @@ -376,7 +376,9 @@ class PeopleView: entries = [ (gtk.STOCK_GO_BACK,self.parent.back_clicked,back_sensitivity), (gtk.STOCK_GO_FORWARD,self.parent.fwd_clicked,fwd_sensitivity), - (gtk.STOCK_HOME,self.parent.on_home_clicked,1), + #FIXME: revert to stock item when German gtk translation is fixed + #(gtk.STOCK_HOME,self.parent.on_home_clicked,1), + (_("Home"),self.parent.on_home_clicked,1), (_("Add Bookmark"),self.parent.on_add_bookmark_activate,sel_sensitivity), (None,None,0), (gtk.STOCK_ADD, self.parent.add_button_clicked,1), @@ -388,6 +390,11 @@ class PeopleView: menu.set_title(_('People Menu')) for stock_id,callback,sensitivity in entries: item = gtk.ImageMenuItem(stock_id) + #FIXME: remove when German gtk translation is fixed + if stock_id == _("Home"): + im = gtk.image_new_from_stock(gtk.STOCK_HOME,gtk.ICON_SIZE_MENU) + im.show() + item.set_image(im) if callback: item.connect("activate",callback) item.set_sensitive(sensitivity) diff --git a/src/gramps_main.py b/src/gramps_main.py index 1317aa3be..8b4d850c2 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -350,7 +350,7 @@ class Gramps: self.accel_group = gtk.AccelGroup() self.topWindow.add_accel_group(self.accel_group) self.back = gtk.ImageMenuItem(gtk.STOCK_GO_BACK) - self.forward = gtk.ImageMenuItem(gtk.STOCK_GO_BACK) + self.forward = gtk.ImageMenuItem(gtk.STOCK_GO_FORWARD) self.topWindow.show() self.enable_toolbar(self.use_toolbar) @@ -395,7 +395,12 @@ class Gramps: item.show() gomenu.append(item) - item = gtk.ImageMenuItem(gtk.STOCK_HOME) + #FIXME: revert to stock item when German gtk translation is fixed + #item = gtk.ImageMenuItem(gtk.STOCK_HOME) + item = gtk.ImageMenuItem(_("Home")) + im = gtk.image_new_from_stock(gtk.STOCK_HOME,gtk.ICON_SIZE_MENU) + im.show() + item.set_image(im) item.connect("activate",self.on_home_clicked) item.add_accelerator("activate", self.accel_group, gtk.gdk.keyval_from_name("Home"),