2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>

* src/images/gramps-import.png : import image
	* src/gramps_main.py: register import image
	* src/DbLoader.py: Use import not open in import dialog, issue #396



svn: r9336
This commit is contained in:
Benny Malengier 2007-11-12 15:44:15 +00:00
parent fc362508e8
commit 14d6cc70d0
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/images/gramps-import.png : import image
* src/gramps_main.py: register import image
* src/DbLoader.py: Use import not open in import dialog, issue #396
2007-11-11 Jim Sack <jgsack@san.rr.com>
* src/GrampsDbUtils/_WriteGedcom.py: fix #1364 s/SGLS/SLGS/
Fixes 3.0 trunk. same issue exists in 2.2.x to be fixed next

View File

@ -221,13 +221,13 @@ class DbLoader:
self.uistate.window)
if not warn_dialog.run():
return False
choose = gtk.FileChooserDialog(
_('GRAMPS: Import database'),
self.uistate.window,
gtk.FILE_CHOOSER_ACTION_OPEN,
(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,
gtk.STOCK_OPEN,gtk.RESPONSE_OK))
'gramps-import',gtk.RESPONSE_OK))
choose.set_local_only(False)
# Always add automatic (macth all files) filter

View File

@ -134,6 +134,7 @@ def register_stock_icons ():
# they should be ported in the near future
items_legacy = [
('gramps-export', _('Export'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-import', _('Import'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-undo-history', _('Undo History'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-url', _('URL'), gtk.gdk.CONTROL_MASK, 0, ''),
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB