sugarlabs/sugar — pull request #390 by godiard (2014-07-28 19:58:46+00:00)
Title: ObjectChooser: preserve filter type

When the ObjectChooser is called with the filter_type=FILTER_TYPE_MIME_BY_ACTIVITY
the filter_type was replaced by FILTER_TYPE_ACTIVITY.
This patch preserve the value used, if not filter type was selected,
use FILTER_TYPE_ACTIVITY.

Signd-off-by: Gonzalo Odiard