StartupWMClass=net-filebot-Main

This commit is contained in:
Reinhard Pointner 2017-02-16 01:35:04 +08:00
parent 9a784d40d2
commit 7ff425df83
2 changed files with 5 additions and 6 deletions

View File

@ -3,11 +3,13 @@ Type=Application
Name=@{application.name}
Comment=@{package.synopsis}
MimeType=inode/directory;video/*;audio/*;text/*;
Terminal=false
Exec=filebot %F
Icon=filebot
StartupNotify=true
Categories=@{gnome.application.categories}
Actions=Rename;Subtitles;Checksum;
StartupNotify=true
StartupWMClass=net-filebot-Main
X-Ubuntu-Gettext-Domain=@{package.name}
[Desktop Action Rename]

View File

@ -217,11 +217,8 @@ public class Main {
MacAppUtilities.setDefaultMenuBar(FileBotMenuBar.createHelp());
MacAppUtilities.setOpenFileHandler(openFiles -> SwingEventBus.getInstance().post(new FileTransferable(openFiles)));
} else if (isUbuntuApp()) {
if ("Unity".equals(System.getenv("XDG_CURRENT_DESKTOP"))) {
frame.setTitle(Settings.getApplicationUserModelID());
} else {
frame.setIconImages(ResourceManager.getApplicationIcons());
}
// Ubuntu/Debian specific configuration
// .desktop file will take care of icons and desktop integration
} else if (isWindowsApp()) {
// Windows specific configuration
if (!isAppStore()) {