diff -r 38571fd2a704 -r 0f07cd1b5772 calendarui/controller/src/calencmdlineparser.cpp --- a/calendarui/controller/src/calencmdlineparser.cpp Fri Mar 12 15:42:35 2010 +0200 +++ b/calendarui/controller/src/calencmdlineparser.cpp Mon Mar 15 12:40:18 2010 +0200 @@ -407,14 +407,14 @@ { res = EStartTypeUidViewer; } + else if( des.Find(KCommandAlarmViewerNoSnooze) != KErrNotFound ) + { + res = EStartTypeUidAlarmViewerNoSnooze; + } else if( des.Find(KCommandAlarmViewer) != KErrNotFound ) { res = EStartTypeUidAlarmViewer; } - else if( des.Find(KCommandAlarmViewerNoSnooze) != KErrNotFound ) - { - res = EStartTypeUidAlarmViewerNoSnooze; - } else if( des.Find( KCommandUid ) != KErrNotFound ) { res = EStartTypeUid;