1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-15 13:55:03 -05:00

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} Name=@{application.name}
Comment=@{package.synopsis} Comment=@{package.synopsis}
MimeType=inode/directory;video/*;audio/*;text/*; MimeType=inode/directory;video/*;audio/*;text/*;
Terminal=false
Exec=filebot %F Exec=filebot %F
Icon=filebot Icon=filebot
StartupNotify=true
Categories=@{gnome.application.categories} Categories=@{gnome.application.categories}
Actions=Rename;Subtitles;Checksum; Actions=Rename;Subtitles;Checksum;
StartupNotify=true
StartupWMClass=net-filebot-Main
X-Ubuntu-Gettext-Domain=@{package.name} X-Ubuntu-Gettext-Domain=@{package.name}
[Desktop Action Rename] [Desktop Action Rename]

View File

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