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

Ignacio Rodríguez nachoel01 at gmail.com
Tue Nov 26 06:16:54 EST 2013


For design I like it (my idea):

[image: Imágenes integradas 1]

[image: Imágenes integradas 2]

(Need to be tested  in Sugar)

Code <http://sugarlabs.org/~ignacio/Archivos/Combobox.py>


Saludos.
Ignacio Rodríguez


2013/11/26 Gonzalo Odiard <gonzalo at laptop.org>

> I insist. If we need a mechanism to change the mime type, maybe is better
> create a activity to do it.
> Expose all that options in the detail view in the Journal is not a good
> idea for me.
>
> Gonzalo
>
>
> On Mon, Nov 25, 2013 at 11:04 PM, James Cameron <quozl at laptop.org> wrote:
>
>> 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/
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131126/315d9104/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Design.png
Type: image/png
Size: 1900 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131126/315d9104/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Design2.png
Type: image/png
Size: 7917 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131126/315d9104/attachment-0003.png>


More information about the Sugar-devel mailing list