* src/plugins/ReorderIds.py: Display message and return.
svn: r3174
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
				
			|||||||
2004-05-16  Alex Roitman  <shura@alex.neuro.umn.edu>
 | 
					2004-05-16  Alex Roitman  <shura@alex.neuro.umn.edu>
 | 
				
			||||||
	* src/plugins/RelGraph.py: Menu for family options.
 | 
						* src/plugins/RelGraph.py: Menu for family options.
 | 
				
			||||||
	* src/plugins/RelGraph.py (_get_event_label): Typo.
 | 
						* src/plugins/RelGraph.py (_get_event_label): Typo.
 | 
				
			||||||
 | 
						* src/plugins/ReorderIds.py: Display message and return.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2004-05-15  Alex Roitman  <shura@alex.neuro.umn.edu>
 | 
					2004-05-15  Alex Roitman  <shura@alex.neuro.umn.edu>
 | 
				
			||||||
	* src/plugins/RelGraph.py (_write_graph_record): Bug fixes.
 | 
						* src/plugins/RelGraph.py (_write_graph_record): Bug fixes.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,8 +31,15 @@ from gettext import gettext as _
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
_findint = re.compile('^[^\d]*(\d+)[^\d]*')
 | 
					_findint = re.compile('^[^\d]*(\d+)[^\d]*')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def runTool(db,active_person,callback):
 | 
					def runTool(db,active_person,callback,parent):
 | 
				
			||||||
    """Changed person, family, object, source, and place ids"""
 | 
					    """Changed person, family, object, source, and place ids"""
 | 
				
			||||||
 | 
					    # FIXME: Remove when plugin is properly implemented
 | 
				
			||||||
 | 
					    from QuestionDialog import OkDialog
 | 
				
			||||||
 | 
					    OkDialog(_("Plugin unavailable"),
 | 
				
			||||||
 | 
					            _("This plugin is not implemented yet. Please check the next version."),
 | 
				
			||||||
 | 
					            parent.topWindow)
 | 
				
			||||||
 | 
					    return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
        ReorderIds(db,callback)
 | 
					        ReorderIds(db,callback)
 | 
				
			||||||
    except:
 | 
					    except:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user