dogtail r365 - in trunk: . sniff



Author: zcerza
Date: Thu Jan 10 17:27:26 2008
New Revision: 365
URL: http://svn.gnome.org/viewvc/dogtail?rev=365&view=rev

Log:
* sniff/sniff: Call SniffController.setUpTable() inside
selectionChanged() instead of buttonPress().


Modified:
   trunk/ChangeLog
   trunk/sniff/sniff

Modified: trunk/sniff/sniff
==============================================================================
--- trunk/sniff/sniff	(original)
+++ trunk/sniff/sniff	Thu Jan 10 17:27:26 2008
@@ -180,7 +180,9 @@
 
     def selectionChanged(self, treeSelection):
         node = self.getSelectedNode()
-        if node: node.blink()
+        if node:
+            self.setUpTable(node)
+            node.blink()
 
     def getSelectedNode(self):
         (store, iter) = self.view.get_selection().get_selected()
@@ -227,7 +229,6 @@
         except TypeError: return
         node = self.model.getNode(self.model.get_iter(path))
         if node == None: return
-        self.setUpTable(node)
 
         if event.button == 3:
             menu = gtk.Menu()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]