<div class="gmail_quote">2010/8/4 Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On August 4, 2010, Andriy Rysin wrote:<br>
> In keyboard layout indicator module I have a reaction to left-click via<br>
> activateRequested(), which is to toggle the layout to the next one (as<br>
> opposed to right-click which brings menu). Though currently (with latest<br>
> dbusmenuqt) no matter whether I click left or right button it's always<br>
> context menu that appears.<br>
<br>
</div>did you associate a widget (e.g. via setAssociatedWidget)? if so, then some<br>
implementations will decide to use the left click themselves instead of use<br>
 it as a trigger for activateRequested.<br></blockquote><div>There's no widget in keyboard layout indicator that uses KStatusNotifierItem (I guess the whole idea was to abstract the icon implementation), the "embedded" LayoutWidget which instead uses "normal" widget (and which is used in lock dialog) actually does not have such problem :)<br>
<br>Andriy<br></div></div>