for fsize, fpath in nlargest(count, search_func):
filelist.append([int(fsize), fpath, size_hum_read(fsize)])
+ if not filelist:
+ self.present.nothing_founded()
+ return
results = [filelist, start_path]
self.present.show_out_toplevel(outtype, results)
print '\\' + '\r',
### print current_path
+ def nothing_founded(self):
+ print _('Nothing founded!')
+
def run(self):
self.start_func(self.get_data, self.get_stopit)
self.statusbar.push(self.context_id, current_path)
gtk.main_iteration()
+ def nothing_founded(self):
+ self.statusbar.push(self.context_id, _('Nothing founded!'))
+
def run(self):
pass