Logout Menu Disabled in Linux?

Why are the logout menus disabled on all platforms but windows? Please find a fix below:

Index: src/java/org/jivesoftware/MainWindow.java

===================================================================

— src/java/org/jivesoftware/MainWindow.java (revision 9040)

+++ src/java/org/jivesoftware/MainWindow.java (working copy)

@@ -372,10 +372,10 @@

});

  •    if (Spark.isWindows()) {
    

connectMenu.add(logoutMenuItem);

connectMenu.add(logoutWithStatus);

  •    }
    

connectMenu.addSeparator();

Because the logging out isn’t handled correctly in Linux yet.

I commented out the if statement and tried it.

It DOES log you out, but throws an exception as well.

By the looks of the Exception it’s trying to restart the client in the login screen. It’s looking in ~/.Spark/bin for a restarter script/app. I don’t even have this in my .Spark dir. Something that hasn’t been put in yet?

I could only give you what is happening… not sure if this was any help. I’ll pull that restarter script/app from the windows install and see what it is doing and how hard it would be to implement in Linux.

_Aaron