mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
More changes for V0.5.3a
- Updated English Email Invite (sorry guys, you'll have to redo translations). - Set OSX default style to "Cleanlooks" - as AQUA style hides some windows. - Updated Version strings to V0.5.3a. / 4874 - Fixed missing headers for plugin manager. - Disabled ZEROCONF for OSX. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4874 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e1e3ea6384
commit
15ea61caa3
6 changed files with 41 additions and 15 deletions
|
@ -313,6 +313,7 @@ mac {
|
||||||
HEADERS += upnp/upnputil.h
|
HEADERS += upnp/upnputil.h
|
||||||
SOURCES += upnp/upnputil.c
|
SOURCES += upnp/upnputil.c
|
||||||
|
|
||||||
|
# zeroconf disabled at the end of libretroshare.pro (but need the code)
|
||||||
CONFIG += zeroconf
|
CONFIG += zeroconf
|
||||||
CONFIG += zcnatassist
|
CONFIG += zcnatassist
|
||||||
|
|
||||||
|
@ -660,7 +661,8 @@ HEADERS += zeroconf/p3zeroconf.h \
|
||||||
|
|
||||||
SOURCES += zeroconf/p3zeroconf.cc \
|
SOURCES += zeroconf/p3zeroconf.cc \
|
||||||
|
|
||||||
DEFINES *= RS_ENABLE_ZEROCONF
|
# Disable Zeroconf (we still need the code for zcnatassist
|
||||||
|
# DEFINES *= RS_ENABLE_ZEROCONF
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
#include <retroshare/rsplugin.h>
|
#include <retroshare/rsplugin.h>
|
||||||
#include <retroshare/rsfiles.h>
|
#include <retroshare/rsfiles.h>
|
||||||
#include <pqi/pqiservice.h>
|
#include <pqi/pqiservice.h>
|
||||||
#include <plugins/pluginclasses.h>
|
#include <plugins/rscacheservice.h>
|
||||||
|
#include <plugins/rspqiservice.h>
|
||||||
|
|
||||||
// lets disable the plugin system for now, as it's unfinished.
|
// lets disable the plugin system for now, as it's unfinished.
|
||||||
#ifdef WINDOWS_SYS
|
#ifdef WINDOWS_SYS
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define LIB_VERSION "0.5.2a"
|
#define LIB_VERSION "0.5.3a"
|
||||||
#define SVN_REVISION "Revision 4550"
|
#define SVN_REVISION "Revision 4874"
|
||||||
|
|
||||||
namespace RsUtil {
|
namespace RsUtil {
|
||||||
|
|
||||||
|
|
|
@ -255,22 +255,27 @@ void GetStartedDialog::inviteFriends()
|
||||||
|
|
||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
QString trstr;
|
QString trstr;
|
||||||
trstr = tr("You are cordially invited to join the Retroshare Network,");
|
trstr = tr("Your friend has installed Retroshare, and would like you to try it out.");
|
||||||
out << trstr.toStdString() << std::endl;
|
out << trstr.toStdString() << std::endl;
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
trstr = tr("Retroshare is a Secure P2P Sharing Network");
|
trstr = tr("You can get Retroshare here: http://retroshare.sourceforge.net/download");
|
||||||
out << trstr.toStdString() << std::endl;
|
|
||||||
trstr = tr("We use direct connections between you and your friends to maintain your Privacy");
|
|
||||||
out << trstr.toStdString() << std::endl;
|
out << trstr.toStdString() << std::endl;
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
trstr = tr("Install the client to chat, share data and converse in the forums");
|
trstr = tr("Retroshare is a private Friend-2-Friend sharing network.");
|
||||||
|
out << trstr.toStdString() << std::endl;
|
||||||
|
trstr = tr("It has an many features, including built-in chat, messaging, ");
|
||||||
|
out << trstr.toStdString() << std::endl;
|
||||||
|
trstr = tr("forums and channels, all of which are as secure as the file-sharing.");
|
||||||
out << trstr.toStdString() << std::endl;
|
out << trstr.toStdString() << std::endl;
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
trstr = tr("Get Retroshare here: http://retroshare.sourceforge.net/download");
|
|
||||||
out << trstr.toStdString() << std::endl;
|
|
||||||
out << std::endl;
|
|
||||||
trstr = tr("Below is your friends ID Certificate. Cut and paste this into your Retroshare client");
|
trstr = tr("Below is your friends ID Certificate. Cut and paste this into your Retroshare client");
|
||||||
out << trstr.toStdString() << std::endl;
|
out << trstr.toStdString() << std::endl;
|
||||||
trstr = tr("and send them your ID Certificate to enable the secure connection");
|
trstr = tr("and send them your ID Certificate to enable the secure connection");
|
||||||
|
|
|
@ -219,7 +219,14 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
splashScreen.showMessage(rshare.translate("SplashScreen", "Load configuration"), Qt::AlignHCenter | Qt::AlignBottom);
|
splashScreen.showMessage(rshare.translate("SplashScreen", "Load configuration"), Qt::AlignHCenter | Qt::AlignBottom);
|
||||||
|
|
||||||
rsicontrol->StartupRetroShare();
|
/* stop Retroshare if startup fails */
|
||||||
|
if (!rsicontrol->StartupRetroShare())
|
||||||
|
{
|
||||||
|
std::cerr << "libretroshare failed to startup!" << std::endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Rshare::initPlugins();
|
Rshare::initPlugins();
|
||||||
|
|
||||||
splashScreen.showMessage(rshare.translate("SplashScreen", "Create interface"), Qt::AlignHCenter | Qt::AlignBottom);
|
splashScreen.showMessage(rshare.translate("SplashScreen", "Create interface"), Qt::AlignHCenter | Qt::AlignBottom);
|
||||||
|
@ -239,12 +246,23 @@ int main(int argc, char *argv[])
|
||||||
splashScreen.hide();
|
splashScreen.hide();
|
||||||
|
|
||||||
Settings->setValue(QString::fromUtf8("FirstRun"), false);
|
Settings->setValue(QString::fromUtf8("FirstRun"), false);
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
/* For OSX, we set the default to "cleanlooks", as the AQUA style hides some input boxes
|
||||||
|
* only on the first run - as the user might want to change it ;)
|
||||||
|
*/
|
||||||
|
QString osx_style("cleanlooks");
|
||||||
|
Rshare::setStyle(osx_style);
|
||||||
|
Settings->setInterfaceStyle(osx_style);
|
||||||
|
#endif
|
||||||
|
|
||||||
// This is now disabled - as it doesn't add very much.
|
// This is now disabled - as it doesn't add very much.
|
||||||
// Need to make sure that defaults are sensible!
|
// Need to make sure that defaults are sensible!
|
||||||
#ifdef ENABLE_QUICKSTART_WIZARD
|
#ifdef ENABLE_QUICKSTART_WIZARD
|
||||||
QuickStartWizard qstartWizard;
|
QuickStartWizard qstartWizard;
|
||||||
qstartWizard.exec();
|
qstartWizard.exec();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow *w = MainWindow::Create ();
|
MainWindow *w = MainWindow::Create ();
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#define GUI_VERSION "0.5.2a"
|
#define GUI_VERSION "0.5.3a"
|
||||||
|
|
||||||
#define GUI_REVISION "Revision: "
|
#define GUI_REVISION "Revision: "
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue