diff options
author | Rael <rael.gc@gmail.com> | 2015-10-07 07:48:19 -0300 |
---|---|---|
committer | Rael <rael.gc@gmail.com> | 2015-10-07 07:48:19 -0300 |
commit | 65cbc1fb054728b977350806bde537ad10fcd13a (patch) | |
tree | 7657f938e78f70431c41eb218815cf6235627b5d | |
parent | 8c6c942cdd5d5a48dadde77477995f9a4bad20d1 (diff) | |
download | scudcloud-65cbc1fb054728b977350806bde537ad10fcd13a.zip scudcloud-65cbc1fb054728b977350806bde537ad10fcd13a.tar.gz scudcloud-65cbc1fb054728b977350806bde537ad10fcd13a.tar.bz2 |
Fixing resume from suspend script (#250)
-rwxr-xr-x | scudcloud-1.0/lib/scudcloud.py | 2 | ||||
-rw-r--r-- | scudcloud-1.0/lib/wrapper.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/scudcloud-1.0/lib/scudcloud.py b/scudcloud-1.0/lib/scudcloud.py index 3385035..799a92c 100755 --- a/scudcloud-1.0/lib/scudcloud.py +++ b/scudcloud-1.0/lib/scudcloud.py @@ -79,7 +79,7 @@ class ScudCloud(QtGui.QMainWindow): # We want the Resume event if not suspended: for i in range(0, self.stackedWidget.count()): - self.stackedWidget.widget(i).loadFinished() + self.stackedWidget.widget(i).overrideNotifications() def addWrapper(self, url): webView = Wrapper(self) diff --git a/scudcloud-1.0/lib/wrapper.py b/scudcloud-1.0/lib/wrapper.py index e91d8e7..57b2dc7 100644 --- a/scudcloud-1.0/lib/wrapper.py +++ b/scudcloud-1.0/lib/wrapper.py @@ -134,6 +134,9 @@ class Wrapper(QWebView): def help(self): self.call("help") + def overrideNotifications(self): + self.call("overrideNotifications") + def helpCenter(self): subprocess.call(('xdg-open', "https://slack.zendesk.com/hc/en-us")) |