Fixed Utils.open_file_with_default_application() to gui.utils instead of Utils now. Works again.

svn: r12699
This commit is contained in:
Rob G. Healey
2009-06-23 20:49:18 +00:00
parent 1101b21ba0
commit ae28b8538b
13 changed files with 34 additions and 25 deletions

View File

@@ -48,7 +48,7 @@ import gobject
#
#-------------------------------------------------------------------------------
import Utils
from gui.utils import ProgressMeter
from gui.utils import ProgressMeter, open_file_with_default_application
from gen.plug.docgen import BaseDoc, GVDoc
import Config
from ReportBase import CATEGORY_GRAPHVIZ
@@ -380,7 +380,7 @@ class GVDotDoc(GVDocBase):
dotfile.close()
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -441,7 +441,7 @@ class GVPsDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -487,7 +487,7 @@ class GVSvgDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -533,7 +533,7 @@ class GVSvgzDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -579,7 +579,7 @@ class GVPngDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -625,7 +625,7 @@ class GVJpegDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -671,7 +671,7 @@ class GVGifDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -720,7 +720,7 @@ class GVPdfGvDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#
@@ -782,7 +782,7 @@ class GVPdfGsDoc(GVDocBase):
os.remove(tmp_dot)
if self.open_req:
Utils.open_file_with_default_application(self._filename)
open_file_with_default_application(self._filename)
#-------------------------------------------------------------------------------
#