mirror of https://github.com/OpenVPN/openvpn-gui
Show import success using balloon notification
Less intrusive than a message box that user has to close. Also the imported filename stub is now included in the message. Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/462/head
parent
56ee704501
commit
4ee94a3b2e
3
misc.c
3
misc.c
|
@ -39,6 +39,7 @@
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "openvpn_config.h"
|
#include "openvpn_config.h"
|
||||||
#include "openvpn-gui-res.h"
|
#include "openvpn-gui-res.h"
|
||||||
|
#include "tray.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Helper function to do base64 conversion through CryptoAPI
|
* Helper function to do base64 conversion through CryptoAPI
|
||||||
|
@ -692,7 +693,7 @@ ImportConfigFile(const TCHAR* source)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ShowLocalizedMsg(IDS_NFO_IMPORT_SUCCESS);
|
ShowTrayBalloon(LoadLocalizedString(IDS_NFO_IMPORT_SUCCESS), fileName);
|
||||||
/* rescan file list after import */
|
/* rescan file list after import */
|
||||||
BuildFileList();
|
BuildFileList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue