[Sugar-devel] [DESIGN] Changing mime type in journal details view.

James Cameron quozl at laptop.org
Mon Nov 25 21:04:20 EST 2013


The second screenshot shows no apparent ordering for the entries in
the Gtk.ComboBox.  Perhaps it should be sorted.

On Mon, Nov 25, 2013 at 11:45:48PM -0200, Christofer Roibal wrote:
> Imágenes integradas 1Imágenes integradas 2
> 
> 
> 2013/11/25 James Cameron <quozl at laptop.org>
> 
>     I'm fine with the change by Christofer.
> 
>     While it is possible for a learner to change the mime type to
>     something that cannot be managed by an activity, the risk is low,
>     because detail view requires deliberate action to obtain, and the mime
>     type can always be changed back.
> 
>     If the risk is found to be high, then a warning can be added, or an
>     entry at the top of the Gtk.ComboBox called "automatic" which uses the
>     mime.get_for_file method.
> 
>     Going one step further, Sugar could store the original mime type and
>     offer that as "original".
> 
>     On Mon, Nov 25, 2013 at 12:16:21PM -0300, Martin Abente Lahaye wrote:
>     > Hello Everyone,
>     >
>     > Christofer Roibal, has submitted a patch [1] for changing the mime type
>     of
>     > journal entries in the details view. This idea comes from a GCI task [2]
>     which
>     > he has completed.
>     >
>     > What he did is replacing the Gtk.Label, that shows the mime type, for a
>     > Gtk.ComboBox. The combo is set to the corresponding option when the entry
>     > metadata contains a mime type, otherwise is set to a empty/blank option.
>     The
>     > combo can be used to select another mime type for that entry.
>     >
>     > Please share your thoughts about this change, from the functional and
>     design
>     > POVs. We need to decide whether we include it or not. 
>     >
>     > Thanks for your time.
>     > Saludos,
>     > tch.
>     >
>     > Refs:
>     > 1. https://github.com/sugarlabs/sugar/pull/148
>     > 2. http://www.google-melange.com/gci/task/view/google/gci2013/
>     4601998938734592
>     >
>     >
> 
>     > _______________________________________________
>     > Sugar-devel mailing list
>     > Sugar-devel at lists.sugarlabs.org
>     > http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
>     --
>     James Cameron
>     http://quozl.linux.org.au/
> 
> 




-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list