2006-09-23 Don Allingham <don@gramps-project.org>

* src/images/sources.svg: new icon
	* src/images/reports.svg: new icon
	* src/images/tools.svg: new icon
	* src/images/events.svg: new icon
	* src/images/place.svg: new icon
	* src/images/tools.svg: new icon
	* src/ViewManager.py: use new icons
	* src/gramps_main.py: register new icons

2006-09-22  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_GrampsGEDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsXMLDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsBSDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsDbBase.py: support for disabling transactions
	* src/GrampsDb/_ReadGedcom.py: check for IO Eror
	* src/ViewManager.py: display message if a portability problem is 
	detected
	* src/QuestionDialog.py: Add Warning dialog that can be disabled
	* src/DbLoader.py: Detect missing database problem
	* src/ArgHandler.py: support for disabling transactions
	* src/GrampsCfg.py: new config keys for transactions
	* src/Config/_GrampsConfigKeys.py: new config keys for transactions

2006-09-17  Don Allingham  <don@gramps-project.org>
	* src/ViewManager.py: handle missing database on autoload (#447)
	* src/ArgHandler.py: handle missing database on autoload (#447)
	* src/DbLoader.py: handle missing database on autoload (#447)
	* src/Makefile.am: remove uninstalled packages from makefile
	* src/GrampsDb/_ReadXML.py: place vs. address changes
	* src/GrampsDb/_WriteXML.py: place vs. address changes
	* src/GrampsDb/_EditPlace.py: place vs. address changes
	* src/Editors/_EditPlace.py: place vs. address changes
	* src/Editors/_EditLocation.py: place vs. address changes
	* src/RelLib/_Address.py: place vs. address changes
	* src/RelLib/_LocationBase.py: place vs. address changes
	* src/RelLib/_Location.py: place vs. address changes
	* src/DisplayTabs/_LocationModel.py: place vs. address changes
	* src/DisplayTabs/_LocationEmbedList.py: place vs. address changes
	* src/glade/gramps.glade: place vs. address changes



svn: r7325
This commit is contained in:
Don Allingham
2006-09-24 04:37:59 +00:00
parent bc78ab8087
commit fe8b4e1839
39 changed files with 3539 additions and 640 deletions

View File

@ -255,29 +255,24 @@ class MissingMediaDialog:
self.top)
return True
class MessageHideDialog(gtk.MessageDialog):
class MessageHideDialog:
def __init__(self, title, message, key, parent=None):
gtk.MessageDialog.__init__(self, parent,
flags=gtk.DIALOG_MODAL,
type=gtk.MESSAGE_INFO,
buttons=gtk.BUTTONS_CLOSE)
self.set_markup('<span weight="bold" size="larger">%s</span>' % title)
self.format_secondary_markup(message)
checkbox = gtk.CheckButton(_("Do not display again"))
checkbox.set_active(Config.get(key))
checkbox.connect('toggled',self.update_checkbox, key)
checkbox.show()
align = gtk.Alignment(0.5,0.0)
align.add(checkbox)
align.show()
self.vbox.add(align)
self.set_icon(ICON)
self.show()
self.run()
self.destroy()
if not Config.get(key):
glade_xml = gtk.glade.XML(const.gladeFile, "hide_dialog", "gramps")
top = glade_xml.get_widget('hide_dialog')
dont_show = glade_xml.get_widget('dont_show')
title_label = glade_xml.get_widget('title')
title_label.set_text(
'<span size="larger" weight="bold">%s</span>' % title)
title_label.set_use_markup(True)
glade_xml.get_widget('message').set_text(message)
dont_show.connect('toggled',self.update_checkbox, key)
top.run()
top.destroy()
def update_checkbox(self, obj, constant):
Config.set(constant, obj.get_active())