Add 'tray.popContextMenu()' Windows implementation.
This commit is contained in:
parent
4421fbf9f3
commit
ed4c69343f
6 changed files with 26 additions and 23 deletions
|
@ -106,8 +106,10 @@ void Tray::DisplayBalloon(mate::Arguments* args,
|
|||
tray_icon_->DisplayBalloon(icon, title, content);
|
||||
}
|
||||
|
||||
void Tray::PopContextMenu() {
|
||||
tray_icon_->PopContextMenu();
|
||||
void Tray::PopContextMenu(mate::Arguments* args) {
|
||||
gfx::Point pos;
|
||||
args->GetNext(&pos);
|
||||
tray_icon_->PopContextMenu(pos);
|
||||
}
|
||||
|
||||
void Tray::SetContextMenu(mate::Arguments* args, Menu* menu) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue