| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -143,7 +143,12 @@ def __init__(self): | |||
| 143 | 143 | self.context_id = self.get_context_id('Statusbar') | |
| 144 | 144 | ||
| 145 | 145 | def message(self, s, n=3): | |
| 146 | + self.clear() | ||
| 146 | 147 | self.push(self.context_id, s) | |
| 148 | + gobject.timeout_add(n*1000, self.clear) | ||
| 149 | + | ||
| 150 | + def clear(self): | ||
| 151 | + self.pop(self.context_id) | ||
| 147 | 152 | ||
| 148 | 153 | ||
| 149 | 154 | class SuggestionWindow(gtk.Window): | |
@@ -303,7 +308,6 @@ def file_prompt(self, s): | |||
| 303 | 308 | ||
| 304 | 309 | def notify(self, s, n=10): | |
| 305 | 310 | self.statusbar.message(s) | |
| 306 | - | ||
| 307 | 311 | ||
| 308 | 312 | class ReplWidget(gtk.TextView, repl.Repl): | |
| 309 | 313 | __gsignals__ = dict(button_press_event=None, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments