Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets

svn: r13416
This commit is contained in:
Doug Blank
2009-10-25 20:29:45 +00:00
parent 88de64e9a0
commit 6af2d2f30a
26 changed files with 26 additions and 345 deletions

View File

@ -30,8 +30,7 @@ import urllib
# GRAMPS modules
#
#------------------------------------------------------------------------
from DataViews import Gramplet
from DataViews.GrampletView import AVAILABLE_GRAMPLETS
from gen.plug import Gramplet
from TransUtils import sgettext as _
#------------------------------------------------------------------------
@ -79,7 +78,7 @@ class PluginManagerGramplet(Gramplet):
for row in rows:
types[row[1]] = 1
self.set_text("")
# name, type, ver, desc, gver, use, rating, contact, download
# name, type, ver, desc, use, rating, contact, download
for type in types:
self.render_text("<b>%s Plugins</b>\n" % _(type))
row_count = 1