~townsend/compiz/fix-auto-vp-switch-0.9.10

« back to all changes in this revision

Viewing changes to plugins/annotate/src/annotate.cpp

Fixed the non-working Annotate 'Clear' Button.
Moved this option's CCSM position upwards to keep
the button shortcuts together.

(LP: #1202907). Fixes: https://bugs.launchpad.net/bugs/1202907.

Approved by PS Jenkins bot, MC Return.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1014
1014
        (boost::bind (&AnnoScreen::initiateEllipse, this, _1, _2, _3));
1015
1015
    optionSetInitiateEllipseButtonTerminate
1016
1016
        (boost::bind (&AnnoScreen::terminate, this, _1, _2, _3));
 
1017
    optionSetClearButtonInitiate
 
1018
        (boost::bind (&AnnoScreen::clear, this, _1, _2, _3));
1017
1019
    optionSetClearKeyInitiate
1018
1020
        (boost::bind (&AnnoScreen::clear, this, _1, _2, _3));
1019
1021
    drawMode = NoMode;