Changeset 131

Show
Ignore:
Timestamp:
04/14/08 01:27:52 (5 months ago)
Author:
njriley
Message:

run regardless of current directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sucrose/trunk/python/keypad_tk.py

    r129 r131  
    33import Tkinter 
    44import sys 
     5import os 
    56 
    67from api import user_interface, authenticator 
     
    3536 
    3637                self.window = Tkinter.Tk() 
    37                 self.window.config(cursor='@emptycursor.xbm white') 
     38                cursor_file = os.path.join(os.path.dirname(__file__), 'emptycursor.xbm') 
     39                self.window.config(cursor='@%s white' % cursor_file) 
    3840                self.window.title('Sucrose') 
    3941                self.window.geometry('800x600+0+0')