| Index: src/plugin/PluginClass.cpp |
| =================================================================== |
| --- a/src/plugin/PluginClass.cpp |
| +++ b/src/plugin/PluginClass.cpp |
| @@ -1130,7 +1130,11 @@ |
| ctext = dictionary->Lookup("menu", "menu-disable-on-site"); |
| // Is domain in white list? |
| ReplaceString(ctext, L"?1?", client->GetHostFromUrl(url)); |
| - if (client->IsWhitelistedUrl(GetTab()->GetDocumentUrl())) |
| + if (!GetTab()->CanDisableOnSite()) |
| + { |
| + fmii.fState = MFS_UNCHECKED | MFS_DISABLED; |
| + } |
| + else if (client->IsWhitelistedUrl(GetTab()->GetDocumentUrl())) |
| { |
| fmii.fState = MFS_CHECKED | MFS_ENABLED; |
| } |