richardssam

Why does the windows platform have a logoutMenu but linux and mac not?

Discussion created by richardssam on Nov 9, 2007
Latest reply on Nov 9, 2007 by DavidSmith

 

I was curirous why I wasnt seeing the "Logout" and "Logout with reason" menu options on linux, and came across this code:

 

 

 

 

        if (Spark.isWindows()) {

            connectMenu.add(logoutMenuItem);

            connectMenu.add(logoutWithStatus);

        }

 

        connectMenu.addSeparator();

 

        if (!Spark.isMac()) {

            connectMenu.add(exitMenuItem);

        }

 

 

in the file MainWindow.java

 

 

Surely it should be reasonable for all platforms to have a logout, and for the mac to have an exit menu item?

 

 

 

 

 

Sam.

 

 

 

 

 

Outcomes