/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to gannotate.py

  • Committer: Dan Loda
  • Date: 2005-11-03 02:21:41 UTC
  • mto: (0.1.25 gannotate)
  • mto: This revision was merged to the branch mainline in revision 49.
  • Revision ID: danloda@gmail.com-20051103022141-76a8e6f8f7b122bb
Remember window's maximized state.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        
49
49
        gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)
50
50
        
51
 
        self.set_default_size(760, 560)
52
51
        self.set_icon(self.render_icon(gtk.STOCK_FIND, gtk.ICON_SIZE_BUTTON))
53
52
        self.annotate_colormap = AnnotateColorMap()
54
53
 
153
152
        vbox.show()
154
153
        
155
154
        self.pane = pane = gtk.VPaned()
156
 
        pane.pack1(self._create_annotate_view(), resize=True, shrink=False)
157
 
        pane.pack2(self._create_log_view(), resize=False, shrink=True)
 
155
        pane.add1(self._create_annotate_view())
 
156
        pane.add2(self._create_log_view())
158
157
        pane.show()
159
158
        vbox.pack_start(pane, expand=True, fill=True)
160
159
        
168
167
        hbox.show()
169
168
        vbox.pack_start(hbox, expand=False, fill=True)
170
169
 
171
 
        (width, height) = self.get_size()
172
 
        pane.set_position(int(height / 1.5))
173
 
 
174
170
        self.add(vbox)
175
171
 
176
172
    def _create_annotate_view(self):