Save the thumbar buttons when setting them

Then restore the buttons when restoring the taskbar icon
This commit is contained in:
Samuel Attard 2016-08-13 01:55:42 +10:00
parent 0b624315b2
commit 2fa7aa3c71
4 changed files with 17 additions and 3 deletions

View file

@ -606,7 +606,7 @@ bool Window::SetThumbarButtons(mate::Arguments* args) {
}
auto window = static_cast<NativeWindowViews*>(window_.get());
return window->taskbar_host().SetThumbarButtons(
window->GetAcceleratedWidget(), buttons);
window_->GetAcceleratedWidget(), buttons);
#else
return false;
#endif