Mercurial > code > home > repos > light9
comparison bin/keyboardcomposer @ 815:d7f1f868eb6c
toplevel window pos is saved in the graph. Patch conflicts no longer break as hard, but they don't exactly reset themselves right yet eiher
Ignore-this: 56f96fd0b1a8602abc4e41851685794c
author | drewp@bigasterisk.com |
---|---|
date | Sat, 20 Oct 2012 21:52:10 +0000 |
parents | 1ae8e6b287e3 |
children | 295b867fd810 |
comparison
equal
deleted
inserted
replaced
814:1ae8e6b287e3 | 815:d7f1f868eb6c |
---|---|
547 graph = SyncedGraph("keyboardcomposer") | 547 graph = SyncedGraph("keyboardcomposer") |
548 | 548 |
549 root = Tk() | 549 root = Tk() |
550 initTkdnd(root.tk, 'tkdnd/trunk/') | 550 initTkdnd(root.tk, 'tkdnd/trunk/') |
551 | 551 |
552 # this has yet to be moved into the session graph | 552 session = clientsession.getUri('keyboardcomposer', opts) |
553 | |
553 tl = toplevelat("Keyboard Composer - %s" % opts.session, | 554 tl = toplevelat("Keyboard Composer - %s" % opts.session, |
554 existingtoplevel=root) | 555 existingtoplevel=root, graph=graph, session=session) |
555 | |
556 session = clientsession.getUri('keyboardcomposer', opts) | |
557 | 556 |
558 kc = KeyboardComposer(tl, graph, session, | 557 kc = KeyboardComposer(tl, graph, session, |
559 hw_sliders=not opts.no_sliders) | 558 hw_sliders=not opts.no_sliders) |
560 kc.pack(fill=BOTH, expand=1) | 559 kc.pack(fill=BOTH, expand=1) |
561 | 560 |