Mercurial > boomslang
comparison pyntnclick/widgets/messagebox.py @ 602:1aac5a3b17e1 pyntnclick
Remove anything that has to do with focus (hopefully not breaking anything)
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 11 Feb 2012 20:05:22 +0200 |
parents | f9f04cb35697 |
children | fdc63049b08c |
comparison
equal
deleted
inserted
replaced
601:0ae62d824d2f | 602:1aac5a3b17e1 |
---|---|
47 self.parent.remove(self) | 47 self.parent.remove(self) |
48 if self.post_callback: | 48 if self.post_callback: |
49 self.post_callback() | 49 self.post_callback() |
50 if getattr(self, 'parent_modal', False): | 50 if getattr(self, 'parent_modal', False): |
51 self.parent.modal = True | 51 self.parent.modal = True |
52 | |
53 def grab_focus(self): | |
54 return self.ok_button.grab_focus() |