StartupWMClass=net-filebot-Main
This commit is contained in:
parent
9a784d40d2
commit
7ff425df83
|
@ -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]
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue