~pyjamateam/pyjama/main

« back to all changes in this revision

Viewing changes to pyjama.py

  • Committer: Daniel Nögel
  • Date: 2010-01-29 15:50:06 UTC
  • Revision ID: daniel@kassandra-20100129155006-5q3e3n7kadvtr7gc
* fixed the the image-bug
* you need to delete all files from ~/.pyjama/images in order to make it work

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
except:
238
238
    pass
239
239
 
 
240
try:
 
241
    tb = settings.get_value("PYJAMA", "SHOW_TOOLBAR_TEXT", True)
 
242
    counter = settings.get_value("PYJAMA", "counter", 0)
 
243
    if counter < 9 and tb == False:
 
244
        settings.set_value("PYJAMA", "counter", "9")
 
245
        settings.set_value("PYJAMA", "SHOW_TOOLBAR_TEXT", True)
 
246
        print ("Showing toolbar texts enabled. ")
 
247
except:
 
248
    pass
 
249
 
240
250
 
241
251
## @endcond
242
252
 
416
426
 
417
427
   
418
428
    (options, args) = parser.parse_args()
 
429
    #~ if "-h" or "-?" in sys.argv: parser.print_help()
 
430
    #~ sys.exit(0)
 
431
    
419
432
    run(options)
 
433
    
420
434
#print ('''
421
435
 
422
436
#                          ################