Compare commits
No commits in common. "0f62f07c97a9b6fa201d905bfeb23a1e58f2ad39" and "87b26de0c8ff4a6632f781cdc3d6f494b23a408d" have entirely different histories.
0f62f07c97
...
87b26de0c8
3 changed files with 0 additions and 15 deletions
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d1146046c0a222d1c278cda5c8852980d79ddd23
|
||||
|
|
@ -1491,7 +1491,6 @@ class MenuPage(Page):
|
|||
("edit_profile", self.edit_prof, (540, 440, 110, 60)),
|
||||
# ("delete_profile", self.delete_profile, (670, 440, 110, 60)),
|
||||
("launch", self.launch, (0, 440, 185, 63)),
|
||||
("p2p_request", self.request_func, (10, 433, 185, 73)),
|
||||
("disconnect", self.disconnect, (200, 433, 185, 73)),
|
||||
("disconnect_system_wide", self.disconnect, (200, 433, 185, 73)),
|
||||
("just", self.connect, (200, 433, 185, 73)),
|
||||
|
|
@ -1506,8 +1505,6 @@ class MenuPage(Page):
|
|||
boton.setIconSize(boton.size())
|
||||
boton.clicked.connect(functools.partial(function))
|
||||
boton.setEnabled(False)
|
||||
if icon_name == "p2p_request":
|
||||
self.request_button = boton
|
||||
if icon_name == "disconnect":
|
||||
boton.setEnabled(True)
|
||||
boton.setVisible(False)
|
||||
|
|
@ -1558,15 +1555,6 @@ class MenuPage(Page):
|
|||
else:
|
||||
pass
|
||||
|
||||
def request_func(self):
|
||||
if hasattr(self, 'reverse_id'):
|
||||
profile_id = self.reverse_id
|
||||
project_root = os.path.dirname(
|
||||
os.path.dirname(os.path.abspath(__file__)))
|
||||
script_path = os.path.join(
|
||||
project_root, 'SMS-Exchange-Linux-GUI', 'GUI.py')
|
||||
subprocess.Popen([sys.executable, script_path, str(profile_id)])
|
||||
|
||||
def delete_status_update(self, text):
|
||||
self.update_status.update_status(text)
|
||||
self.eliminacion()
|
||||
|
|
@ -2002,8 +1990,6 @@ class MenuPage(Page):
|
|||
|
||||
profile = self.profile_info.get(profile_name)
|
||||
self.boton_launch.setEnabled(True)
|
||||
if hasattr(self, 'request_button'):
|
||||
self.request_button.setEnabled(True)
|
||||
self.boton_just.setEnabled(True)
|
||||
self.boton_just_session.setEnabled(True)
|
||||
self.boton_create.setEnabled(True)
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 7.2 KiB |
Loading…
Reference in a new issue