From 766c4bc4c8c08dc49adb9c26b4196574b71693fd Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 17 May 2015 12:46:31 +0000 Subject: [PATCH] * testing JAyatana --- source/net/filebot/Main.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index 04bc0afd..359ba3d5 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -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());