pyloid 0.12.1__tar.gz → 0.12.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyloid-0.12.1 → pyloid-0.12.2}/LICENSE +1 -1
- {pyloid-0.12.1 → pyloid-0.12.2}/PKG-INFO +1 -1
- {pyloid-0.12.1 → pyloid-0.12.2}/pyproject.toml +1 -1
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/pyloid.py +3 -3
- {pyloid-0.12.1 → pyloid-0.12.2}/README.md +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/__init__.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/api.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/autostart.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/monitor.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/timer.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/tray.py +0 -0
- {pyloid-0.12.1 → pyloid-0.12.2}/src/pyloid/utils.py +0 -0
@@ -198,4 +198,4 @@ Apache License
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
201
|
+
limitations under the License.
|
@@ -760,7 +760,7 @@ class BrowserWindow:
|
|
760
760
|
return self._window.isVisible()
|
761
761
|
|
762
762
|
def set_resizable(self, resizable: bool):
|
763
|
-
"""
|
763
|
+
"""Sets the resizability of the window."""
|
764
764
|
self.resizable = resizable
|
765
765
|
if resizable:
|
766
766
|
self._window.setWindowFlags(
|
@@ -898,14 +898,14 @@ class Pyloid(QApplication):
|
|
898
898
|
def _init_single_instance(self):
|
899
899
|
"""Initializes the application as a single instance."""
|
900
900
|
socket = QLocalSocket()
|
901
|
-
socket.connectToServer(
|
901
|
+
socket.connectToServer(self.app_name)
|
902
902
|
if socket.waitForConnected(500):
|
903
903
|
# Another instance is already running
|
904
904
|
sys.exit(1)
|
905
905
|
|
906
906
|
# Create a new server
|
907
907
|
self.server = QLocalServer()
|
908
|
-
self.server.listen(
|
908
|
+
self.server.listen(self.app_name)
|
909
909
|
self.server.newConnection.connect(self._handle_new_connection)
|
910
910
|
|
911
911
|
def _handle_new_connection(self):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|