The problem is in your scope code. The constructor of your Action class
needs to take widget id and action id arguments (you get them both in
Scope::perform_action() where Action is constructed), and it *needs* to
pass them down to ActivationQueryBase constructor. Only then
ActivationQueryBase::action_id() will give meaningful value.
There is no need to have action_id_ member attribute in your Action
class.
** Changed in: unity-scopes-api (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1468195
Title:
action_id() does not return the correct value
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1468195/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs