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

[tor-commits] [vidalia/alpha] Update title after Vidalia has authenticated



commit 3e6ca870506dad1e3a886251554a23001699216e
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Fri May 25 19:03:42 2012 -0300

    Update title after Vidalia has authenticated
---
 src/vidalia/MainWindow.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp
index c97ab35..cd4bf27 100644
--- a/src/vidalia/MainWindow.cpp
+++ b/src/vidalia/MainWindow.cpp
@@ -185,7 +185,6 @@ MainWindow::createGUI()
   createMenuBar();
   createToolBar();
   createTrayIcon();
-  updateTitle();
 
   // We need to create this tab at the beggining
   // and we must specify the statusBar
@@ -1032,6 +1031,9 @@ MainWindow::connectFailed(QString errmsg)
 void
 MainWindow::authenticated()
 {
+  // We update the title once we are authenticated
+  updateTitle();
+
   TorSettings settings;
 
   _torControl->clearErrState();



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits