svn: r2225
This commit is contained in:
Don Allingham
2003-10-11 02:25:15 +00:00
parent d8def400f3
commit efd35b299c
4 changed files with 23 additions and 3 deletions

View File

@@ -166,8 +166,8 @@ install-data-local:
$(INSTALL_DATA) $(srcdir)/gramps.png $(DESTDIR)$(prefix)/share/pixmaps
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
$(INSTALL_DATA) $(srcdir)/gramps.desktop $(DESTDIR)$(prefix)/share/gnome/apps/Applications
$(INSTALL) -d $(pkglibdir)
$(INSTALL_DATA) grampslib.so $(pkglibdir)
$(INSTALL) -d $(DESTDIR)$(pkglibdir)
$(INSTALL_DATA) grampslib.so $(DESTDIR)$(pkglibdir)
uninstall-local:
-rm $(DESTDIR)$(prefix)/share/pixmaps/gramps.png

View File

@@ -18,10 +18,20 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
#-------------------------------------------------------------------------
#
# GNOME
#
#-------------------------------------------------------------------------
from gobject import TYPE_STRING, TYPE_PYOBJECT, TYPE_INT
import gtk
import pango
#-------------------------------------------------------------------------
#
# constants
#
#-------------------------------------------------------------------------
_BCOL = 8
_IDCOL = 1
@@ -31,7 +41,8 @@ _IDCOL = 1
#
#-------------------------------------------------------------------------
class PeopleStore:
def __init__(self,tree,parent,select_func=None,event_func=None,mode=gtk.SELECTION_SINGLE):
def __init__(self,tree,parent,select_func=None,event_func=None,
mode=gtk.SELECTION_SINGLE):
self.titles = [
(_('Name'),5,250), (_('ID'),1,50),(_('Gender'),2,70),