Save As - track stop buttons in Activity instance
Track the stop buttons for the activity, so that they can be set
insensitive or not in a later patch.
Our API allows for more than one stop button, though the use of more
than one is very rare.
James Cameron
6 years ago
447 | 447 | bundle = get_bundle_instance(get_bundle_path()) |
448 | 448 | self.set_icon_from_file(bundle.get_icon()) |
449 | 449 | |
450 | self._stop_buttons = [] | |
451 | ||
452 | def add_stop_button(self, button): | |
453 | self._stop_buttons.append(button) | |
450 | 454 | |
451 | 455 | def run_main_loop(self): |
452 | 456 | Gtk.main() |