svn: r5505
This commit is contained in:
Don Allingham 2005-12-08 04:27:53 +00:00
parent 34e66709b8
commit 323c9f244c
3 changed files with 22 additions and 21 deletions

View File

@ -297,8 +297,8 @@ class DisplayState(GrampsDBCallback.GrampsDBCallback):
if GrampsKeys.get_statusbar() <= 1: if GrampsKeys.get_statusbar() <= 1:
pname = NameDisplay.displayer.display(self.dbstate.active) pname = NameDisplay.displayer.display(self.dbstate.active)
name = "[%s] %s" % (self.dbstate.active.get_gramps_id(),pname) name = "[%s] %s" % (self.dbstate.active.get_gramps_id(),pname)
# else: else:
# name = self.display_relationship() name = "" #self.display_relationship()
self.status.push(self.status_id,name) self.status.push(self.status_id,name)
while gtk.events_pending(): while gtk.events_pending():

View File

@ -179,8 +179,8 @@ class EditPerson(DisplayState.ManagedWindow):
self.gender = self.top.get_widget('gender') self.gender = self.top.get_widget('gender')
self.gender.set_sensitive(mod) self.gender.set_sensitive(mod)
self.complete = self.top.get_widget('complete') # self.complete = self.top.get_widget('complete')
self.complete.set_sensitive(mod) # self.complete.set_sensitive(mod)
self.private = self.top.get_widget('private') self.private = self.top.get_widget('private')
self.private.set_sensitive(mod) self.private.set_sensitive(mod)
name_delete_btn = self.top.get_widget('aka_del') name_delete_btn = self.top.get_widget('aka_del')
@ -252,8 +252,8 @@ class EditPerson(DisplayState.ManagedWindow):
self.prefix.set_editable(mod) self.prefix.set_editable(mod)
self.given = self.top.get_widget("givenName") self.given = self.top.get_widget("givenName")
self.given.set_editable(mod) self.given.set_editable(mod)
self.nick = self.top.get_widget("nickname") # self.nick = self.top.get_widget("nickname")
self.nick.set_editable(mod) # self.nick.set_editable(mod)
self.title = self.top.get_widget("title") self.title = self.top.get_widget("title")
self.title.set_editable(mod) self.title.set_editable(mod)
self.surname = self.top.get_widget("surname") self.surname = self.top.get_widget("surname")
@ -269,15 +269,15 @@ class EditPerson(DisplayState.ManagedWindow):
self.slist = self.top.get_widget("slist") self.slist = self.top.get_widget("slist")
self.general_label = self.top.get_widget("general_label") self.general_label = self.top.get_widget("general_label")
self.names_label = self.top.get_widget("names_label") self.names_label = self.top.get_widget("names_text")
self.events_label = self.top.get_widget("events_label") self.events_label = self.top.get_widget("events_text")
self.attr_label = self.top.get_widget("attr_label") self.attr_label = self.top.get_widget("attr_text")
self.addr_label = self.top.get_widget("addr_label") self.addr_label = self.top.get_widget("addr_text")
self.notes_label = self.top.get_widget("notes_label") self.notes_label = self.top.get_widget("notes_text")
self.sources_label = self.top.get_widget("sources_label") self.sources_label = self.top.get_widget("sources_text")
self.inet_label = self.top.get_widget("inet_label") self.inet_label = self.top.get_widget("inet_text")
self.gallery_label = self.top.get_widget("gallery_label") self.gallery_label = self.top.get_widget("gallery_text")
self.lds_tab = self.top.get_widget("lds_tab") self.lds_tab = self.top.get_widget("lds_text")
self.person_photo = self.top.get_widget("personPix") self.person_photo = self.top.get_widget("personPix")
self.eventbox = self.top.get_widget("eventbox1") self.eventbox = self.top.get_widget("eventbox1")
self.prefix_label = self.top.get_widget('prefix_label') self.prefix_label = self.top.get_widget('prefix_label')
@ -310,23 +310,23 @@ class EditPerson(DisplayState.ManagedWindow):
# event display # event display
self.event_box = ListBox.EventListBox( self.event_box = ListBox.EventListBox(
self, self.person, self.event_ref_list, events_label, self, self.person, self.event_list, self.events_label,
[event_add_btn,event_edit_btn,event_delete_btn,event_sel_btn]) [event_add_btn,event_edit_btn,event_delete_btn,event_sel_btn])
self.attr_box = ListBox.AttrListBox( self.attr_box = ListBox.AttrListBox(
self, self.person, self.attr_list, attr_label, self, self.person, self.attr_list, self.attr_label,
[attr_add_btn, attr_edit_btn, attr_delete_btn]) [attr_add_btn, attr_edit_btn, attr_delete_btn])
self.addr_box = ListBox.AddressListBox( self.addr_box = ListBox.AddressListBox(
self, self.person, self.addr_list, addr_label, self, self.person, self.addr_list, self.addr_label,
[addr_add_btn, addr_edit_btn, addr_delete_btn]) [addr_add_btn, addr_edit_btn, addr_delete_btn])
self.name_box = ListBox.NameListBox( self.name_box = ListBox.NameListBox(
self, self.person, self.name_list, names_label, self, self.person, self.name_list, self.names_label,
[name_add_btn, name_edit_btn, name_delete_btn]) [name_add_btn, name_edit_btn, name_delete_btn])
self.url_box = ListBox.UrlListBox( self.url_box = ListBox.UrlListBox(
self, self.person, self.web_list, web_label, self, self.person, self.web_list, self.inet_label,
[web_add_btn, web_edit_btn, web_delete_btn]) [web_add_btn, web_edit_btn, web_delete_btn])
self.place_list = self.pdmap.keys() self.place_list = self.pdmap.keys()

View File

@ -18,6 +18,7 @@
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<property name="has_separator">False</property> <property name="has_separator">False</property>
<signal name="delete_event" handler="on_delete_event"/> <signal name="delete_event" handler="on_delete_event"/>
@ -3410,7 +3411,7 @@ Unknown</property>
</child> </child>
<child> <child>
<widget class="GtkLabel" id="lds_label"> <widget class="GtkLabel" id="lds_text">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">LDS</property> <property name="label" translatable="yes">LDS</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>