Skip to content

Commit 1b79130

Browse files
committed
Fix broken ControlPanel
#1141
1 parent 68fca49 commit 1b79130

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

winpython/controlpanel.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -776,16 +776,16 @@ def register_distribution(self):
776776
answer = QMessageBox.warning(
777777
self,
778778
"Register distribution",
779-
"(experimental)",
779+
"(experimental)\n"
780780
"This will associate file extensions, icons and "
781781
"Windows explorer's context menu entries ('Edit with IDLE', ...) "
782782
"with selected Python distribution in Windows registry. "
783-
"<br>Shortcuts for all WinPython launchers will be installed "
784-
"in <i>WinPython</i> Start menu group (replacing existing "
783+
"\n\nShortcuts for all WinPython launchers will be installed "
784+
"in WinPython Start menu group (replacing existing "
785785
"shortcuts)."
786-
"<br><br><u>Note</u>: these actions are similar to those performed"
786+
"\n\nNote: these actions are similar to those performed"
787787
"when installing old Pythons with the official installer before 'py' "
788-
"for Windows.<br><br>Do you want to continue?",
788+
"for Windows.\n\nDo you want to continue? ",
789789
QMessageBox.Yes | QMessageBox.No,
790790
)
791791
if answer == QMessageBox.Yes:
@@ -796,13 +796,13 @@ def unregister_distribution(self):
796796
answer = QMessageBox.warning(
797797
self,
798798
"Unregister distribution",
799-
"(experimental)",
799+
"(experimental)\n"
800800
"This will remove file extensions associations, icons and "
801801
"Windows explorer's context menu entries ('Edit with IDLE', ...) "
802802
"with selected Python distribution in Windows registry. "
803-
"<br>Shortcuts for all WinPython launchers will be removed "
804-
"from <i>WinPython</i> Start menu group."
805-
"<br><br>Do you want to continue?",
803+
"\n\nShortcuts for all WinPython launchers will be removed "
804+
"from WinPython Start menu group."
805+
"\n\nDo you want to continue? ",
806806
QMessageBox.Yes | QMessageBox.No,
807807
)
808808
if answer == QMessageBox.Yes:

0 commit comments

Comments
 (0)