Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #602 from adobe/ingo/linux-native-menus
Browse files Browse the repository at this point in the history
Added support of Native Menus in Linux
  • Loading branch information
swmitra committed May 3, 2017
2 parents ad274cf + 0ecc5c8 commit 0f813d8
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 25 deletions.
3 changes: 3 additions & 0 deletions appshell/appshell_extensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,9 @@ class ProcessMessageDelegate : public ClientHandler::ProcessMessageDelegate {
bool enabled = argList->GetBool(2);
bool checked = argList->GetBool(3);
error = NativeMenuModel::getInstance(getMenuParent(browser)).setMenuItemState(command, enabled, checked);
if (error == NO_ERROR) {
error = SetMenuItemState(browser, command, enabled, checked);
}
}
} else if (message_name == "SetMenuTitle") {
// Parameters:
Expand Down
Loading

0 comments on commit 0f813d8

Please sign in to comment.