Abdelrazak Younes wrote:
Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> This patch has some strange behaviors -- which I'm now
Bennett> noticing are problems with the original patch (as modified by
Bennett> Abdel).

Hmm, I think I know why it happens: a menu with a role can only be
recognized once...

So we have to keep part of the old hack. Please try this new version
of the patch.

Or you could have had a static boolean in the former patch (in Action::init()) instead.

static bool first_time = true;
if (first_time)
    setMenuRole(...);

No, forget about it, it won't work with mutiple windows.

Abdel.

Reply via email to