2006-08-17 Alex Roitman <shura@gramps-project.org>

* src/StartupDialog.py (__init__): Pass its class to Assistant.
	* src/Exporter.py (__init__): Pass its class to Assistant.
	* src/Assistant.py (__init__): Accept parent class (to make
	assistants unique *only* within their type);
	(prepare_text_page): Use markup in the text.
	* NEWS: Update.
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/plugins/MediaManager.py: Add new plugin (still in progress).



svn: r7192
This commit is contained in:
Alex Roitman 2006-08-17 21:39:20 +00:00
parent f3a302638e
commit 3771ae49d5
6 changed files with 24 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2006-08-17 Alex Roitman <shura@gramps-project.org>
* src/StartupDialog.py (__init__): Pass its class to Assistant.
* src/Exporter.py (__init__): Pass its class to Assistant.
* src/Assistant.py (__init__): Accept parent class (to make
assistants unique *only* within their type);
(prepare_text_page): Use markup in the text.
* NEWS: Update.
* src/plugins/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/plugins/MediaManager.py: Add new plugin (still in progress).
2006-08-16 Don Allingham <don@gramps-project.org> 2006-08-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild display after a merge of * src/DataViews/_PersonView.py: rebuild display after a merge of
two people (bug #348) two people (bug #348)

View File

@ -1,3 +1,10 @@
Version 2.1.95 -- the "" release
* Support for attributes in events and event references;
Support for AGE and AGENCY tags in GEDCOM.
* New Media Manager tool: advanced batch operations on media objects/files
* Verification tool displays disconnected people
* Bug fixes
Version 2.1.91 -- the "Strange women lying in ponds distributing swords Version 2.1.91 -- the "Strange women lying in ponds distributing swords
is no basis for a system of government" release is no basis for a system of government" release
* Transaction-protected metadata (Alex) * Transaction-protected metadata (Alex)

View File

@ -93,13 +93,13 @@ class Assistant(gtk.Object,ManagedWindow.ManagedWindow):
()) ())
} }
def __init__(self,uistate,complete,top_title=''): def __init__(self,uistate,parent_class,complete,top_title=''):
gobject.GObject.__init__(self) gobject.GObject.__init__(self)
self.top_title = top_title self.top_title = top_title
if uistate: if uistate:
ManagedWindow.ManagedWindow.__init__(self,uistate,[], ManagedWindow.ManagedWindow.__init__(self,uistate,[],
self.__class__) parent_class)
else: else:
self.uistate = None self.uistate = None
@ -271,6 +271,7 @@ class Assistant(gtk.Object,ManagedWindow.ManagedWindow):
hbox.pack_start(image,False) hbox.pack_start(image,False)
label = gtk.Label(text) label = gtk.Label(text)
label.set_line_wrap(True) label.set_line_wrap(True)
label.set_use_markup(True)
hbox.add(label) hbox.add(label)
hbox.show_all() hbox.show_all()
return hbox return hbox

View File

@ -93,7 +93,7 @@ class Exporter:
self.format_option = None self.format_option = None
try: try:
self.w = Assistant.Assistant(uistate,self.complete, self.w = Assistant.Assistant(uistate,self.__class__,self.complete,
_("Export Assistant")) _("Export Assistant"))
except Errors.WindowActiveError: except Errors.WindowActiveError:
return return

View File

@ -128,7 +128,7 @@ class StartupDialog:
Config.set(Config.STARTUP,const.startup) Config.set(Config.STARTUP,const.startup)
self.close() self.close()
return return
self.w = Assistant.Assistant(None, self.complete) self.w = Assistant.Assistant(None, self.__class__, self.complete)
self.w.add_text_page( self.w.add_text_page(
_('Getting started'), _('Getting started'),
_('Welcome to GRAMPS, the Genealogical Research ' _('Welcome to GRAMPS, the Genealogical Research '

View File

@ -59,7 +59,8 @@ pkgdata_PYTHON = \
ImportGeneWeb.py\ ImportGeneWeb.py\
WriteGeneWeb.py\ WriteGeneWeb.py\
rel_es.py\ rel_es.py\
Checkpoint.py Checkpoint.py\
MediaManager.py
pkgpyexecdir = @pkgpyexecdir@/plugins pkgpyexecdir = @pkgpyexecdir@/plugins
pkgpythondir = @pkgpythondir@/plugins pkgpythondir = @pkgpythondir@/plugins