Added Start Minimised Option to GUI.

Updated Version Number to V0.4.09a



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-06-14 13:24:22 +00:00
parent c47c751532
commit 2c22ccd0d7
4 changed files with 8 additions and 11 deletions

View File

@ -51,6 +51,7 @@ int main(int argc, char *argv[])
/* RetroShare Core Objects */
RsInit *config = InitRsConfig();
bool okStart = InitRetroShare(argc, argv, config);
bool startMinimised = RsConfigStartMinimised(config);
/* Setup The GUI Stuff */
@ -143,20 +144,14 @@ int main(int argc, char *argv[])
notify->setChannelsDialog(w->channelsDialog);
notify->setMessengerWindow(w->messengerWindow);
/* only show window, if not autologin */
#if defined(Q_OS_WIN)
if (!okStart)
/* only show window, if not startMinimised */
if (!startMinimised)
{
w->show();
//skinWindow->show();
}
#else
w->show();
//skinWindow->show();
#endif
/* Startup a Timer to keep the gui's updated */
QTimer *timer = new QTimer(w);

View File

@ -2,7 +2,7 @@
; Define your application name
!define APPNAME "RetroShare"
!define VERSION "0.4.08a"
!define VERSION "0.4.09a"
!define APPNAMEANDVERSION "${APPNAME} ${VERSION}"
; Main Install settings

View File

@ -47,7 +47,9 @@ extern RsControl *rsicontrol;
*/
RsInit *InitRsConfig();
/* extract various options for GUI */
const char *RsConfigDirectory(RsInit *config);
bool RsConfigStartMinimised(RsInit *config);
void CleanupRsConfig(RsInit *);

View File

@ -23,7 +23,7 @@
//#define USE_SVN_VERSIONS 1
#define VERSION "0.4.08a"
#define VERSION "0.4.09a"
#if USE_SVN_VERSIONS
#include "svn_revision.h"