Mercurial > code > home > repos > light9
diff bin/subcomposer @ 458:8b307310cc1b
when KC launches SC to edit a sub, don't place the window right on the main SC window
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Jun 2008 23:23:48 +0000 |
parents | 9dd2baa41cca |
children | 4e558643c952 |
line wrap: on
line diff
--- a/bin/subcomposer Sun Jun 15 23:23:07 2008 +0000 +++ b/bin/subcomposer Sun Jun 15 23:23:48 2008 +0000 @@ -147,12 +147,15 @@ if __name__ == "__main__": parser = OptionParser(usage="%prog [subname]") + parser.add_option('--no-geometry', action='store_true', + help="don't save/restore window geometry") opts, args = parser.parse_args() root=tk.Tk() root.config(bg='black') root.tk_setPalette("#004633") - toplevelat("subcomposer", root) + if not opts.no_geometry: + toplevelat("subcomposer", root) sc = Subcomposer(root, dmxdummy=0, #numchannels=276 # use this to see all the skyline dims @@ -164,6 +167,7 @@ font="Helvetica -12 italic",anchor='w').pack(side='top',fill='x') if len(args) == 1: + root.config(bg='green') # trying to make these look distinctive sc.loadsub(args[0]) sc.fill_both_boxes(args[0])