? sniff-flashing.patch
Index: sniff
===================================================================
RCS file: /cvs/gnome/dogtail/sniff/sniff,v
retrieving revision 1.11
diff -u -p -r1.11 sniff
--- sniff	17 Nov 2005 06:16:26 -0000	1.11
+++ sniff	17 Nov 2005 06:46:43 -0000
@@ -84,14 +84,17 @@ def buttonPress(widget, event, *userPara
 			view.get_path_at_pos(int(event.x), int(event.y))
 	except TypeError: return
 	node = model[path][0]
-	setUpTable(node)
 
 	if event.button == 3:
 		menu = gtk.Menu()
 		menuItem = None
+		menuItem = gtk.ImageMenuItem(gtk.STOCK_REFRESH)
+		#menuItem.connect('activate', menuItemActivate, action.do)
+		menuItem.show()
+		menu.append(menuItem)
 		try:
 			for action in node.actions:
-				menuItem = gtk.MenuItem(action.name.capitalize())
+				menuItem = gtk.MenuItem("Action: %s"%action.name.capitalize())
 				menuItem.connect('activate', menuItemActivate, action.do)
 				menuItem.show()
 				menu.append(menuItem)
@@ -205,6 +208,7 @@ def blinkExtents(x,y,w,h):
 def selectionChanged(treeSelection):
 	# print "selection changed"
 	node = getSelectedNode()
+	setUpTable(node)
 	try:
 		(x,y,w,h) = node.extents
 		blinkExtents(x,y,w,h)
