Commit 12faeeeb authored by Alexandre Julliard's avatar Alexandre Julliard

view: Get rid of the quit accelerator.

All window managers already have a key shortcut for that.
parent 90acb684
......@@ -11972,11 +11972,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12141,11 +12141,6 @@ msgstr ""
msgid "&Right"
msgstr "Най-вдясно"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12437,11 +12437,6 @@ msgstr "A &L'esquerra"
msgid "&Right"
msgstr "Al D&reta"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Visualitzador de Metafitxers Regular"
......
......@@ -12574,11 +12574,6 @@ msgstr "V&levo"
msgid "&Right"
msgstr "Vp&ravo"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Obyčejný prohlížeč metasouborů"
......
......@@ -12672,11 +12672,6 @@ msgstr "&Venstre"
msgid "&Right"
msgstr "Høj&re"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Normal metafil-fremviser"
......
......@@ -12478,11 +12478,6 @@ msgstr "&Links"
msgid "&Right"
msgstr "&Rechts"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Regulärer Metafile Betrachter"
......
......@@ -11941,11 +11941,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12117,11 +12117,6 @@ msgstr ""
msgid "&Right"
msgstr "&Right"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12348,11 +12348,6 @@ msgstr "&Left"
msgid "&Right"
msgstr "&Right"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr "^Q"
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Regular Metafile Viewer"
......
......@@ -12171,11 +12171,6 @@ msgstr "&Maldekstre"
msgid "&Right"
msgstr "&Dekstre"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Videbligilo laý Regulaj Metadosieroj"
......
......@@ -12902,11 +12902,6 @@ msgstr "&Izquierda"
msgid "&Right"
msgstr "&Derecha"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -11973,11 +11973,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12303,11 +12303,6 @@ msgstr ""
msgid "&Right"
msgstr "Oikea Reuna"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12498,11 +12498,6 @@ msgstr "&Gauche"
msgid "&Right"
msgstr "&Droite"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr "^Q"
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Visionneuse de fichiers Metafile réguliers"
......
......@@ -12493,11 +12493,6 @@ msgstr "&שמאלה"
msgid "&Right"
msgstr "&ימינה"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "מציג קובצי על רגיל"
......
......@@ -11780,11 +11780,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12556,11 +12556,6 @@ msgstr ""
msgid "&Right"
msgstr "Jobb széle"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12430,11 +12430,6 @@ msgstr "&Sinistra"
msgid "&Right"
msgstr "&Destra"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Visualizzatore di Metafile Regolari"
......
......@@ -12392,11 +12392,6 @@ msgstr "左(&L)"
msgid "&Right"
msgstr "右(&R)"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "標準メタファイル ビュアー"
......
......@@ -12298,11 +12298,6 @@ msgstr "왼쪽(&L)"
msgid "&Right"
msgstr "오른쪽(&R)"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr "^Q"
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "정규 메타파일 보기"
......
......@@ -12377,11 +12377,6 @@ msgstr "&Dešinėn"
msgid "&Right"
msgstr "&Kairėn"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr "^Q"
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Įprastinė metafailų žiūryklė"
......
......@@ -11780,11 +11780,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12703,11 +12703,6 @@ msgstr "&Venstre"
msgid "&Right"
msgstr "Høy&re"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Vanlig metafil-framviser"
......
......@@ -12504,11 +12504,6 @@ msgstr "&Links"
msgid "&Right"
msgstr "&Rechts"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Algemene Metafile weergave"
......
......@@ -11780,11 +11780,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -11780,11 +11780,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12407,11 +12407,6 @@ msgstr "Przesuń w &lewo"
msgid "&Right"
msgstr "Przesuń w &prawo"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr "^Q"
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Przeglądarka zwykłych metaplików"
......
......@@ -12466,11 +12466,6 @@ msgstr "&Esquerda"
msgid "&Right"
msgstr "&Direita"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Visualizador de Metafiles Regulares"
......
......@@ -12799,11 +12799,6 @@ msgstr "&Esquerda"
msgid "&Right"
msgstr "&Direita"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Visualizador Regular de Ficheiros Meta"
......
......@@ -11860,11 +11860,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -13037,11 +13037,6 @@ msgstr "&Stânga"
msgid "&Right"
msgstr "D&reapta"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Vizualizator de fișiere metafile normale"
......
......@@ -12366,11 +12366,6 @@ msgstr "В&лево"
msgid "&Right"
msgstr "В&право"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Просмотрщик обычных метафайлов"
......
......@@ -12007,11 +12007,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12407,11 +12407,6 @@ msgstr "&Levo"
msgid "&Right"
msgstr "D&esno"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Običajni pregledovalnik datotek meta"
......
......@@ -12374,11 +12374,6 @@ msgstr ""
msgid "&Right"
msgstr "Десна ивица"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12522,11 +12522,6 @@ msgstr ""
msgid "&Right"
msgstr "Desna ivica"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12425,11 +12425,6 @@ msgstr "&Vänster"
msgid "&Right"
msgstr "&Höger"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -11780,11 +11780,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -11983,11 +11983,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12689,11 +12689,6 @@ msgstr "S&ol"
msgid "&Right"
msgstr "S&ağ"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12426,11 +12426,6 @@ msgstr "В&ліво"
msgid "&Right"
msgstr "В&право"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Переглядач звичайних метафайлів"
......
......@@ -11918,11 +11918,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -11720,11 +11720,6 @@ msgstr ""
msgid "&Right"
msgstr ""
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
......
......@@ -12272,11 +12272,6 @@ msgstr "左(&L)"
msgid "&Right"
msgstr "右(&R)"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "普通 Metafile 阅读器"
......
......@@ -12325,11 +12325,6 @@ msgstr "左(&L)"
msgid "&Right"
msgstr "右(&R)"
#: view.rc:51
msgctxt "accelerator Quit"
msgid "^Q"
msgstr ""
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "普通 Metafile 閱讀器"
......
......@@ -366,7 +366,6 @@ static void HandleCommandLine(LPWSTR cmdline)
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
{
MSG msg;
HANDLE hAccelTable;
/* Other instances of app running? */
if (!hPrevInstance)
......@@ -386,24 +385,13 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
HandleCommandLine(lpCmdLine);
hAccelTable = LoadAcceleratorsW(hInstance, szAppName);
/* Main loop */
/* Acquire and dispatch messages until a WM_QUIT message is received */
while (GetMessageW(&msg, NULL, 0, 0))
{
/* Add other Translation functions (for modeless dialogs
and/or MDI windows) here. */
if (!TranslateAcceleratorW(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessageW(&msg);
}
TranslateMessage(&msg);
DispatchMessageW(&msg);
}
/* Add module specific instance free/delete functions here */
/* Returns the value from PostQuitMessage */
return msg.wParam;
}
......@@ -45,8 +45,3 @@ STRINGTABLE
BEGIN
IDS_DESCRIPTION "Regular Metafile Viewer"
END
VIEW ACCELERATORS
BEGIN
"#msgctxt#accelerator Quit#^Q", IDM_EXIT
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment