Daichi Kawahata wrote: > Subject has said, I think it's a inherent problem of multibyte character. > A tooltip on the GTK1 widget is always irregular new-lined or no new-lined :-(
That's probably because GTK1 looks only at the number of bytes in any string, not the number of actual characters to align/justify text. Just a guess, though. > Also both of the $HOME/.gtk-gnutella/config_gnet and config_gui files are > in the same way. I'd think it's a bug that the comments in the config files are translated at all. Well, as long as they're UTF-8 encoded it's hopefully not a problem. There's some confusion about the descriptive text for properties (at least on my side). At first, that was only meant as a documentation for the property. Later, this text was also used for the tooltips when associated with a widget. That's why some "tooltips" don't make any sense to users. Manually fiddling with the config files is certainly not a feature and only useful for workarounds - if at all. > I searched on Google, and found that the function gtk_label_set_line_wrap() > exists. However as far as gtk_tooltips_*() are concerned, I couldn't find > that. Or as an another workaround, should I insert the sequence '\n' into > the po file? Sounds OK to me; lines shouldn't be longer than about 60-70 characters. However, it might be better to add line breaks automagically when assigning the tooltips. -- Christian
pgpQggNgxnAlS.pgp
Description: PGP signature
