mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Fix Logout without status
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@11671 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
michael.will
parent
c09725a896
commit
421af6fd17
@ -288,7 +288,7 @@ public final class MainWindow extends ChatFrame implements ActionListener {
|
||||
SparkRes.getImageIcon(SparkRes.USER1_MESSAGE_24x24), this);
|
||||
}
|
||||
|
||||
if (status != null)
|
||||
if (status != null || !sendStatus)
|
||||
{
|
||||
// Notify all MainWindowListeners
|
||||
try {
|
||||
@ -417,11 +417,11 @@ public final class MainWindow extends ChatFrame implements ActionListener {
|
||||
}
|
||||
});
|
||||
|
||||
if (Spark.isWindows()) {
|
||||
connectMenu.add(logoutMenuItem);
|
||||
connectMenu.add(logoutWithStatus);
|
||||
connectMenu.addSeparator();
|
||||
}
|
||||
if (Spark.isWindows() || Spark.isLinux()) {
|
||||
connectMenu.add(logoutMenuItem);
|
||||
connectMenu.add(logoutWithStatus);
|
||||
connectMenu.addSeparator();
|
||||
}
|
||||
|
||||
if (!Spark.isMac()) {
|
||||
connectMenu.add(exitMenuItem);
|
||||
|
||||
Reference in New Issue
Block a user