##// END OF EJS Templates
hgk: remember main window position
Eduard-Cristian Stefan -
r12634:43f42de7 default
parent child Browse files
Show More
@@ -469,7 +469,12 b' proc makewindow {} {'
469 global rowctxmenu gaudydiff mergemax
469 global rowctxmenu gaudydiff mergemax
470 global hgvdiff bgcolor fgcolor diffremcolor diffaddcolor diffmerge1color
470 global hgvdiff bgcolor fgcolor diffremcolor diffaddcolor diffmerge1color
471 global diffmerge2color hunksepcolor
471 global diffmerge2color hunksepcolor
472
472 global posx posy
473
474 if {[info exists posx]} {
475 wm geometry . +$posx+$posy
476 }
477
473 menu .bar
478 menu .bar
474 .bar add cascade -label "File" -menu .bar.file
479 .bar add cascade -label "File" -menu .bar.file
475 menu .bar.file
480 menu .bar.file
@@ -742,6 +747,10 b' proc savestuff {w} {'
742 / [font measure [$cflist cget -font] "0"]}]
747 / [font measure [$cflist cget -font] "0"]}]
743 puts $f "set geometry(cflistw) $wid"
748 puts $f "set geometry(cflistw) $wid"
744 puts $f "#"
749 puts $f "#"
750 puts $f "# main window position:"
751 puts $f "set posx [winfo x .]"
752 puts $f "set posy [winfo y .]"
753 puts $f "#"
745 puts $f "# authorcolors format:"
754 puts $f "# authorcolors format:"
746 puts $f "#"
755 puts $f "#"
747 puts $f "# zero or more sublists of"
756 puts $f "# zero or more sublists of"
General Comments 0
You need to be logged in to leave comments. Login now