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/464/head
							parent
							
								
									56ee704501
								
							
						
					
					
						commit
						859d0fbf2f
					
				
							
								
								
									
										3
									
								
								misc.c
								
								
								
								
							
							
						
						
									
										3
									
								
								misc.c
								
								
								
								
							| 
						 | 
				
			
			@ -39,6 +39,7 @@
 | 
			
		|||
#include "main.h"
 | 
			
		||||
#include "openvpn_config.h"
 | 
			
		||||
#include "openvpn-gui-res.h"
 | 
			
		||||
#include "tray.h"
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Helper function to do base64 conversion through CryptoAPI
 | 
			
		||||
| 
						 | 
				
			
			@ -692,7 +693,7 @@ ImportConfigFile(const TCHAR* source)
 | 
			
		|||
       return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ShowLocalizedMsg(IDS_NFO_IMPORT_SUCCESS);
 | 
			
		||||
    ShowTrayBalloon(LoadLocalizedString(IDS_NFO_IMPORT_SUCCESS), fileName);
 | 
			
		||||
    /* rescan file list after import */
 | 
			
		||||
    BuildFileList();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue