Commits

Diez Roggisch  committed 45f79fe

user-defaults are working now

  • Participants
  • Parent commits 3f100a6

Comments (0)

Files changed (1)

File TouchVIZDelegate.py

     NSUserDefaults,
     )
 
-from Cocoa import NSUserDefaultsController
-
 
 from touchviz.visualization import Visualizer
 from touchviz.tracker import Tracker, OneNormalizer
 
     def init(self):
         self = super(TouchVIZDelegate, self).init()
-        #defaults = NSUserDefaultsController.sharedUserDefaultsController()
         defaults = NSUserDefaults.standardUserDefaults()
 
         defaults.registerDefaults_(
                 "listen_port" : 7000,
             }
         )
-        ## defaults.setInitialValues_(
-        ##     {
-        ##         "max_host" : "127.0.0.1",
-        ##         "max_port" : 7110,
-        ##         "listen_port" : 7000,
-        ##     }
-        ## )
         return self