fixing errors finding by pychecker
authorAlexandr Popov <popov2al@gmail.com>
Fri, 27 Feb 2009 18:37:19 +0000 (21:37 +0300)
committerAlexandr Popov <popov2al@gmail.com>
Fri, 27 Feb 2009 18:37:19 +0000 (21:37 +0300)
src/findit.py

index dabd68d..f91f582 100755 (executable)
@@ -150,7 +150,7 @@ class MainWindow(gtk.Window):
         dialog.destroy()
 
     # Функция выполняющаяся при нажатии на кнопку "Показать"
-    def start_print(self, widget):
+    def start_print(self):
         self.start_path = self.srch_p_entr.get_text()
         # Проверяем правильное ли значение введено
         if isdir(self.start_path):
@@ -183,11 +183,11 @@ class MainWindow(gtk.Window):
             self.mess_window('error', _('Invalid directory') )
 
     # Функция выполняющаяся при нажатии на кнопку "Стоп"
-    def stop_print(self, widget):
+    def stop_print(self):
         self.stopit = True
 
     # Функция выполняющаяся при нажатии на кнопку "Свойства файла"
-    def show_properties_dialog(self, *args):
+    def show_properties_dialog(self):
         selection = self.treeview.get_selection()
         (model, it) = selection.get_selected()
         try: