Ticket #5579: 0002-Changed-the-MessageLog-button-to-stop-flashing-if-so.patch

File 0002-Changed-the-MessageLog-button-to-stop-flashing-if-so.patch, 1.0 KB (added by Avogadro, 8 years ago)
  • src/vidalia/MainWindow.cpp

    From 66d55f2814b8852c3e5e4b53e75d7ccd5e5b8edb Mon Sep 17 00:00:00 2001
    From: Peter O'Connor <Avogadro@Zoidberg.local>
    Date: Thu, 5 Apr 2012 22:02:06 -0400
    Subject: [PATCH 2/2] Changed the MessageLog button to stop flashing if
     someone clicks to view theMessage log from the
     VMessageBox.
    
    ---
     src/vidalia/MainWindow.cpp |    6 +++++-
     1 files changed, 5 insertions(+), 1 deletions(-)
    
    diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp
    index e116269..e71cdfb 100644
    a b MainWindow::stopped(int exitCode, QProcess::ExitStatus exitStatus) 
    13721372                  VMessageBox::ShowLog|VMessageBox::Default,
    13731373                  VMessageBox::Help);
    13741374      if (ret == VMessageBox::ShowLog)
    1375         _messageLog->showWindow(); 
     1375      {
     1376        _warnTimer->stop();
     1377        ui.lblMessageLog->disableFlashing();
     1378        _messageLog->showWindow();
     1379      }
    13761380      else if (ret == VMessageBox::Help)
    13771381        showHelpDialog("troubleshooting.torexited");
    13781382    }