connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLANDlg.cpp
changeset 61 8b0c979bbe8c
parent 41 bbb64eb3bdee
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLANDlg.cpp	Fri Sep 03 09:38:26 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLANDlg.cpp	Thu Sep 16 12:50:24 2010 +0300
@@ -31,7 +31,7 @@
 #include <data_caging_path_literals.hrh>
 #include <uikon/eiksrvui.h>
 #include <utf.h>
-#include <AknGlobalNote.h>
+#include <hbdevicenotificationdialogsymbian.h>
 
 #include "ConnUiUtilsNotif.hrh"
 #include "SelectWLANDlg.h"
@@ -53,6 +53,8 @@
 // Name of the MBM file containing icons
 _LIT( KFileIcons, "ConnectionUiUtilities.mbm" );
 
+// Empty string
+_LIT( KEmpty, "" );
 
 LOCAL_D const TInt KIconsGranularity = 4;
 
@@ -232,16 +234,8 @@
                     HBufC* stringLabel = StringLoader::LoadLC( 
                                                     R_INFO_NO_NETWORKS_FOUND );
 
-                    //RAknUiServer* globalNote = CAknSgcClient::AknSrv();
-                    //if ( globalNote->Handle() )
-                    //    {
-                    //    globalNote->ShowGlobalNoteL( *stringLabel, 
-                    //                            EAknGlobalInformationNote );
-                    //    }
-                        
-                    CAknGlobalNote* globalNote = CAknGlobalNote::NewLC();
-                    globalNote->ShowNoteL( EAknGlobalInformationNote, *stringLabel );
-                    CleanupStack::PopAndDestroy( globalNote );
+                    CHbDeviceNotificationDialogSymbian::NotificationL(
+                            KEmpty, stringLabel->Des(), KEmpty);
                         
                     CleanupStack::PopAndDestroy( stringLabel );
                     // set network prefs because we still need ssid