Mercurial > code > home > repos > light9
diff bin/curvecalc @ 702:155c7bb9c948
window geom
Ignore-this: fa50a1f24968c5a4253d001370a2c84d
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 10 Jun 2012 07:22:22 +0000 |
parents | 417e23dc0af0 |
children | 54a3dcba6597 |
line wrap: on
line diff
--- 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")