<div dir="ltr"><div>The ticket mention web servers misconfiguration. That might be pretty common but I think the right fix for that case is to use GIO to get the mime type (which will look at the file content) instead of trusting the server.<br>
<br></div><div>If GIO detects the mime incorrectly (does that really happen?), then I don't think a journal-only fix is good, it will cause inconsistencies because stuff that looks only at the file will report a different mime type.<br>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 November 2013 19:14, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My principal concern is a user can change the mime type, and later the activities can't manage the object. <div>
<br></div><div>How common is the problem described in the bug [1]?</div><div><br></div><div>
Is a alternative show the combo only if the user press a shortcut? Or maybe er need add a "More options" button in the detailview, and reorganize it? </div><div><br></div><div>Gonzalo</div><div><br></div><div>
[1] <a href="http://bugs.sugarlabs.org/ticket/2924" target="_blank">http://bugs.sugarlabs.org/ticket/2924</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 25, 2013 at 12:16 PM, Martin Abente Lahaye <span dir="ltr"><<a href="mailto:tch@sugarlabs.org" target="_blank">tch@sugarlabs.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello Everyone,<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Please share your thoughts about this change, from the functional and design POVs. We need to decide whether we include it or not. </div><div><br></div><div>Thanks for your time.</div><div>Saludos,</div>
<div>tch.</div><div><br></div><div>Refs:</div><div>1. <a href="https://github.com/sugarlabs/sugar/pull/148" target="_blank">https://github.com/sugarlabs/sugar/pull/148</a></div><div>2. <a href="http://www.google-melange.com/gci/task/view/google/gci2013/4601998938734592" target="_blank">http://www.google-melange.com/gci/task/view/google/gci2013/4601998938734592</a><br>
<div><br></div><div><br></div></div></div>
<br></div></div>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</div>