@@ -400,22 +438,6 @@
-
- m_pButtonToggleStart
- clicked()
- m_pActionStartSynergy
- trigger()
-
-
- 361
- 404
-
-
- -1
- -1
-
-
-
m_pRadioExternalConfig
toggled(bool)
@@ -464,5 +486,21 @@
+
+ m_pButtonToggleStart
+ clicked()
+ m_pActionStartSynergy
+ trigger()
+
+
+ 361
+ 404
+
+
+ -1
+ -1
+
+
+
diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp
index f70fad3d..7aec42b4 100644
--- a/src/gui/src/MainWindow.cpp
+++ b/src/gui/src/MainWindow.cpp
@@ -79,8 +79,7 @@ MainWindow::MainWindow(QSettings& settings, AppConfig& appConfig) :
loadSettings();
initConnections();
- m_pUpdateIcon->hide();
- m_pUpdateLabel->hide();
+ m_pWidgetUpdate->hide();
m_VersionChecker.setApp(appPath(appConfig.synergycName()));
m_pLabelScreenName->setText(getScreenName());
m_pLabelIpAddresses->setText(getIPAddresses());
@@ -320,10 +319,11 @@ void MainWindow::logError()
void MainWindow::updateFound(const QString &version)
{
- m_pUpdateIcon->show();
- m_pUpdateLabel->show();
- m_pUpdateLabel->setText(
- tr("Version %1 is now available, visit website.
")
+ m_pWidgetUpdate->show();
+ m_pLabelUpdate->setText(
+ tr("Your version of Synergy is out of date. "
+ "Version %1 is now available to "
+ "download.
")
.arg(version).arg("http://synergy-foss.org"));
}
diff --git a/src/gui/src/VersionChecker.cpp b/src/gui/src/VersionChecker.cpp
index 7bf36ae8..cd811d3f 100644
--- a/src/gui/src/VersionChecker.cpp
+++ b/src/gui/src/VersionChecker.cpp
@@ -1,6 +1,6 @@
/*
* synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2012 Bolton Software Ltd.
+ * Copyright (C) 2012 Bolton Software Ltd.
* Copyright (C) 2012 Nick Bolton
*
* This package is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
#include
#define VERSION_REGEX "(\\d+\\.\\d+\\.\\d+)"
-#define VERSION_URL "http://synergy-plus.googlecode.com/svn/web/version.txt"
+#define VERSION_URL "http://synergy-foss.org/version/"
VersionChecker::VersionChecker()
{