* testing JAyatana
This commit is contained in:
parent
545224396a
commit
766c4bc4c8
|
@ -272,6 +272,10 @@ public class Main {
|
||||||
MacAppUtilities.initializeApplication();
|
MacAppUtilities.initializeApplication();
|
||||||
MacAppUtilities.setWindowCanFullScreen(frame);
|
MacAppUtilities.setWindowCanFullScreen(frame);
|
||||||
MacAppUtilities.setDefaultMenuBar(FileBotMenuBar.createHelp());
|
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 {
|
} else {
|
||||||
// Windows / Linux specific configuration
|
// Windows / Linux specific configuration
|
||||||
frame.setIconImages(ResourceManager.getApplicationIcons());
|
frame.setIconImages(ResourceManager.getApplicationIcons());
|
||||||
|
|
Loading…
Reference in New Issue