https://git.reactos.org/?p=reactos.git;a=commitdiff;h=763de230b2a630bf534b4…
commit 763de230b2a630bf534b442677f4752880da7dc4
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Apr 18 09:59:41 2020 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Apr 18 09:59:41 2020 +0200
[REGEIT] Fix inconsistent menu state for 'Permissions'
- Disable the 'Permissions' item in the main menu, when 'My Computer'
is selected.
- Enable the 'Permissions' item in the tree view context menu.
CORE-16889
---
base/applications/regedit/childwnd.c | 8 ++++++++
base/applications/regedit/lang/bg-BG.rc | 2 +-
base/applications/regedit/lang/cs-CZ.rc | 2 +-
base/applications/regedit/lang/de-DE.rc | 2 +-
base/applications/regedit/lang/el-GR.rc | 2 +-
base/applications/regedit/lang/en-US.rc | 2 +-
base/applications/regedit/lang/es-ES.rc | 2 +-
base/applications/regedit/lang/fr-FR.rc | 2 +-
base/applications/regedit/lang/he-IL.rc | 2 +-
base/applications/regedit/lang/hu-HU.rc | 2 +-
base/applications/regedit/lang/id-ID.rc | 2 +-
base/applications/regedit/lang/it-IT.rc | 2 +-
base/applications/regedit/lang/ja-JP.rc | 2 +-
base/applications/regedit/lang/ko-KR.rc | 2 +-
base/applications/regedit/lang/nl-NL.rc | 2 +-
base/applications/regedit/lang/no-NO.rc | 2 +-
base/applications/regedit/lang/pl-PL.rc | 2 +-
base/applications/regedit/lang/pt-BR.rc | 2 +-
base/applications/regedit/lang/pt-PT.rc | 2 +-
base/applications/regedit/lang/ro-RO.rc | 2 +-
base/applications/regedit/lang/ru-RU.rc | 2 +-
base/applications/regedit/lang/sk-SK.rc | 2 +-
base/applications/regedit/lang/sl-SI.rc | 2 +-
base/applications/regedit/lang/sq-AL.rc | 2 +-
base/applications/regedit/lang/sv-SE.rc | 2 +-
base/applications/regedit/lang/th-TH.rc | 2 +-
base/applications/regedit/lang/tr-TR.rc | 2 +-
base/applications/regedit/lang/uk-UA.rc | 2 +-
base/applications/regedit/lang/zh-CN.rc | 2 +-
base/applications/regedit/lang/zh-TW.rc | 2 +-
30 files changed, 37 insertions(+), 29 deletions(-)
diff --git a/base/applications/regedit/childwnd.c b/base/applications/regedit/childwnd.c
index f64a1861165..4cbd30d6b2c 100644
--- a/base/applications/regedit/childwnd.c
+++ b/base/applications/regedit/childwnd.c
@@ -179,6 +179,11 @@ static BOOL ChildWnd_CmdWndProc(HWND hWnd, UINT message, WPARAM
wParam, LPARAM l
case ID_TREE_EXPORT:
ExportRegistryFile(g_pChildWnd->hTreeWnd);
break;
+ case ID_TREE_PERMISSIONS:
+ hSelection = TreeView_GetSelection(g_pChildWnd->hTreeWnd);
+ keyPath = GetItemPath(g_pChildWnd->hTreeWnd, hSelection, &hRootKey);
+ RegKeyEditPermissions(hWnd, hRootKey, NULL, keyPath);
+ break;
case ID_EDIT_FIND:
FindDialog(hWnd);
break;
@@ -579,6 +584,9 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lPa
UpdateAddress(pnmtv->itemNew.hItem, NULL, NULL);
+ /* Disable the Permissions menu item for 'My Computer' */
+ EnableMenuItem(hMenuFrame , ID_EDIT_PERMISSIONS, MF_BYCOMMAND |
((hParentItem == NULL) ? MF_GRAYED : MF_ENABLED));
+
/*
* Disable Delete/Rename menu options for 'My Computer' (first
item so doesn't have any parent)
* and HKEY_* keys (their parent is 'My Computer' and the
previous remark applies).
diff --git a/base/applications/regedit/lang/bg-BG.rc
b/base/applications/regedit/lang/bg-BG.rc
index e3852b60779..fc2b3f3e1b5 100644
--- a/base/applications/regedit/lang/bg-BG.rc
+++ b/base/applications/regedit/lang/bg-BG.rc
@@ -134,7 +134,7 @@ BEGIN
MENUITEM "&Преименуване", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Износ", ID_TREE_EXPORT
- MENUITEM "&Права...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Права...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Запомняне стойността на ключа", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/cs-CZ.rc
b/base/applications/regedit/lang/cs-CZ.rc
index 9a015459f81..71f0c8c2beb 100644
--- a/base/applications/regedit/lang/cs-CZ.rc
+++ b/base/applications/regedit/lang/cs-CZ.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Přejmenovat", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exportovat", ID_TREE_EXPORT
- MENUITEM "Oprá&vnění...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "Oprá&vnění...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "Z&kopírovat název klíče", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/de-DE.rc
b/base/applications/regedit/lang/de-DE.rc
index 8606290700a..ad065c0ad62 100644
--- a/base/applications/regedit/lang/de-DE.rc
+++ b/base/applications/regedit/lang/de-DE.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Umbenennen", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exportieren", ID_TREE_EXPORT
- MENUITEM "&Berechtigungen...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Berechtigungen...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "S&chlüsselnamen kopieren", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/el-GR.rc
b/base/applications/regedit/lang/el-GR.rc
index 18bcce6baa7..96ee88543d9 100644
--- a/base/applications/regedit/lang/el-GR.rc
+++ b/base/applications/regedit/lang/el-GR.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Μετονομασία", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Εξαγωγή", ID_TREE_EXPORT
- MENUITEM "&Δικαιώματα...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Δικαιώματα...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Αντιγραφή Ονόματος Κλειδιού", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/en-US.rc
b/base/applications/regedit/lang/en-US.rc
index a372059f51a..1305b911625 100644
--- a/base/applications/regedit/lang/en-US.rc
+++ b/base/applications/regedit/lang/en-US.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Rename", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/es-ES.rc
b/base/applications/regedit/lang/es-ES.rc
index 0584e8bf44c..3172a48f176 100644
--- a/base/applications/regedit/lang/es-ES.rc
+++ b/base/applications/regedit/lang/es-ES.rc
@@ -132,7 +132,7 @@ BEGIN
MENUITEM "&Renombrar", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exportar", ID_TREE_EXPORT
- MENUITEM "&Permisos...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permisos...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copiar nombre de clave", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/fr-FR.rc
b/base/applications/regedit/lang/fr-FR.rc
index 326e8904549..e507fc29c12 100644
--- a/base/applications/regedit/lang/fr-FR.rc
+++ b/base/applications/regedit/lang/fr-FR.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Renommer\tF2", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exporter", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copier le nom de la clé", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/he-IL.rc
b/base/applications/regedit/lang/he-IL.rc
index 28370594819..de43566c720 100644
--- a/base/applications/regedit/lang/he-IL.rc
+++ b/base/applications/regedit/lang/he-IL.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "שנה שם", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "יצא", ID_TREE_EXPORT
- MENUITEM "הרשאות...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "הרשאות...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "העתק שם מפתח", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/hu-HU.rc
b/base/applications/regedit/lang/hu-HU.rc
index d4dea8b263d..1f545b28cd6 100644
--- a/base/applications/regedit/lang/hu-HU.rc
+++ b/base/applications/regedit/lang/hu-HU.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Rename", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/id-ID.rc
b/base/applications/regedit/lang/id-ID.rc
index 94e394ffbb8..edb3f60fb59 100644
--- a/base/applications/regedit/lang/id-ID.rc
+++ b/base/applications/regedit/lang/id-ID.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Ganti nama", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Ekspor", ID_TREE_EXPORT
- MENUITEM "&Perijinan...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Perijinan...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Salin Nama Kunci", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/it-IT.rc
b/base/applications/regedit/lang/it-IT.rc
index 0194a148bc2..045ffcaa7a7 100644
--- a/base/applications/regedit/lang/it-IT.rc
+++ b/base/applications/regedit/lang/it-IT.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Rinomina", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Esporta", ID_TREE_EXPORT
- MENUITEM "&Permessi...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permessi...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copia il nome della chiave", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/ja-JP.rc
b/base/applications/regedit/lang/ja-JP.rc
index 8eefdad5fec..98024b3adb4 100644
--- a/base/applications/regedit/lang/ja-JP.rc
+++ b/base/applications/regedit/lang/ja-JP.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "名前の変更(&R)", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "エクスポート(&E)", ID_TREE_EXPORT
- MENUITEM "アクセス許可(&P)...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "アクセス許可(&P)...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "キー名のコピー(&C)", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/ko-KR.rc
b/base/applications/regedit/lang/ko-KR.rc
index 907e13832fa..6532d409f21 100644
--- a/base/applications/regedit/lang/ko-KR.rc
+++ b/base/applications/regedit/lang/ko-KR.rc
@@ -131,7 +131,7 @@ BEGIN
MENUITEM "이름 바꾸기(&R)", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "내보내기(&E)", ID_TREE_EXPORT
- MENUITEM "권한 설정(&P)", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "권한 설정(&P)", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "키 이름 복사(&C)", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/nl-NL.rc
b/base/applications/regedit/lang/nl-NL.rc
index ab5d3533f6b..b5e7a4aef01 100644
--- a/base/applications/regedit/lang/nl-NL.rc
+++ b/base/applications/regedit/lang/nl-NL.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Rename", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/no-NO.rc
b/base/applications/regedit/lang/no-NO.rc
index c05b2e66696..2c9cbea4c25 100644
--- a/base/applications/regedit/lang/no-NO.rc
+++ b/base/applications/regedit/lang/no-NO.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Gi nytt navn", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Eksport", ID_TREE_EXPORT
- MENUITEM "&Rettigheter...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Rettigheter...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Kopier nøkkelnavn", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/pl-PL.rc
b/base/applications/regedit/lang/pl-PL.rc
index 28c6fe7f70b..b940faa8024 100644
--- a/base/applications/regedit/lang/pl-PL.rc
+++ b/base/applications/regedit/lang/pl-PL.rc
@@ -139,7 +139,7 @@ BEGIN
MENUITEM "Z&mień nazwę", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Eksportuj", ID_TREE_EXPORT
- MENUITEM "&Uprawnienia..", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Uprawnienia..", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Kopiuj nazwę klucza", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/pt-BR.rc
b/base/applications/regedit/lang/pt-BR.rc
index 166d481fe14..c30b784aecc 100644
--- a/base/applications/regedit/lang/pt-BR.rc
+++ b/base/applications/regedit/lang/pt-BR.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Renomear", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exportar", ID_TREE_EXPORT
- MENUITEM "&Permissões...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissões...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copiar nome da chave", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/pt-PT.rc
b/base/applications/regedit/lang/pt-PT.rc
index c6079ee503b..b0647dae245 100644
--- a/base/applications/regedit/lang/pt-PT.rc
+++ b/base/applications/regedit/lang/pt-PT.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Renomear", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exportar", ID_TREE_EXPORT
- MENUITEM "&Permissões...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissões...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copiar chave 'Nome'", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/ro-RO.rc
b/base/applications/regedit/lang/ro-RO.rc
index 33e499a56e7..f5043f9bfab 100644
--- a/base/applications/regedit/lang/ro-RO.rc
+++ b/base/applications/regedit/lang/ro-RO.rc
@@ -131,7 +131,7 @@ BEGIN
MENUITEM "&Redenumește", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "E&xportă", ID_TREE_EXPORT
- MENUITEM "Permisiuni…", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "Permisiuni…", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copiază numele cheii", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/ru-RU.rc
b/base/applications/regedit/lang/ru-RU.rc
index 39e44e1558c..73026201520 100644
--- a/base/applications/regedit/lang/ru-RU.rc
+++ b/base/applications/regedit/lang/ru-RU.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Переименовать", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Экспорт", ID_TREE_EXPORT
- MENUITEM "Разре&шения...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "Разре&шения...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Копировать имя ключа", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/sk-SK.rc
b/base/applications/regedit/lang/sk-SK.rc
index 5ee8d0ec1e8..7f90514c4e2 100644
--- a/base/applications/regedit/lang/sk-SK.rc
+++ b/base/applications/regedit/lang/sk-SK.rc
@@ -134,7 +134,7 @@ BEGIN
MENUITEM "&Premenovať", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/sl-SI.rc
b/base/applications/regedit/lang/sl-SI.rc
index b0294655a07..45ec925868b 100644
--- a/base/applications/regedit/lang/sl-SI.rc
+++ b/base/applications/regedit/lang/sl-SI.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Rename", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/sq-AL.rc
b/base/applications/regedit/lang/sq-AL.rc
index 442d19fcadd..6d04be14717 100644
--- a/base/applications/regedit/lang/sq-AL.rc
+++ b/base/applications/regedit/lang/sq-AL.rc
@@ -133,7 +133,7 @@ BEGIN
MENUITEM "Emero", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exporto", ID_TREE_EXPORT
- MENUITEM "T'drejta...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "T'drejta...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "Kopjo emrin çelesit", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/sv-SE.rc
b/base/applications/regedit/lang/sv-SE.rc
index 5e3e0cf1b4a..228879556b0 100644
--- a/base/applications/regedit/lang/sv-SE.rc
+++ b/base/applications/regedit/lang/sv-SE.rc
@@ -129,7 +129,7 @@ BEGIN
MENUITEM "&Byt namn", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Exportera", ID_TREE_EXPORT
- MENUITEM "&Behörigheter...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Behörigheter...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Kopiera nyckelnamn", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/th-TH.rc
b/base/applications/regedit/lang/th-TH.rc
index 92bdac769aa..d343823fe6b 100644
--- a/base/applications/regedit/lang/th-TH.rc
+++ b/base/applications/regedit/lang/th-TH.rc
@@ -131,7 +131,7 @@ BEGIN
MENUITEM "&Rename", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export", ID_TREE_EXPORT
- MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/tr-TR.rc
b/base/applications/regedit/lang/tr-TR.rc
index eadfdc5e597..3dfb068e5ad 100644
--- a/base/applications/regedit/lang/tr-TR.rc
+++ b/base/applications/regedit/lang/tr-TR.rc
@@ -131,7 +131,7 @@ BEGIN
MENUITEM "&Adını Değiştir", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Ver...", ID_TREE_EXPORT
- MENUITEM "&İzinler...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&İzinler...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Dizin Yolunu Çoğalt", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/uk-UA.rc
b/base/applications/regedit/lang/uk-UA.rc
index 2a36942cb5a..116a5eeb72d 100644
--- a/base/applications/regedit/lang/uk-UA.rc
+++ b/base/applications/regedit/lang/uk-UA.rc
@@ -131,7 +131,7 @@ BEGIN
MENUITEM "Перей&менувати", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "&Експорт", ID_TREE_EXPORT
- MENUITEM "&Дозволи...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "&Дозволи...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "&Копіювати ім'я розділу", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/zh-CN.rc
b/base/applications/regedit/lang/zh-CN.rc
index 1c5b784f2b3..83223e198e8 100644
--- a/base/applications/regedit/lang/zh-CN.rc
+++ b/base/applications/regedit/lang/zh-CN.rc
@@ -131,7 +131,7 @@ BEGIN
MENUITEM "重命名(&R)", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "导出(&E)", ID_TREE_EXPORT
- MENUITEM "权限(&P)...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "权限(&P)...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "复制键名(&C)", ID_EDIT_COPYKEYNAME
END
diff --git a/base/applications/regedit/lang/zh-TW.rc
b/base/applications/regedit/lang/zh-TW.rc
index 5aeed75ea02..2958b5b3e7a 100644
--- a/base/applications/regedit/lang/zh-TW.rc
+++ b/base/applications/regedit/lang/zh-TW.rc
@@ -132,7 +132,7 @@ BEGIN
MENUITEM "重新命名(&R)", ID_TREE_RENAME
MENUITEM SEPARATOR
MENUITEM "匯出(&E)", ID_TREE_EXPORT
- MENUITEM "許可權(&P)...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM "許可權(&P)...", ID_TREE_PERMISSIONS
MENUITEM SEPARATOR
MENUITEM "複製項名稱(&C)", ID_EDIT_COPYKEYNAME
END