f7b15be ovirt-foreign-menu: Rework states logic

Authored and Committed by etrunko 7 years ago
    ovirt-foreign-menu: Rework states logic
    
    Use switch/case instead of lots of conditional blocks
    
    Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
    Acked-by: Pavel Grunt <pgrunt@redhat.com>
    
        
file modified
+20 -26