/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 viz/branchwin.py

  • Committer: Jelmer Vernooij
  • Date: 2006-05-19 16:37:13 UTC
  • Revision ID: jelmer@samba.org-20060519163713-be77b31c72cbc7e8
Move visualisation code to a separate directory, preparing for bundling 
the GTK+ plugins for bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
346
346
 
347
347
            image = gtk.Image()
348
348
            image.set_from_stock(
 
349
                gtk.STOCK_JUMP_TO, gtk.ICON_SIZE_SMALL_TOOLBAR)
 
350
            image.show()
 
351
 
 
352
            button = gtk.Button()
 
353
            button.add(image)
 
354
            button.connect("clicked", self._go_clicked_cb, parent_id)
 
355
            hbox.pack_start(button, expand=False, fill=True)
 
356
            button.show()
 
357
 
 
358
            image = gtk.Image()
 
359
            image.set_from_stock(
349
360
                gtk.STOCK_FIND, gtk.ICON_SIZE_SMALL_TOOLBAR)
350
361
            image.show()
351
362
 
357
368
            hbox.pack_start(button, expand=False, fill=True)
358
369
            button.show()
359
370
 
360
 
            button = gtk.Button(parent_id)
361
 
            button.set_use_underline(False)
362
 
            button.connect("clicked", self._go_clicked_cb, parent_id)
363
 
            hbox.pack_start(button, expand=False, fill=True)
364
 
            button.show()
 
371
            label = gtk.Label(parent_id)
 
372
            label.set_selectable(True)
 
373
            hbox.pack_start(label, expand=False, fill=True)
 
374
            label.show()
365
375
 
366
376
 
367
377
    def _back_clicked_cb(self, *args):