* src/plugins/GraphVis.py: ues Mime instead of GrampsMime
svn: r6883
This commit is contained in:
parent
1545b277a8
commit
475e167e21
@ -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>
|
2006-06-11 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsDb/_ReadGedcom.py: fix event parsing
|
* src/GrampsDb/_ReadGedcom.py: fix event parsing
|
||||||
* src/GramspDb/_GedcomInfo.py: fix ORDN identification
|
* src/GramspDb/_GedcomInfo.py: fix ORDN identification
|
||||||
|
@ -1010,9 +1010,9 @@ class FormatComboBox(gtk.ComboBox):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import Utils
|
import Utils
|
||||||
import GrampsMime
|
import Mime
|
||||||
|
|
||||||
mprog = GrampsMime.get_application(_apptype)
|
mprog = Mime.get_application(_apptype)
|
||||||
|
|
||||||
if Utils.search_for(mprog[0]):
|
if Utils.search_for(mprog[0]):
|
||||||
print_label = _("Open in %(program_name)s") % { 'program_name':
|
print_label = _("Open in %(program_name)s") % { 'program_name':
|
||||||
@ -1070,8 +1070,8 @@ class GraphicsFormatComboBox(gtk.ComboBox):
|
|||||||
print_label = None
|
print_label = None
|
||||||
try:
|
try:
|
||||||
import Utils
|
import Utils
|
||||||
import GrampsMime
|
import Mime
|
||||||
mprog = GrampsMime.get_application(_apptype)
|
mprog = Mime.get_application(_apptype)
|
||||||
if Utils.search_for(mprog[0]):
|
if Utils.search_for(mprog[0]):
|
||||||
print_label = _("Open in %(program_name)s") % { 'program_name':
|
print_label = _("Open in %(program_name)s") % { 'program_name':
|
||||||
mprog[1]}
|
mprog[1]}
|
||||||
@ -1157,9 +1157,9 @@ class GraphVizGraphics(Report):
|
|||||||
if _apptype:
|
if _apptype:
|
||||||
try:
|
try:
|
||||||
import Utils
|
import Utils
|
||||||
import GrampsMime
|
import Mime
|
||||||
|
|
||||||
app = GrampsMime.get_application(_apptype)
|
app = Mime.get_application(_apptype)
|
||||||
os.environ["FILE"] = self.user_output
|
os.environ["FILE"] = self.user_output
|
||||||
os.system ('%s "$FILE" &' % app[0])
|
os.system ('%s "$FILE" &' % app[0])
|
||||||
except:
|
except:
|
||||||
@ -1174,8 +1174,8 @@ class GraphVizGraphics(Report):
|
|||||||
if _apptype:
|
if _apptype:
|
||||||
try:
|
try:
|
||||||
import Utils
|
import Utils
|
||||||
import GrampsMime
|
import Mime
|
||||||
app = GrampsMime.get_application(_apptype)
|
app = Mime.get_application(_apptype)
|
||||||
os.environ["FILE"] = self.user_output
|
os.environ["FILE"] = self.user_output
|
||||||
os.system ('%s "$FILE" &' % app[0])
|
os.system ('%s "$FILE" &' % app[0])
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user