From fe68c6541536c6b65b7193ef07bec0ac39feeaed Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 17 Jul 2011 21:30:45 +0200 Subject: Change icon, and fix a minor bug in "check" --- gui.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui.py b/gui.py index bc92d62..c2ac0f2 100644 --- a/gui.py +++ b/gui.py @@ -65,12 +65,13 @@ class ListStoreApp: toolbutton.connect('clicked', self.add_files) toolbar.add(toolbutton) - toolbutton = Gtk.ToolButton(label = 'Clean', stock_id=Gtk.STOCK_CLEAR) + toolbutton = Gtk.ToolButton(label = 'Clean', + stock_id=Gtk.STOCK_PRINT_REPORT) toolbutton.connect('clicked', self.mat_clean) toolbar.add(toolbutton) toolbutton = Gtk.ToolButton(label='Brute Clean', - stock_id=Gtk.STOCK_CLEAR) + stock_id=Gtk.STOCK_PRINT_WARNING) toolbar.add(toolbutton) toolbutton = Gtk.ToolButton(label='Check', stock_id=Gtk.STOCK_FIND) @@ -175,7 +176,7 @@ class ListStoreApp: string = 'clean' else: string = 'dirty' - self.model.append([item.shortname, item.mime, string]) + self.model.append([item.filename, item.mime, string]) def mat_clean(self, button):#I am dirty too self.model.clear() -- cgit v1.3