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); }, true);
app->add_action("Quit", [] { app->add_action("quit", [] {
Core::Sandbox::Instance().customEnterFromEventLoop([] { Core::Sandbox::Instance().customEnterFromEventLoop([] {
Core::Quit(); Core::Quit();
}); });

View File

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