Commits

nakamura committed f1301de

set default window size

Comments (0)

Files changed (1)

     config = Config(
         columns = 2,
         terminal_size = (80, 25),
+        window_size = (800, 640),
     )
 
     def __init__(self, *args, **kwargs):
         super(MainWindow, self).__init__(*args, **kwargs)
 
+        self.set_default_size(*self.config.window_size)
+
         self._scrolled = Gtk.ScrolledWindow()
         hadj = self._scrolled.get_hadjustment()
         vadj = self._scrolled.get_vadjustment()