~nlaurance/timekpr/cmdline

« back to all changes in this revision

Viewing changes to timekpr-gui.py

  • Committer: Savvas Radevic
  • Date: 2008-10-15 21:05:00 UTC
  • Revision ID: vicedar@gmail.com-20081015210500-10t24u114gzpabk6
Debianizing - Cleaning up (part 3)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
except: exit(1)
12
12
 
13
13
#If DEVACTIVE is true, it uses files from local directory
14
 
DEVACTIVE = True
 
14
DEVACTIVE = False
15
15
 
16
16
#Read timekpr.conf
17
17
TIMEKPRCONF = '/etc/timekpr.conf'
349
349
        
350
350
        def statusicons(self, widget, uislocked):
351
351
                #Set icons in status gtk-yes or gtk-no
352
 
                lockgreen = 'padlock-green.png'
353
 
                lockred = 'padlock-red.png'
 
352
                lockgreen = TIMEKPRSHARED + '/padlock-green.png'
 
353
                lockred = TIMEKPRSHARED + '/padlock-red.png'
354
354
                iconyes = gtk.STOCK_YES
355
355
                iconno = gtk.STOCK_NO
356
356
                iconsize = gtk.ICON_SIZE_BUTTON