Re: Glade & new GTK+ 2.5.x features
- From: Damon Chaplin <damon karuna uklinux net>
- To: Bill Haneman Sun COM
- Cc: gtk-devel-list gnome org
- Subject: Re: Glade & new GTK+ 2.5.x features
- Date: Wed, 01 Dec 2004 19:47:02 +0000
On Wed, 2004-12-01 at 17:11, Bill Haneman wrote:
> Hmm
> > > <widget class="GtkLabel" id="label1">
> > > <property name="label" markup="<b>">label1</property>
> > > </widget>
>
> This looks really ugly to me - storing what is essentially an XML tag as
> content!
Yes, it isn't ideal. But that's what we are currently doing for markup
anyway.
> Why not
>
> <widget class="GtkLabel" id="label1">
> <property name="label">label1</property>
> <markup>
> <b>
> .. [etc.]
> </markup>
> </widget>
>
> i.e. any tag could be places in the <markup/> element.
I don't think it really warrants major changes to the XML structure like
that. We're only trying to get rid of the attributes that cover the
entire string. e.g. for "<b>all bold</b>" the translators don't want the
"<b>" and "</b>" to be in the po files.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]