* src/plugins/GraphVis.py: ues Mime instead of GrampsMime

svn: r6883
This commit is contained in:
Brian Matherly 2006-06-13 02:08:11 +00:00
parent 4871ba35db
commit 44725c0640
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,6 @@
2006-06-12 Brian Matherly <brian@gramps-project.org>
* src/plugins/GraphVis.py: ues Mime instead of GrampsMime
2006-06-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix event parsing
* src/GramspDb/_GedcomInfo.py: fix ORDN identification

View File

@ -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: