From: Benny M. <ben...@gm...> - 2008-01-08 22:28:55
|
Don, I think you might know more about this. This looks part of the Tooltip.py stuff, which doesn't seem to be used in todays code. Benny 2008/1/8, Raphael Ackermann <rap...@gm...>: > > Martin, > > In Scratchpad.py in the method tooltip there is the following code > Utils.format_personal_event(self._obj.get_name()) > There is no import for Utils and I cannot find a method > format_personal_even in the gramps source code. Do you know where it > is and what Utils should be imported, or can you fix it? > > Raphael > > def tooltip(self): > global escape > > s = "<big><b>%s</b></big>\n\n"\ > "\t<b>%s:</b>\t%s\n"\ > "\t<b>%s:</b>\t%s\n"\ > "\t<b>%s:</b>\t%s\n"\ > "\t<b>%s:</b>\t%s\n"\ > "\t<b>%s:</b>\t%s\n" % ( > _("Event"), > _("Type"),escape(Utils.format_personal_event > (self._obj.get_name())), > _("Date"),escape(DateHandler.get_date(self._obj)), > _("Place"),escape(place_title(self._db,self._obj)), > _("Cause"),escape(self._obj.get_cause()), > _("Description"), escape(self._obj.get_description())) > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |