Rev 587: Avoid determining tags until tags widget has been added. in file:///data/jelmer/bzr-gtk/trunk/
Jelmer Vernooij
jelmer at samba.org
Mon Aug 4 11:40:08 BST 2008
At file:///data/jelmer/bzr-gtk/trunk/
------------------------------------------------------------
revno: 587
revision-id: jelmer at samba.org-20080804104007-tq98mbbu71skz9x1
parent: colbrac at xs4all.nl-20080803212648-l27zmnl5q95gmpes
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-08-04 12:40:07 +0200
message:
Avoid determining tags until tags widget has been added.
modified:
viz/branchwin.py branchwin.py-20051016222514-15fd120652fcf25c
=== modified file 'viz/branchwin.py'
--- a/viz/branchwin.py 2008-07-26 19:23:11 +0000
+++ b/viz/branchwin.py 2008-08-04 10:40:07 +0000
@@ -230,6 +230,7 @@
tag_image.set_from_file(icon_path("tag-16.png"))
self.go_menu_tags = gtk.ImageMenuItem("_Tags")
self.go_menu_tags.set_image(tag_image)
+ self.treeview.connect('refreshed', lambda w: self._update_tags())
go_menu.add(go_menu_next)
go_menu.add(go_menu_prev)
@@ -293,7 +294,6 @@
self.treeview.connect('revision-activated',
self._tree_revision_activated)
- self.treeview.connect('refreshed', lambda w: self._update_tags())
self.treeview.connect('tag-added', lambda w, t, r: self._update_tags())
for col in ["revno", "date"]:
More information about the bazaar-commits
mailing list