<br><br><div class="gmail_quote">On Thu, Oct 14, 2010 at 4:43 PM, Sascha Silbe <span dir="ltr"><<a href="mailto:sascha-ml-reply-to-2010-3@silbe.org">sascha-ml-reply-to-2010-3@silbe.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Excerpts from Gonzalo Odiard's message of Thu Oct 14 20:29:30 +0200 2010:<br>
<br>
[ebook switch]<br>
<div class="im">> It's a very specific XO thing ...<br>
<br>
</div>It isn't, but at least until recently it was rather unusual for devices<br>
capable of running Gnome.<br>
<div class="im"><br>
> I probably don't are explaining well what I need.<br>
<br>
</div>Looks like it. What I am missing is some background information:<br>
What do you want to achieve?<br></blockquote><div><br>It's simple and it's explained in <a href="http://dev.laptop.org/ticket/10396">http://dev.laptop.org/ticket/10396</a><br>If you use the Read activity and put your XO in ebook position, if the focus is in any other widget than the viewer, you can't navigate using the dpad.<br>
One first approach suggested by Simon was put the focus in the viewer when the activity start.<br>The another change I am proposing is catch the ebook switch event and put the focus in the viewer.<br> The proposed patch works, but I need to read the switch state after the event is catched. <br>
I don't know if there are a better way.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Which components do you intend to modify?<br></blockquote><div><br>The Read activity.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Which systems (distro version etc.) do you target?<br>
<div class="im"><br></div></blockquote><div><br>Sugar 0.84 and 0.90 in XO-1.5<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
> I am reading the event with dbus, it's working. I think it's the wright way<br>
> to do this today.<br>
<br>
</div>As you have shown yourself, it isn't working as you're getting incorrect<br>
values. Whether trying to fix an obsolete piece of software is really<br>
the right thing to do will depend on the answers to the questions above.<br>
<font color="#888888"><br></font></blockquote><div><br>Yes. I agree.<br><br>Gonzalo <br><br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888">
Sascha<br>
</font><div><div></div><div class="h5"><br>
--<br>
<a href="http://sascha.silbe.org/" target="_blank">http://sascha.silbe.org/</a><br>
<a href="http://www.infra-silbe.de/" target="_blank">http://www.infra-silbe.de/</a><br>
</div></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>