reworked apple plugin

Unread Messages show as Dock-Badges like Mail does
DockBouncing reenabled
Added DockMenu  (rightclick Dock)

to do:
add MacOSX MenuBar when using other Look&Feels
Growl.plugin

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12224 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Wolf Posdorfer
2011-04-03 11:41:07 +00:00
committed by wolf.posdorfer
parent 49e329ae99
commit 3de869edc6
7 changed files with 752 additions and 866 deletions

View File

@ -455,13 +455,13 @@ public final class MainWindow extends ChatFrame implements ActionListener {
}
});
if ((Spark.isWindows() || Spark.isLinux()) && !Default.getBoolean("DISABLE_EXIT")) {
if ((Spark.isWindows() || Spark.isLinux()) || Spark.isMac() && !Default.getBoolean("DISABLE_EXIT")) {
connectMenu.add(logoutMenuItem);
connectMenu.add(logoutWithStatus);
connectMenu.addSeparator();
}
if (!Spark.isMac() && !Default.getBoolean("DISABLE_EXIT")) {
if (!Default.getBoolean("DISABLE_EXIT")) {
connectMenu.add(exitMenuItem);
}