[Sugar-devel] [DESIGN] Changing mime type in journal details view.
Christofer Roibal
christoferjam at gmail.com
Thu Nov 28 02:53:21 EST 2013
[image: Imágenes integradas 1][image: Imágenes integradas 2][image:
Imágenes integradas 3]
Now i added the mime_type icon and a separatos, i change the gtk.ComboBox
for the sugar ComboBox from sugar3.graphics.combobox, this is used in the
What Search in the first journal view
2013/11/26 Daniel Narvaez <dwnarvaez at gmail.com>
> It would be good to know what exactly is the use case, if nothing else...
>
>
> On Tuesday, 26 November 2013, Gonzalo Odiard wrote:
>
>> 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
>>>
>>
>>
>
> --
> Daniel Narvaez
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131128/980f31c8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2013-11-28 04:49:05.png
Type: image/png
Size: 43929 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131128/980f31c8/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2013-11-28 04:48:37.png
Type: image/png
Size: 47172 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131128/980f31c8/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2013-11-28 04:49:34.png
Type: image/png
Size: 30125 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131128/980f31c8/attachment-0005.png>
More information about the Sugar-devel
mailing list