20 lines
729 B
Diff
20 lines
729 B
Diff
397a398,408
|
|
> def select_person2(self, *obj):
|
|
> """
|
|
> Open a selection box to choose the secondary person.
|
|
> """
|
|
> selectperson = SelectorFactory('Person')
|
|
> sel = selectperson(self.dbstate, self.uistate, self.track,
|
|
> _("Select the person which will be our active."),
|
|
> skip=self.skip_list)
|
|
> self.uistate.set_active(sel.run().get_handle(), 'Person')
|
|
> self.goto_handle(None)
|
|
>
|
|
651a663,668
|
|
> add_item.show()
|
|
> menu.append(add_item)
|
|
>
|
|
> add_item = Gtk.MenuItem(
|
|
> label=_("Choose the new active person"))
|
|
> add_item.connect("activate", self.select_person2)
|