fixed problems on elementary os
This commit is contained in:
parent
91913ddaad
commit
0e6600ac68
2 changed files with 9 additions and 5 deletions
|
@ -414,6 +414,7 @@ class NewPost(Helper.RestorableWindow):
|
|||
def load_finished(self, widget):
|
||||
callback = "function() { bungloo.newpost.setStatus(\"%s\"); }" % (self.status_string)
|
||||
script = "function HostAppGo() { start('newpost', " + callback + "); }"
|
||||
script = "function HostAppGo() { start('newpost'); }"
|
||||
self.webView.page().mainFrame().evaluateJavaScript(script)
|
||||
self.webView.setFocus()
|
||||
|
||||
|
|
Reference in a new issue