Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- workbench_old.py 2022-09-13 08:47:34.034719838 +0000
- +++ workbench.py 2022-09-13 08:48:00.628321658 +0000
- @@ -688,17 +688,6 @@
- group=101,
- )
- - self.add_command(
- - "SupportUkraine",
- - "help",
- - tr("Support Ukraine"),
- - self._support_ukraine,
- - image="Ukraine",
- - caption=tr("Support"),
- - include_in_toolbar=True,
- - group=101,
- - )
- -
- if thonny.in_debug_mode():
- self.bind_all("<Control-Shift-Alt-D>", self._print_state_for_debugging, True)
- @@ -785,22 +774,8 @@
- self._status_label = ttk.Label(self._statusbar, text="")
- self._status_label.grid(row=1, column=1, sticky="w")
- - # self._init_support_ukraine_bar()
- self._init_backend_switcher()
- - def _init_support_ukraine_bar(self) -> None:
- - ukraine_label = create_action_label(
- - self._statusbar,
- - tr("Support Ukraine"),
- - self._support_ukraine,
- - # image=self.get_image("Ukraine"),
- - # compound="left"
- - )
- - ukraine_label.grid(row=1, column=1, sticky="wsn")
- -
- - def _support_ukraine(self, event=None) -> None:
- - webbrowser.open("https://github.com/thonny/thonny/wiki/Support-Ukraine")
- -
- def _init_backend_switcher(self):
- # Set up the menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement