* src/plugins/GraphViz.py: Remove bogus UI labels.

svn: r3921
This commit is contained in:
Alex Roitman 2005-01-17 20:46:32 +00:00
parent 3d87ce091c
commit 2ca62de9a5
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
2005-01-17 Martin Hawlisch <Martin.Hawlisch@gmx.de> 2005-01-17 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/ReadGedcom.py: Handle missing TRLR record. * src/ReadGedcom.py: Handle missing TRLR record.
* src/plugins/GraphViz.py: Remove bogus UI labels.
2005-01-16 Alex Roitman <shura@alex.neuro.umn.edu> 2005-01-16 Alex Roitman <shura@alex.neuro.umn.edu>
* src/Plugins.py (reload_plugins): Check for status. * src/Plugins.py (reload_plugins): Check for status.
* src/Report.py: pychecker fixes * src/Report.py: pychecker fixes

View File

@ -750,7 +750,7 @@ class FormatComboBox(gtk.ComboBox):
return '.dot' return '.dot'
def get_printable(self): def get_printable(self):
return _("Generate print output") return None
def get_clname(self): def get_clname(self):
return 'dot' return 'dot'
@ -794,7 +794,7 @@ class GraphicsFormatComboBox(gtk.ComboBox):
return _formats[self.get_active()][1] return _formats[self.get_active()][1]
def get_printable(self): def get_printable(self):
return _("Generate print output") return None
def get_clname(self): def get_clname(self):
return 'print' return 'print'
@ -850,7 +850,7 @@ class GraphVizGraphics(Report.Report):
GraphViz(self.database,self.start_person,self.options_class) GraphViz(self.database,self.start_person,self.options_class)
def end_report(self): def end_report(self):
os.system('dot -T%s -o %s %s ; rm %s' % os.system('dot -T%s -o%s %s ; rm %s' %
(self.the_format,self.user_output, (self.the_format,self.user_output,
self.junk_output,self.junk_output)) self.junk_output,self.junk_output))