Update .desktop file on Linux (#3109)

What has been done:

 * Removed deprecated Encoding key
 * Specified correct WM class for StartupWMClass key
 * Fixed icon name

I also fixed restarting when language is changed and there is no Updater

Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
This commit is contained in:
Nicholas Guriev
2017-03-23 18:00:21 +03:00
committed by John Preston
parent 0ce6e8a33a
commit 2e6c15ff9d
2 changed files with 8 additions and 9 deletions

View File

@@ -1,12 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
Exec=/usr/bin/telegram-desktop -- %u
Icon=telegram-desktop
Exec=telegram-desktop -- %u
Icon=telegram
Terminal=false
StartupWMClass=Telegram
StartupWMClass=TelegramDesktop
Type=Application
Categories=Network;
Categories=Network;InstantMessaging;Qt;
MimeType=x-scheme-handler/tg;