Changeset 2997 for vidalia/trunk
- Timestamp:
- 08/19/08 00:42:55 (3 months ago)
- Location:
- vidalia/trunk/src/vidalia
- Files:
-
- 2 modified
-
mainwindow.cpp (modified) (2 diffs)
-
mainwindow.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vidalia/trunk/src/vidalia/mainwindow.cpp
r2995 r2997 676 676 setStartupProgressVisible(true); 677 677 setStartupProgress(STARTUP_PROGRESS_STARTING, statusText); 678 //ui.lblStartStopTor->setAnimation(QPixmap(ANIM_PROCESS_WORKING));679 678 } else if (status == CircuitEstablished) { 680 statusText = tr(" Tor is Running");679 statusText = tr("Connected to the Tor network!"); 681 680 trayIconFile = IMG_TOR_RUNNING; 682 681 statusIconFile = IMG_TOR_RUNNING_48; 683 QTimer::singleShot(3000, this, SLOT(hideStartupProgress()));682 setStartupProgressVisible(false); 684 683 } 685 684 … … 726 725 ui.lblTorStatusImg->setVisible(true); 727 726 } 728 }729 730 /** Hides the startup status text and progress bar. */731 void732 MainWindow::hideStartupProgress()733 {734 setStartupProgressVisible(false);735 727 } 736 728 -
vidalia/trunk/src/vidalia/mainwindow.h
r2780 r2997 111 111 /** Called when the proxy server fails to start */ 112 112 void onProxyFailed(QString errmsg); 113 /** Hides the startup status text and progress bar. */114 void hideStartupProgress();115 113 116 114 #if defined(USE_MINIUPNPC)
