pyloid 0.12.1__py3-none-any.whl → 0.12.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
pyloid/pyloid.py
CHANGED
@@ -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):
|
@@ -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.
|
@@ -4,11 +4,11 @@ pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
|
|
4
4
|
pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
|
5
5
|
pyloid/filewatcher.py,sha256=n8N56D65le5TpsgxXb7z-FO_0lqv4UYD4yGq_UuMrAs,1285
|
6
6
|
pyloid/monitor.py,sha256=fqDnZ_7dpxVZLVJ5gCluDRY2USrQ5YL_fw1AnYivhsk,12741
|
7
|
-
pyloid/pyloid.py,sha256=
|
7
|
+
pyloid/pyloid.py,sha256=Q6M2HyV7M8-DrRwSNtQu1Rxbm_tSyVEMsb3euIQ383g,48889
|
8
8
|
pyloid/timer.py,sha256=1bYhqte3rV77vaeMUkcTgmx2ux7FtCqLCx9lIC2-COg,4360
|
9
9
|
pyloid/tray.py,sha256=rXgdkvzGxtie_EIcTSA7fjuta4nJk5THhNkGFcfv5Ew,634
|
10
10
|
pyloid/utils.py,sha256=DQerZWU_0o8dHcJ5y3yXf9i5OXn7KQZqU-hVBq3uPUA,711
|
11
|
-
pyloid-0.12.
|
12
|
-
pyloid-0.12.
|
13
|
-
pyloid-0.12.
|
14
|
-
pyloid-0.12.
|
11
|
+
pyloid-0.12.2.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
12
|
+
pyloid-0.12.2.dist-info/METADATA,sha256=oS4sC1P8_eLHtxOLy2rg3vwTx8ViyDnA2AhhGPPx_Po,6069
|
13
|
+
pyloid-0.12.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
14
|
+
pyloid-0.12.2.dist-info/RECORD,,
|
File without changes
|