/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 revisionview.py

  • Committer: Daniel Schierbeck
  • Date: 2008-01-21 15:46:50 UTC
  • mto: (423.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 429.
  • Revision ID: daniel.schierbeck@gmail.com-20080121154650-vdn0139bv566yw4d
Made the tag list be a comma-separated line instead of a vertically stacked box.

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
            self.tags_label.hide()
203
203
            return
204
204
 
205
 
        for widget in self.tags_widgets:
206
 
            self.tags_list.remove(widget)
207
 
 
208
 
        self.tags_widgets = []
209
 
 
210
 
        for tag in tags:
211
 
            widget = gtk.Label(tag)
212
 
            widget.set_selectable(True)
213
 
            self.tags_widgets.append(widget)
214
 
            self.tags_list.add(widget)
 
205
        self.tags_list.set_text(", ".join(tags))
 
206
 
215
207
        self.tags_list.show_all()
216
208
        self.tags_label.show_all()
217
209
        
367
359
        self.tags_label.show()
368
360
 
369
361
        align = gtk.Alignment(0.0, 0.5)
370
 
        self.tags_list = gtk.VBox()
 
362
        self.tags_list = gtk.Label()
371
363
        align.add(self.tags_list)
372
364
        self.table.attach(align, 1, 2, 5, 6, gtk.EXPAND | gtk.FILL, gtk.FILL)
373
365
        align.show()
374
366
        self.tags_list.show()
375
 
        self.tags_widgets = []
376
367
 
377
368
        self.connect('notify::revision', self._add_tags)
378
369