* testing JAyatana

This commit is contained in:
Reinhard Pointner 2015-05-17 12:46:31 +00:00
parent 545224396a
commit 766c4bc4c8
1 changed files with 4 additions and 0 deletions

View File

@ -272,6 +272,10 @@ public class Main {
MacAppUtilities.initializeApplication();
MacAppUtilities.setWindowCanFullScreen(frame);
MacAppUtilities.setDefaultMenuBar(FileBotMenuBar.createHelp());
} else if (isUbuntuApp()) {
// Ubuntu specific configuration
frame.setJMenuBar(FileBotMenuBar.createHelp()); // menu should be rendered via JAyatana on Ubuntu 15.04 and higher
frame.setIconImages(ResourceManager.getApplicationIcons());
} else {
// Windows / Linux specific configuration
frame.setIconImages(ResourceManager.getApplicationIcons());