Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0r committed Jan 17, 2023
1 parent 81a3aba commit e5b28c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ _Released 18/01/2023_
- [All] Local relative URLs (eg. src/index.html) are opened using the built-in http server by default. Support for local URLs is still possible using file:// schema
- [Cocoa] Disable Ctrl+click context menu. Thanks @ecpost.
- [EdgeChromium] Improve `evaluate_js` performance.
- [GTK] Enable media / audio / WebGL / clipboard related WebKit features

### 🐞 Bug fixes
- [Cocoa] Fix passing through keyboard events handled by pywebview. Thanks @ecpost.
Expand Down
15 changes: 2 additions & 13 deletions webview/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, uid, title, url, html, width, height, x, y, resizable, fullsc
self._http_port=http_port
self._server=server
self._server_args=server_args

# HTTP server path magic
self._url_prefix = None
self._common_path = None
Expand Down Expand Up @@ -128,7 +128,7 @@ def _initialize(self, gui, server=None):
prefix, common_path, server = http.start_server(urls=[self.original_url], http_port=self._http_port, server=self._server, **self._server_args)
elif server is None:
server = http.global_server

self._url_prefix = server.address if not server is None else None
self._common_path = server.common_path if not server is None else None
self._server = server
Expand Down Expand Up @@ -365,17 +365,6 @@ def create_confirmation_dialog(self, title, message):

return self.gui.create_confirmation_dialog(title, message, self.uid)

@_shown_call
def create_message_box(self, title, message):
"""
Create a confirmation dialog
:param title: Dialog title
:param message: Dialog detail message
:return: True for OK, False for Cancel
"""

return self.gui.create_message_box(title, message, self.uid)

@_shown_call
def create_file_dialog(self, dialog_type=10, directory='', allow_multiple=False, save_filename='', file_types=()):
"""
Expand Down

0 comments on commit e5b28c3

Please sign in to comment.