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

[vidalia-svn] r1263: It's not enough to just *say* that I'm going to key the netw (trunk/src/gui/network)



Author: edmanm
Date: 2006-10-03 03:47:34 -0400 (Tue, 03 Oct 2006)
New Revision: 1263

Modified:
   trunk/src/gui/network/netviewer.cpp
Log:
It's not enough to just *say* that I'm going to key the network map based on
keyid; I need to actually do it.


Modified: trunk/src/gui/network/netviewer.cpp
===================================================================
--- trunk/src/gui/network/netviewer.cpp	2006-10-03 07:16:16 UTC (rev 1262)
+++ trunk/src/gui/network/netviewer.cpp	2006-10-03 07:47:34 UTC (rev 1263)
@@ -327,7 +327,7 @@
         /* Save the location information in the descriptor */
         router->setLocation(geoip.toLocation());
         /* Plot the router on the map */
-        _map->addRouter(router->name(), geoip.latitude(), geoip.longitude());
+        _map->addRouter(router->id(), geoip.latitude(), geoip.longitude());
       }
     }
     _resolveMap.remove(ip);
@@ -335,7 +335,7 @@
 
   /* Update the circuit lines */
   foreach (Circuit circuit, ui.treeCircuitList->circuits()) {
-    _map->addCircuit(circuit.id(), circuit.hops());
+    _map->addCircuit(circuit.id(), circuitPathIDs(circuit).hops());
   }
   
   /* Repaint the map */