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

[vidalia-svn] r1629: Update the stream target address on every stream status even (in trunk: . src/gui/network)



Author: edmanm
Date: 2007-02-05 14:55:26 -0500 (Mon, 05 Feb 2007)
New Revision: 1629

Modified:
   trunk/
   trunk/src/gui/network/streamitem.cpp
Log:
 r1657@adrastea:  edmanm | 2007-02-05 14:52:36 -0500
 Update the stream target address on every stream status event, not just NEW.



Property changes on: trunk
___________________________________________________________________
 svk:merge ticket from /vidalia/local/trunk [r1657] on 54b3572a-7227-0410-958f-53ecd705b71a

Modified: trunk/src/gui/network/streamitem.cpp
===================================================================
--- trunk/src/gui/network/streamitem.cpp	2007-02-05 02:47:41 UTC (rev 1628)
+++ trunk/src/gui/network/streamitem.cpp	2007-02-05 19:55:26 UTC (rev 1629)
@@ -36,16 +36,14 @@
   _id = stream.id();
   
   /* Update the status and target */
-  setText(CircuitListWidget::ConnectionColumn, stream.target());
-  setText(CircuitListWidget::StatusColumn, stream.statusString());
+  update(stream);
 }
 
 /** Updates the status of this stream item. */
 void
 StreamItem::update(Stream stream)
 {
-  /* Only update the status. We leave the target alone so we can still see the
-   * hostname even after the target address has been resolved. */
+  setText(CircuitListWidget::ConnectionColumn, stream.target());
   setText(CircuitListWidget::StatusColumn, stream.statusString());
 }