#10544 NORM 10.1.3: CP: Switch to GNOME Button not displayed correctly in all the languages
Zarro Boogs per Child
bugtracker at laptop.org
Thu Dec 23 08:27:45 EST 2010
#10544: CP: Switch to GNOME Button not displayed correctly in all the languages
------------------------------+---------------------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: new
Priority: normal | Milestone: 10.1.3
Component: sugar | Version: Development build as of this date
Resolution: | Keywords:
Next_action: review | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------+---------------------------------------------
Comment(by godiard):
Replying to [comment:4 erikos]:
> Replying to [comment:3 dsd]:
> > have you tested it with a variety of languages?
>
> Ok, I tested some languages and so far only French seem to have the
issue. The simplest fix for 10.1.3 would be to just do:
>
> self._gnome_opt_label.set_size_request(gtk.gdk.screen_width(), -1)
>
> instead of:
>
> self._gnome_opt_label.set_size_request(gtk.gdk.screen_width() / 2, -1)
>
> And for the next build we do the scrolling window. But I am ok with
moving it out, if others are not convinced it is worth it.
I have tested it but does not work (see
http://dev.laptop.org/attachment/ticket/10544/text_with_window_width%20spanish%20ERROR.png)
gtk.gdk.screen_width() return the screen width in pixels, not the popup
width.
I tried again width 2 / 3 of screen . Is a magic number but 1 / 2 of
screen too.
I have tested it in Spanish, French, English, Arabic and Portuguese.
0001-Increase-width-requested-to-the-labels-V2.patch add a variable width
to change it in one place.
--
Ticket URL: <http://dev.laptop.org/ticket/10544#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list