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:
drbob 2012-02-03 00:15:49 +00:00
parent e1e3ea6384
commit 15ea61caa3
6 changed files with 41 additions and 15 deletions

View file

@ -219,7 +219,14 @@ int main(int argc, char *argv[])
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();
splashScreen.showMessage(rshare.translate("SplashScreen", "Create interface"), Qt::AlignHCenter | Qt::AlignBottom);
@ -239,12 +246,23 @@ int main(int argc, char *argv[])
splashScreen.hide();
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.
// Need to make sure that defaults are sensible!
#ifdef ENABLE_QUICKSTART_WIZARD
QuickStartWizard qstartWizard;
qstartWizard.exec();
#endif
}
MainWindow *w = MainWindow::Create ();