import pango
from os import walk
from os.path import join, abspath, normcase, basename, \
- isdir, getsize, getatime, getmtime
+ isdir, getsize, getatime, getmtime, expanduser
from heapq import nlargest
import gettext
import time
+from sys import platform
try: import hildon; hildonFound = True
except: hildonFound = False
if __name__ == '__main__':
gobject.set_application_name( _('FindIT') )
- app = MainWindow(575, 345, '/home')
- app.run()
+ if platform == 'win32':
+ startpath = 'c:\\'
+ else:
+ startpath = expanduser('~')
+
+ app = MainWindow(575, 345, startpath)
+ app.run()