Accessibility for dialogs
svn: r1384
This commit is contained in:
parent
b0e4b19c8b
commit
f1518ec2a4
@ -3,3 +3,5 @@ Makefile
|
|||||||
*.pyo
|
*.pyo
|
||||||
gramps.strings
|
gramps.strings
|
||||||
glade.c
|
glade.c
|
||||||
|
.xvpics
|
||||||
|
*.gladep
|
||||||
|
@ -224,7 +224,7 @@ class FamilyView:
|
|||||||
_('Removing a spouse removes the relationship between '
|
_('Removing a spouse removes the relationship between '
|
||||||
'the spouse and the active person. It does not '
|
'the spouse and the active person. It does not '
|
||||||
'remove the spouse from the database'),
|
'remove the spouse from the database'),
|
||||||
_('Remove Spouse'),
|
_('_Remove Spouse'),
|
||||||
self.really_remove_spouse)
|
self.really_remove_spouse)
|
||||||
elif self.family and not self.family.getChildList():
|
elif self.family and not self.family.getChildList():
|
||||||
self.really_remove_spouse()
|
self.really_remove_spouse()
|
||||||
@ -467,7 +467,7 @@ class FamilyView:
|
|||||||
'child of the parents. The parents are not removed from the '
|
'child of the parents. The parents are not removed from the '
|
||||||
'database, and the relationship between the parents '
|
'database, and the relationship between the parents '
|
||||||
'is not removed.'),
|
'is not removed.'),
|
||||||
_('Remove Parents'),
|
_('_Remove Parents'),
|
||||||
self.really_del_parents)
|
self.really_del_parents)
|
||||||
|
|
||||||
def really_del_parents(self):
|
def really_del_parents(self):
|
||||||
@ -482,7 +482,7 @@ class FamilyView:
|
|||||||
'child of the parents. The parents are not removed from the '
|
'child of the parents. The parents are not removed from the '
|
||||||
'database, and the relationship between the parents '
|
'database, and the relationship between the parents '
|
||||||
'is not removed.'),
|
'is not removed.'),
|
||||||
_('Remove Parents'),
|
_('_Remove Parents'),
|
||||||
self.really_del_sp_parents)
|
self.really_del_sp_parents)
|
||||||
|
|
||||||
def really_del_sp_parents(self):
|
def really_del_sp_parents(self):
|
||||||
|
@ -260,7 +260,7 @@ class MediaView:
|
|||||||
'If you delete this object, it will be removed '
|
'If you delete this object, it will be removed '
|
||||||
'from the database and from all records that '
|
'from the database and from all records that '
|
||||||
'reference it.'),
|
'reference it.'),
|
||||||
_('Delete Media Object?'),
|
_('_Delete Media Object?'),
|
||||||
ans.query_response)
|
ans.query_response)
|
||||||
else:
|
else:
|
||||||
self.db.removeObject(mobj.getId())
|
self.db.removeObject(mobj.getId())
|
||||||
|
@ -200,7 +200,7 @@ class PlaceView:
|
|||||||
'record in the database. Deleting it will remove it '
|
'record in the database. Deleting it will remove it '
|
||||||
'from the database and remove it from all records '
|
'from the database and remove it from all records '
|
||||||
'that reference it.'),
|
'that reference it.'),
|
||||||
_('Delete Place'),
|
_('_Delete Place'),
|
||||||
ans.query_response)
|
ans.query_response)
|
||||||
else:
|
else:
|
||||||
self.db.removePlace(place.getId())
|
self.db.removePlace(place.getId())
|
||||||
|
@ -183,6 +183,7 @@ class ReportDialog:
|
|||||||
self.widgets = []
|
self.widgets = []
|
||||||
self.frame_names = []
|
self.frame_names = []
|
||||||
self.frames = {}
|
self.frames = {}
|
||||||
|
self.format_menu = None
|
||||||
|
|
||||||
self.window = gtk.Dialog('GRAMPS')
|
self.window = gtk.Dialog('GRAMPS')
|
||||||
self.window.set_has_separator(gtk.FALSE)
|
self.window.set_has_separator(gtk.FALSE)
|
||||||
@ -226,8 +227,8 @@ class ReportDialog:
|
|||||||
# Allow for post processing of the format frame, since the
|
# Allow for post processing of the format frame, since the
|
||||||
# show_all task calls events that may reset values
|
# show_all task calls events that may reset values
|
||||||
|
|
||||||
menu = self.format_menu.get_menu()
|
if self.format_menu:
|
||||||
self.doc_type_changed(menu.get_active())
|
self.doc_type_changed(self.format_menu.get_menu().get_active())
|
||||||
self.setup_post_process()
|
self.setup_post_process()
|
||||||
|
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ class SourceView:
|
|||||||
_('This source is currently being used. Deleting it '
|
_('This source is currently being used. Deleting it '
|
||||||
'will remove it from the database and from all '
|
'will remove it from the database and from all '
|
||||||
'records that reference it.'),
|
'records that reference it.'),
|
||||||
_('Delete Source'),
|
_('_Delete Source'),
|
||||||
ans.query_response)
|
ans.query_response)
|
||||||
else:
|
else:
|
||||||
self.db.removeSource(source.getId())
|
self.db.removeSource(source.getId())
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
|
<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
|
||||||
|
|
||||||
<glade-project>
|
<glade-project>
|
||||||
<name>Src</name>
|
<name>gramps</name>
|
||||||
<program_name>src</program_name>
|
<program_name>gramps</program_name>
|
||||||
<pixmaps_directory>.</pixmaps_directory>
|
<pixmaps_directory>.</pixmaps_directory>
|
||||||
</glade-project>
|
</glade-project>
|
||||||
|
@ -570,7 +570,7 @@ class Gramps:
|
|||||||
_('Creating a new database will close the existing database, '
|
_('Creating a new database will close the existing database, '
|
||||||
'discarding any unsaved changes. You will then be prompted '
|
'discarding any unsaved changes. You will then be prompted '
|
||||||
'to create a new database'),
|
'to create a new database'),
|
||||||
_('Create New Database'),
|
_('_Create New Database'),
|
||||||
self.new_database_response)
|
self.new_database_response)
|
||||||
|
|
||||||
def new_database_response(self):
|
def new_database_response(self):
|
||||||
@ -737,9 +737,9 @@ class Gramps:
|
|||||||
'when GRAMPS was unexpected shutdown before the '
|
'when GRAMPS was unexpected shutdown before the '
|
||||||
'data was saved. You may load this file to try to '
|
'data was saved. You may load this file to try to '
|
||||||
'recover any missing data.'),
|
'recover any missing data.'),
|
||||||
_('Load autosave file'),
|
_('_Load autosave file'),
|
||||||
self.autosave_query,
|
self.autosave_query,
|
||||||
_('Load saved database'),
|
_('Load _saved database'),
|
||||||
self.loadsaved_file)
|
self.loadsaved_file)
|
||||||
else:
|
else:
|
||||||
self.active_person = None
|
self.active_person = None
|
||||||
@ -909,7 +909,7 @@ class Gramps:
|
|||||||
'recovered by closing the database without saving '
|
'recovered by closing the database without saving '
|
||||||
'changes. This change will become permanent '
|
'changes. This change will become permanent '
|
||||||
'after you save the database.'),
|
'after you save the database.'),
|
||||||
_('Delete Person'),
|
_('_Delete Person'),
|
||||||
self.delete_person_response)
|
self.delete_person_response)
|
||||||
|
|
||||||
def delete_person_response(self):
|
def delete_person_response(self):
|
||||||
@ -1055,7 +1055,7 @@ class Gramps:
|
|||||||
_('Reverting to the last saved database '
|
_('Reverting to the last saved database '
|
||||||
'will cause all unsaved changes to be lost, and '
|
'will cause all unsaved changes to be lost, and '
|
||||||
'the last saved database will be loaded.'),
|
'the last saved database will be loaded.'),
|
||||||
_('Revert'),
|
_('_Revert'),
|
||||||
self.revert_query)
|
self.revert_query)
|
||||||
else:
|
else:
|
||||||
WarningDialog(_('Could Not Revert to the Previous Database.'),
|
WarningDialog(_('Could Not Revert to the Previous Database.'),
|
||||||
@ -1504,7 +1504,7 @@ class Gramps:
|
|||||||
_('Once a Home Person is defined, pressing the '
|
_('Once a Home Person is defined, pressing the '
|
||||||
'Home button on the toolbar will make the home '
|
'Home button on the toolbar will make the home '
|
||||||
'person the active person.'),
|
'person the active person.'),
|
||||||
_('Set Home Person'),
|
_('_Set Home Person'),
|
||||||
self.set_person)
|
self.set_person)
|
||||||
|
|
||||||
def set_person(self):
|
def set_person(self):
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
Makefile
|
Makefile
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyo
|
*.pyo
|
||||||
|
*.gladep
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user