* src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that.

* src/PageView.py (get_stock): Work around not existing definition of gtk.STOCK_MEDIA_MISSING by using gtk.STOCK_MISSING_IMAGE.
* src/PedView.py: Start using new PageView logic. Unfinished.
* src/gramps_main.py: Enable PedView


svn: r5041
This commit is contained in:
Martin Hawlisch
2005-08-09 10:18:56 +00:00
parent 6fb39a605f
commit 21302dbbf4
5 changed files with 95 additions and 47 deletions

View File

@ -34,7 +34,10 @@ class PageView:
self.ui = ""
def get_stock(self):
return gtk.STOCK_MEDIA_MISSING
try:
return gtk.STOCK_MEDIA_MISSING
except AttributeError:
return gtk.STOCK_MISSING_IMAGE
def get_ui(self):
return self.ui