Make the quit action lowercase

Just like other GApplciation actions
This commit is contained in:
Ilya Fedin 2023-03-08 19:15:55 +04:00 committed by John Preston
parent 327febbcdf
commit 96cced8401
2 changed files with 3 additions and 3 deletions

View File

@ -314,7 +314,7 @@ void LaunchGApplication() {
});
}, true);
app->add_action("Quit", [] {
app->add_action("quit", [] {
Core::Sandbox::Instance().customEnterFromEventLoop([] {
Core::Quit();
});

View File

@ -10,12 +10,12 @@ Type=Application
Categories=Chat;Network;InstantMessaging;Qt;
MimeType=x-scheme-handler/tg;
Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
Actions=Quit;
Actions=quit;
SingleMainWindow=true
X-GNOME-UsesNotifications=true
X-GNOME-SingleWindow=true
[Desktop Action Quit]
[Desktop Action quit]
Exec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop -quit
Name=Quit Telegram
Icon=application-exit