fixing conflict after merging
authorAlexandr Popov <popov2al@gmail.com>
Sat, 28 Feb 2009 12:18:19 +0000 (15:18 +0300)
committerAlexandr Popov <popov2al@gmail.com>
Sat, 28 Feb 2009 12:18:19 +0000 (15:18 +0300)
src/findit.py

index efa86e4..669f03e 100755 (executable)
@@ -15,8 +15,12 @@ import time
 from sys import platform
 
 try: 
+<<<<<<< HEAD:src/findit.py
+    import hildon; hildonFound = True
+=======
     import hildon
     hildonFound = True
+>>>>>>> master:src/findit.py
 except ImportError:
     hildonFound = False
 
@@ -66,8 +70,12 @@ def filegetter(startdir, obj):
                 raise StopIteration
             # Проверяем можем ли мы определить размер файла - иначе пропускаем его
             try:
+<<<<<<< HEAD:src/findit.py
+                flsize = getsize(flpath)
+=======
                 # Возвращаем размер и полный путь файла
                 yield getsize(flpath), flpath
+>>>>>>> master:src/findit.py
             except OSError:
                 continue
 
@@ -152,7 +160,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):
@@ -186,11 +194,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: