* src/gramps.glade: Minor cleanups for the alternate family view.
* src/gramps_main.py: Likewise. svn: r2050
This commit is contained in:
parent
cd59a4f924
commit
7dc824487c
@ -1,3 +1,7 @@
|
||||
2003-08-25 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/gramps.glade: Minor cleanups for the alternate family view.
|
||||
* src/gramps_main.py: Likewise.
|
||||
|
||||
2003-08-25 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/gramps.glade: move alternate family view tab, assign a
|
||||
few object names
|
||||
|
@ -925,7 +925,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="relief">GTK_RELIEF_NONE</property>
|
||||
<signal name="clicked" handler="on_family1_activate" last_modification_time="Thu, 05 Sep 2002 02:22:52 GMT"/>
|
||||
<signal name="clicked" handler="on_family_activate" last_modification_time="Tue, 26 Aug 2003 04:14:43 GMT"/>
|
||||
|
||||
<child>
|
||||
<widget class="GtkImage" id="image46">
|
||||
|
@ -417,6 +417,7 @@ class Gramps:
|
||||
"on_edit_selected_people" : self.load_selected_people,
|
||||
"on_edit_bookmarks_activate" : self.on_edit_bookmarks_activate,
|
||||
"on_exit_activate" : self.on_exit_activate,
|
||||
"on_family_activate" : self.on_family_activate,
|
||||
"on_family1_activate" : self.on_family1_activate,
|
||||
"on_family2_activate" : self.on_family2_activate,
|
||||
"on_find_activate" : self.on_find_activate,
|
||||
@ -1795,6 +1796,13 @@ class Gramps:
|
||||
"""Switches to the person list view"""
|
||||
self.views.set_current_page(PERSON_VIEW)
|
||||
|
||||
def on_family_activate(self,obj):
|
||||
"""Switches to the family view"""
|
||||
if GrampsCfg.familyview == 0:
|
||||
self.on_family1_activate(obj)
|
||||
else:
|
||||
self.on_family2_activate(obj)
|
||||
|
||||
def on_family1_activate(self,obj):
|
||||
"""Switches to the family view"""
|
||||
self.views.set_current_page(FAMILY_VIEW1)
|
||||
|
Loading…
Reference in New Issue
Block a user