[Freeciv-Dev] Re: gui-gtk/connectdlg.c's message can't read.(i18n) (PR#1
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I wrote:
> I coudn't read beta message when it was popuped because it is
> unintelligible sequence of characters.
Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx> writes:
> Please try something like this instead:
>
> {
> GtkWidget *label2;
> GtkStyle *style;
>
> label2 = gtk_label_new(beta_message());
>
> if (!(style = gtk_rc_get_style(label2)) {
> style = label2->style;
> }
> style = gtk_style_copy(style);
>
> style->fg[GTK_STATE_NORMAL]=*colors_standard[COLOR_STD_RED];
> gtk_widget_set_style (label2, style);
> gtk_table_attach_defaults (GTK_TABLE (table), label2, 0, 2, 3, 4);
> }
Thank you. Problem was fixed.
Now, I can read Japanese messages on connect dialog.
(I added right parenthesis.)
if (!(style = gtk_rc_get_style(label2))) {
regard.
--
SAWADA Katsuya
|
|