summaryrefslogtreecommitdiffstats
path: root/python_modules/spice_parser.py
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2011-12-13 17:09:58 +0200
committerUri Lublin <uril@redhat.com>2011-12-21 19:58:29 +0200
commitba56fc466123432ea5badb3611f3a80761ea6e24 (patch)
tree821413d61dc51a02dcf752a8c8d7f11b08c45efb /python_modules/spice_parser.py
parentbfa16699aa4c9a8e858c9539eadc6687444d4d69 (diff)
downloadspice-ba56fc466123432ea5badb3611f3a80761ea6e24.tar.gz
spice-ba56fc466123432ea5badb3611f3a80761ea6e24.tar.xz
spice-ba56fc466123432ea5badb3611f3a80761ea6e24.zip
client: foreign-menu: pass "active" param when creating a ForeignMenu (#769020)
The default stays the same -- false. A race could prevent setting ForeignMenu::_active correctly. That happened when Application::on_app_activated was called before _foriegn_menu was created. When foriegn_menu was created its _active defaults to false, and that has not changed, until focus was taken out and back in spice-client window. This caused usbrdr to sometimes not auto-share devices, unless the user switched focus to a different application and back to spicec. The fix updates ForiegnMenu::_active upon creation. (cherry picked from commit fdcef173645e564be71f1b73d476c0716e91663d)
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions