dag: Keep selection when showing context menus
commitcc4cb9853b47ca94759b5ca3e3a4a9b16c4fdbe5
authorDavid Aguilar <davvid@gmail.com>
Wed, 28 Dec 2011 00:50:14 +0000 (27 16:50 -0800)
committerDavid Aguilar <davvid@gmail.com>
Wed, 28 Dec 2011 00:50:14 +0000 (27 16:50 -0800)
tree10b5e5b02117f463eca0420fe1d9ca68162e6ff2
parent4d68671eb912b95267cd462eca95f43bfaa2db7b
dag: Keep selection when showing context menus

Doing control+click in the list view shows a context menu but it
also resets the selection.  This makes the "Diff selected..."
actions useless since they rely on the existing selection.

Ignore the mouse press event when the modifier is Meta,
AKA the "control" button on OS X.  Linux users already had
this tweak when applied for the right mouse button.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/dag/view.py