# HG changeset patch # User Drew Perttula # Date 1339312942 0 # Node ID 155c7bb9c948df6e5617827d0811d9aeac6cc0f1 # Parent 417e23dc0af05c8072b3d5ed800280863178ebf5 window geom Ignore-this: fa50a1f24968c5a4253d001370a2c84d diff -r 417e23dc0af0 -r 155c7bb9c948 bin/curvecalc --- a/bin/curvecalc Sun Jun 10 06:55:46 2012 +0000 +++ b/bin/curvecalc Sun Jun 10 07:22:22 2012 +0000 @@ -49,7 +49,7 @@ self.curveset, self.subterms, self.music = curveset, subterms, music wtree = self.wtree = gtk.Builder() - wtree.add_from_file(sibpath(__file__, "../light9/curvecalc/curvecalc.glade")) + wtree.add_from_file("light9/curvecalc/curvecalc.glade") mainwin = wtree.get_object("MainWindow") mainwin.connect("destroy", self.onQuit) @@ -62,6 +62,11 @@ mainwin.connect("delete-event", lambda *args: reactor.crash()) mainwin.set_title("curvecalc - %s" % graph.label(song)) + mainwin.parse_geometry("715x930+1080+26") + + # this is the only one i found that would set the size right, + # but it's a minimum size, which i don't really want + mainwin.set_size_request(1000, 1000) self.add_subterms_for_song(song, curveset, subterms, wtree.get_object("subterms")