Change the way we "launch" files using their default application. Instead of trying to find the application ourselves, use the OS built in functions to open a file with its default application. We no longer show the name of the application that we will open the file with because we don't know.
svn: r11781
This commit is contained in:
@@ -1356,15 +1356,15 @@ class BaseDoc:
|
||||
self.paper = paper_style
|
||||
self._style_sheet = styles
|
||||
self._creator = ""
|
||||
self.print_req = 0
|
||||
self.open_req = 0
|
||||
self.init_called = False
|
||||
self.type = "standard"
|
||||
|
||||
def init(self):
|
||||
self.init_called = True
|
||||
|
||||
def print_requested(self):
|
||||
self.print_req = 1
|
||||
def open_requested(self):
|
||||
self.open_req = 1
|
||||
|
||||
def set_creator(self, name):
|
||||
"Set the owner name"
|
||||
|
Reference in New Issue
Block a user