pyloid 0.26.7__py3-none-any.whl → 0.26.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyloid/browser_window.py
CHANGED
@@ -732,6 +732,8 @@ class _BrowserWindow:
|
|
732
732
|
|
733
733
|
%s
|
734
734
|
|
735
|
+
%s
|
736
|
+
|
735
737
|
document.addEventListener('mousedown', function (e) {
|
736
738
|
if (e.target.hasAttribute('data-pyloid-drag-region')) {
|
737
739
|
window.__PYLOID__.startSystemDrag();
|
@@ -748,15 +750,15 @@ class _BrowserWindow:
|
|
748
750
|
"""
|
749
751
|
ipcs_init_code = "\n".join(
|
750
752
|
[
|
751
|
-
f"window
|
752
|
-
f"console.log('{ipc.__class__.__name__} object initialized:', window
|
753
|
+
f"window['ipc']['{ipc.__class__.__name__}'] = channel.objects['{ipc.__class__.__name__}'];\n"
|
754
|
+
f"console.log('{ipc.__class__.__name__} object initialized:', window['ipc']['{ipc.__class__.__name__}']);"
|
753
755
|
for ipc in self.IPCs
|
754
756
|
]
|
755
757
|
)
|
756
758
|
|
757
759
|
base_ipc_init = "window['__PYLOID__'] = channel.objects['__PYLOID__'];\n"
|
758
760
|
|
759
|
-
self.web_view.page().runJavaScript(js_code % base_ipc_init
|
761
|
+
self.web_view.page().runJavaScript(js_code % base_ipc_init % ipcs_init_code)
|
760
762
|
|
761
763
|
# if splash screen is set, close it when the page is loaded
|
762
764
|
if self.close_on_load and self.splash_screen:
|
@@ -3,7 +3,7 @@ pyloid/autostart.py,sha256=4q3YiYt2SKJiJV16FalISYVjg9X7b0l7eAmSWOhfXo0,3679
|
|
3
3
|
pyloid/base_ipc/base.py,sha256=eo0mkAOCl2h9NDD1sQNYauS15iyEGNpXY5oO5n4nNPo,8052
|
4
4
|
pyloid/base_ipc/event_api.py,sha256=JY8YfyTns4jMwZ43ob9KuGedMBSVML8FuQJHk_bDhFE,959
|
5
5
|
pyloid/base_ipc/window_api.py,sha256=-isphU3m2wGB5U0yZrSuK_4XiBz2mG45HsjYTUq7Fxs,7348
|
6
|
-
pyloid/browser_window.py,sha256=
|
6
|
+
pyloid/browser_window.py,sha256=Ioan_3HYIL9FOl_ZMQ_CBDK8XOQLI3_0SnWQwYS5xGg,91719
|
7
7
|
pyloid/custom/titlebar.py,sha256=wkh3h6ZBOYJczTrOosgiTKiSL-ZU92RWQv4FjpnH9u8,3728
|
8
8
|
pyloid/filewatcher.py,sha256=Rdu76qpwXpFNQuapZZBajRN_0svcPZa2s-06IBH4dkk,4062
|
9
9
|
pyloid/ipc.py,sha256=W58SIYN8rfx4ZwdryMCfb-UMy8VkmpFBF-a0wIGhYsA,2256
|
@@ -17,7 +17,7 @@ pyloid/timer.py,sha256=YNxQn2HVMKBk417YDiz8WwhTmSAkbnGUyFGV2biUEPg,7821
|
|
17
17
|
pyloid/tray.py,sha256=yHWsOMPpEjZa3W-T-O8Wrwo1GphCV-9adodLdxU0_mA,1673
|
18
18
|
pyloid/url_interceptor.py,sha256=lA-i5Raw-GDRDMKHRO361N6igLfN9_mIANCXwZ_FZT8,771
|
19
19
|
pyloid/utils.py,sha256=x7PGkgreV3l4K-Tke9W06t_VEtq0mH0AYWK695IR-mo,6416
|
20
|
-
pyloid-0.26.
|
21
|
-
pyloid-0.26.
|
22
|
-
pyloid-0.26.
|
23
|
-
pyloid-0.26.
|
20
|
+
pyloid-0.26.9.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
21
|
+
pyloid-0.26.9.dist-info/METADATA,sha256=u5ijJDXP3i-r4O3ZdcOzw51GQ8LgeJswpKkIxbJgbDk,2298
|
22
|
+
pyloid-0.26.9.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
23
|
+
pyloid-0.26.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|