Fixed Utils.open_file_with_default_application() to gui.utils instead of Utils now. Works again.
svn: r12699
This commit is contained in:
@ -34,6 +34,7 @@ from gettext import gettext as _
|
||||
# Gramps modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from gui.utils import open_file_with_default_application
|
||||
from gen.plug.docgen import BaseDoc, TextDoc,\
|
||||
PARA_ALIGN_RIGHT, PARA_ALIGN_CENTER
|
||||
from gen.plug import PluginManager, DocGenPlugin
|
||||
@ -154,7 +155,7 @@ class AsciiDoc(BaseDoc,TextDoc):
|
||||
self.f.close()
|
||||
|
||||
if self.open_req:
|
||||
Utils.open_file_with_default_application(self.filename)
|
||||
open_file_with_default_application(self.filename)
|
||||
|
||||
def get_usable_width(self):
|
||||
return _WIDTH_IN_CHARS
|
||||
|
Reference in New Issue
Block a user