Re: [evolution-patches] Fix unlocalized string in color setting of mail's preference dialog.
- From: Jeffrey Stedfast <fejj ximian com>
- To: Yong Sun Sun com
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] Fix unlocalized string in color setting of mail's preference dialog.
- Date: Fri, 02 Jan 2004 16:16:57 -0500
We should not depend on glade's GtkEntry strings to be accurate. They
are sometimes only set as "this is what it might look like" type things.
Jeff
On Mon, 2003-12-22 at 05:11, Yong.Sun wrote:
> Hi, guys,
>
> You can see the bug by the following steps:
> 1. Choose [Tools] -> [Settings].
> 2. Select [Mail Preferences].
> 3. Select [Colors] tab.
> "Important", "Work", "Personal", "To Do" and "Later" are not localized.
>
> Because mail_preferences_construct() function call gtk_entry_set_text()
> to set a raw string there. But in fact, glade has set the entry's text
> by a localized string.
>
> So, gtk_entry_set_text (prefs->labels[i].name, label->name) can be
> removed.
>
> Regards,
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com - www.ximian.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]