diff options
| -rwxr-xr-x | mat-gui | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -121,6 +121,12 @@ class GUI: | |||
| 121 | toolbutton.set_tooltip_text(_('Check selected files for harmful meta')) | 121 | toolbutton.set_tooltip_text(_('Check selected files for harmful meta')) |
| 122 | toolbar.add(toolbutton) | 122 | toolbar.add(toolbutton) |
| 123 | 123 | ||
| 124 | toolbutton = gtk.ToolButton(gtk.STOCK_REMOVE) | ||
| 125 | toolbutton.set_label(_('Clear the filelist')) | ||
| 126 | toolbutton.connect('clicked', lambda x: self.liststore.clear()) | ||
| 127 | toolbutton.set_tooltip_text(_('Clear the filelist')) | ||
| 128 | toolbar.add(toolbutton) | ||
| 129 | |||
| 124 | toolbutton = gtk.ToolButton(stock_id=gtk.STOCK_QUIT) | 130 | toolbutton = gtk.ToolButton(stock_id=gtk.STOCK_QUIT) |
| 125 | toolbutton.set_label(_('Quit')) | 131 | toolbutton.set_label(_('Quit')) |
| 126 | toolbutton.connect('clicked', gtk.main_quit) | 132 | toolbutton.connect('clicked', gtk.main_quit) |
