diff options
Diffstat (limited to 'Lib/idlelib/WindowList.py')
-rw-r--r-- | Lib/idlelib/WindowList.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/WindowList.py b/Lib/idlelib/WindowList.py index 542b738..ba9f3b3 100644 --- a/Lib/idlelib/WindowList.py +++ b/Lib/idlelib/WindowList.py @@ -29,9 +29,6 @@ class WindowList: list.append((title, window)) list.sort() for title, window in list: - if title == "Python Shell": - # Hack -- until we have a better way to this - continue menu.add_command(label=title, command=window.wakeup) def register_callback(self, callback): @@ -72,6 +69,9 @@ class ListedToplevel(Toplevel): if not registry.dict: self.quit() + def update_windowlist_registry(self, window): + registry.call_callbacks() + def get_title(self): # Subclass can override return self.wm_title() |