Don't enable the diff gui when displaying the index
commitb2196287089a59882efdd0761812a4a8e7621b04
authorDavid Aguilar <davvid@gmail.com>
Tue, 15 Jan 2008 13:02:00 +0000 (15 05:02 -0800)
committerDavid Aguilar <davvid@gmail.com>
Tue, 15 Jan 2008 13:02:00 +0000 (15 05:02 -0800)
tree974378e2a4e611162249b0753d90983efa51dd29
parent4c541ad1d70427cedc19416c8a49cc1ef453f822
Don't enable the diff gui when displaying the index

The interactive diff gui menu actions were still enabled when displaying a diffstat or
index.  The controller now tracks whether it's ok to enable patch selection,
and disables it for diffstats/index views.

Signed-off by: David Aguilar <davvid@gmail.com>
ugitlibs/controllers.py