From 475e167e210cc4f8be8c0e510a858c5a19edfe43 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 13 Jun 2006 02:08:11 +0000 Subject: [PATCH] * src/plugins/GraphVis.py: ues Mime instead of GrampsMime svn: r6883 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/GraphViz.py | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 1aa912db4..7a0b8fb0e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-06-12 Brian Matherly + * src/plugins/GraphVis.py: ues Mime instead of GrampsMime + 2006-06-11 Don Allingham * src/GrampsDb/_ReadGedcom.py: fix event parsing * src/GramspDb/_GedcomInfo.py: fix ORDN identification diff --git a/gramps2/src/plugins/GraphViz.py b/gramps2/src/plugins/GraphViz.py index 33d71b538..9a9485244 100644 --- a/gramps2/src/plugins/GraphViz.py +++ b/gramps2/src/plugins/GraphViz.py @@ -1010,9 +1010,9 @@ class FormatComboBox(gtk.ComboBox): try: import Utils - import GrampsMime + import Mime - mprog = GrampsMime.get_application(_apptype) + mprog = Mime.get_application(_apptype) if Utils.search_for(mprog[0]): print_label = _("Open in %(program_name)s") % { 'program_name': @@ -1070,8 +1070,8 @@ class GraphicsFormatComboBox(gtk.ComboBox): print_label = None try: import Utils - import GrampsMime - mprog = GrampsMime.get_application(_apptype) + import Mime + mprog = Mime.get_application(_apptype) if Utils.search_for(mprog[0]): print_label = _("Open in %(program_name)s") % { 'program_name': mprog[1]} @@ -1157,9 +1157,9 @@ class GraphVizGraphics(Report): if _apptype: try: import Utils - import GrampsMime + import Mime - app = GrampsMime.get_application(_apptype) + app = Mime.get_application(_apptype) os.environ["FILE"] = self.user_output os.system ('%s "$FILE" &' % app[0]) except: @@ -1174,8 +1174,8 @@ class GraphVizGraphics(Report): if _apptype: try: import Utils - import GrampsMime - app = GrampsMime.get_application(_apptype) + import Mime + app = Mime.get_application(_apptype) os.environ["FILE"] = self.user_output os.system ('%s "$FILE" &' % app[0]) except: