/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-23 16:24:25 UTC
  • mfrom: (423.1.7 trunk)
  • mto: (423.1.8 trunk)
  • mto: This revision was merged to the branch mainline in revision 429.
  • Revision ID: daniel.schierbeck@gmail.com-20080123162425-qd1zpohg46qmxbuy
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
            self.tags_label.hide()
210
210
            return
211
211
 
212
 
        for widget in self.tags_widgets:
213
 
            self.tags_list.remove(widget)
214
 
 
215
 
        self.tags_widgets = []
216
 
 
217
 
        for tag in tags:
218
 
            widget = gtk.Label(tag)
219
 
            widget.set_selectable(True)
220
 
            self.tags_widgets.append(widget)
221
 
            self.tags_list.add(widget)
 
212
        self.tags_list.set_text(", ".join(tags))
 
213
 
222
214
        self.tags_list.show_all()
223
215
        self.tags_label.show_all()
224
216
        
374
366
        self.tags_label.show()
375
367
 
376
368
        align = gtk.Alignment(0.0, 0.5)
377
 
        self.tags_list = gtk.VBox()
 
369
        self.tags_list = gtk.Label()
378
370
        align.add(self.tags_list)
379
371
        self.table.attach(align, 1, 2, 5, 6, gtk.EXPAND | gtk.FILL, gtk.FILL)
380
372
        align.show()
381
373
        self.tags_list.show()
382
 
        self.tags_widgets = []
383
374
 
384
375
        self.connect('notify::revision', self._add_tags)
385
376