Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: gui-gtk/connectdlg.c's message can't read.(i18n) (PR#1
Home

[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]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, <bugs@xxxxxxxxxxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: gui-gtk/connectdlg.c's message can't read.(i18n) (PR#1605)
From: SAWADA Katsuya <ama@xxxxxxxxxxx>
Date: Mon, 24 Jun 2002 02:52:38 +0900

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


[Prev in Thread] Current Thread [Next in Thread]