view: Get rid of the quit accelerator.
All window managers already have a key shortcut for that.
diff --git a/po/ar.po b/po/ar.po
index b8fe0ec..8e51f53 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -11972,11 +11972,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/bg.po b/po/bg.po
index 59430fc..61985ab 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -12141,11 +12141,6 @@
msgid "&Right"
msgstr "Най-вдясно"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/ca.po b/po/ca.po
index 5e58c08..0db9857 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -12437,11 +12437,6 @@
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"
diff --git a/po/cs.po b/po/cs.po
index f7749ff..b706229 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -12574,11 +12574,6 @@
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ů"
diff --git a/po/da.po b/po/da.po
index 818247d..4af6171 100644
--- a/po/da.po
+++ b/po/da.po
@@ -12672,11 +12672,6 @@
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"
diff --git a/po/de.po b/po/de.po
index 556a9dc..1f125fb 100644
--- a/po/de.po
+++ b/po/de.po
@@ -12478,11 +12478,6 @@
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"
diff --git a/po/el.po b/po/el.po
index 84f8b17..c71a804 100644
--- a/po/el.po
+++ b/po/el.po
@@ -11941,11 +11941,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/en.po b/po/en.po
index f5eaf89..e064e37 100644
--- a/po/en.po
+++ b/po/en.po
@@ -12117,11 +12117,6 @@
msgid "&Right"
msgstr "&Right"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/en_US.po b/po/en_US.po
index d7b886f..6587c4d 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -12348,11 +12348,6 @@
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"
diff --git a/po/eo.po b/po/eo.po
index 9bd44f4..052c731 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -12171,11 +12171,6 @@
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"
diff --git a/po/es.po b/po/es.po
index 8e51259..cecdd63 100644
--- a/po/es.po
+++ b/po/es.po
@@ -12902,11 +12902,6 @@
msgid "&Right"
msgstr "&Derecha"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/fa.po b/po/fa.po
index 5bab098..4a10c19 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -11973,11 +11973,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/fi.po b/po/fi.po
index 63eec1f..a883997 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -12303,11 +12303,6 @@
msgid "&Right"
msgstr "Oikea Reuna"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 88be355..739f613 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -12498,11 +12498,6 @@
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"
diff --git a/po/he.po b/po/he.po
index 414d557..01e2390 100644
--- a/po/he.po
+++ b/po/he.po
@@ -12493,11 +12493,6 @@
msgid "&Right"
msgstr "&ימינה"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "מציג קובצי על רגיל"
diff --git a/po/hi.po b/po/hi.po
index 658c9e5..57851f3 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -11780,11 +11780,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/hu.po b/po/hu.po
index 3f47f15..a44466b 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -12556,11 +12556,6 @@
msgid "&Right"
msgstr "Jobb széle"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/it.po b/po/it.po
index 99f02cb..456386a 100644
--- a/po/it.po
+++ b/po/it.po
@@ -12430,11 +12430,6 @@
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"
diff --git a/po/ja.po b/po/ja.po
index 22b2a8a..9958c22 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -12392,11 +12392,6 @@
msgid "&Right"
msgstr "右(&R)"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "標準メタファイル ビュアー"
diff --git a/po/ko.po b/po/ko.po
index 9961a6b..b57d9ce 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -12298,11 +12298,6 @@
msgid "&Right"
msgstr "오른쪽(&R)"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr "^Q"
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "정규 메타파일 보기"
diff --git a/po/lt.po b/po/lt.po
index 6157679..69d8bd0 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -12377,11 +12377,6 @@
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ė"
diff --git a/po/ml.po b/po/ml.po
index ac2715a..cc8d700 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -11780,11 +11780,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 192fe73..e65fbe9 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -12703,11 +12703,6 @@
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"
diff --git a/po/nl.po b/po/nl.po
index dd2ce96..d75861b 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -12504,11 +12504,6 @@
msgid "&Right"
msgstr "&Rechts"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Algemene Metafile weergave"
diff --git a/po/or.po b/po/or.po
index cec3b03..aafd89a 100644
--- a/po/or.po
+++ b/po/or.po
@@ -11780,11 +11780,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/pa.po b/po/pa.po
index fcad829..6ab3834 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -11780,11 +11780,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index c4b952d..0a5e765 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -12407,11 +12407,6 @@
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"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 37ea024..6f6941a 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -12466,11 +12466,6 @@
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"
diff --git a/po/pt_PT.po b/po/pt_PT.po
index 495838d..c7176c3 100644
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -12799,11 +12799,6 @@
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"
diff --git a/po/rm.po b/po/rm.po
index 4bc32ed..c1caccb 100644
--- a/po/rm.po
+++ b/po/rm.po
@@ -11860,11 +11860,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/ro.po b/po/ro.po
index c5bf50d..aaf4d1e 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -13037,11 +13037,6 @@
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"
diff --git a/po/ru.po b/po/ru.po
index f6e5e2e..33759e0 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -12366,11 +12366,6 @@
msgid "&Right"
msgstr "В&право"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Просмотрщик обычных метафайлов"
diff --git a/po/sk.po b/po/sk.po
index a88aadf..9cae705 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -12007,11 +12007,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/sl.po b/po/sl.po
index 1fe38ab..166fe14 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -12407,11 +12407,6 @@
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"
diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po
index baef545..08474d3 100644
--- a/po/sr_RS@cyrillic.po
+++ b/po/sr_RS@cyrillic.po
@@ -12374,11 +12374,6 @@
msgid "&Right"
msgstr "Десна ивица"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po
index bae22af..fb7537a 100644
--- a/po/sr_RS@latin.po
+++ b/po/sr_RS@latin.po
@@ -12522,11 +12522,6 @@
msgid "&Right"
msgstr "Desna ivica"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/sv.po b/po/sv.po
index 71558c0..e5f856e 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -12425,11 +12425,6 @@
msgid "&Right"
msgstr "&Höger"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/te.po b/po/te.po
index 7d8f56a..fd048d0 100644
--- a/po/te.po
+++ b/po/te.po
@@ -11780,11 +11780,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/th.po b/po/th.po
index c34cc73..ca6d277 100644
--- a/po/th.po
+++ b/po/th.po
@@ -11983,11 +11983,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index b2c7e06..1261372 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -12689,11 +12689,6 @@
msgid "&Right"
msgstr "S&ağ"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/uk.po b/po/uk.po
index 025c311..28bab3c 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -12426,11 +12426,6 @@
msgid "&Right"
msgstr "В&право"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "Переглядач звичайних метафайлів"
diff --git a/po/wa.po b/po/wa.po
index 315842a..464671b 100644
--- a/po/wa.po
+++ b/po/wa.po
@@ -11918,11 +11918,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/wine.pot b/po/wine.pot
index 5ccaac5..a7572af 100644
--- a/po/wine.pot
+++ b/po/wine.pot
@@ -11720,11 +11720,6 @@
msgid "&Right"
msgstr ""
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr ""
diff --git a/po/zh_CN.po b/po/zh_CN.po
index abe47b4..52075a6 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -12272,11 +12272,6 @@
msgid "&Right"
msgstr "右(&R)"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "普通 Metafile 阅读器"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 7bc92b4..190602c 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -12325,11 +12325,6 @@
msgid "&Right"
msgstr "右(&R)"
-#: view.rc:51
-msgctxt "accelerator Quit"
-msgid "^Q"
-msgstr ""
-
#: view.rc:46
msgid "Regular Metafile Viewer"
msgstr "普通 Metafile 閱讀器"
diff --git a/programs/view/view.c b/programs/view/view.c
index 824f9e1..c50a0ff 100644
--- a/programs/view/view.c
+++ b/programs/view/view.c
@@ -366,7 +366,6 @@
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 @@
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;
}
diff --git a/programs/view/view.rc b/programs/view/view.rc
index 138011e..aae88e8 100644
--- a/programs/view/view.rc
+++ b/programs/view/view.rc
@@ -45,8 +45,3 @@
BEGIN
IDS_DESCRIPTION "Regular Metafile Viewer"
END
-
-VIEW ACCELERATORS
-BEGIN
- "#msgctxt#accelerator Quit#^Q", IDM_EXIT
-END