From 7601f47a76d59155e3573615cad550f7807ec256 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 9 Jan 2006 03:30:22 +0000 Subject: [PATCH] * src/person.svg: new icon * src/gramps_main.py: add person.svg svn: r5699 --- ChangeLog | 2 + src/EditPerson.py | 4 - src/gramps_main.py | 2 +- src/person.svg | 569 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 572 insertions(+), 5 deletions(-) create mode 100644 src/person.svg diff --git a/ChangeLog b/ChangeLog index fe6ce0d89..bd0540a9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2006-01-08 Don Allingham + * src/person.svg: new icon + * src/gramps_main.py: add person.svg * src/gramps_main.py: Change "Family" title to "Relationships" * src/DisplayModels.py: Fix sorting * src/FamilyList.py: Fix sorting diff --git a/src/EditPerson.py b/src/EditPerson.py index 2d713e4cb..b3da4e9b0 100644 --- a/src/EditPerson.py +++ b/src/EditPerson.py @@ -170,8 +170,6 @@ class EditPerson(DisplayState.ManagedWindow): self.gender = self.top.get_widget('gender') self.gender.set_sensitive(mod) -# self.complete = self.top.get_widget('complete') -# self.complete.set_sensitive(mod) self.private = self.top.get_widget('private') self.private.set_sensitive(mod) name_delete_btn = self.top.get_widget('aka_del') @@ -354,7 +352,6 @@ class EditPerson(DisplayState.ManagedWindow): RelLib.Name.CUSTOM, RelLib.Name.BIRTH) self.write_primary_name() - self.load_person_image() # set notes data @@ -382,7 +379,6 @@ class EditPerson(DisplayState.ManagedWindow): self.set_list_dnd(self.addr_list, self.ad_drag_data_get, self.ad_drag_begin, self.ad_drag_data_received) - self.gladeif.connect("edit_person", "delete_event", self.on_delete_event) self.gladeif.connect("button15", "clicked", self.on_cancel_edit) self.gladeif.connect("ok", "clicked", self.on_apply_person_clicked) diff --git a/src/gramps_main.py b/src/gramps_main.py index 2d17fe309..d3257afe7 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -66,7 +66,7 @@ iconpaths = [".",const.rootDir] def register_stock_icons (): import os items = [ - ('people48.png',('gramps-person','Person',gtk.gdk.CONTROL_MASK,0,'')), + ('person.svg',('gramps-person','Person',gtk.gdk.CONTROL_MASK,0,'')), ('family48.png',('gramps-family','Relationships',gtk.gdk.CONTROL_MASK,0,'')), ('family48.png',('gramps-family-list','Family List',gtk.gdk.CONTROL_MASK,0,'')), ('media.png',('gramps-media','Media',gtk.gdk.CONTROL_MASK,0,'')), diff --git a/src/person.svg b/src/person.svg new file mode 100644 index 000000000..81732cf6b --- /dev/null +++ b/src/person.svg @@ -0,0 +1,569 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + People + + + Jakub Steiner + + + http://jimmac.musichall.cz + + + users + people + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +