[Gtk-sharp-list] Bug porting app to GTK#1.9.2
underdog10@netcourrier.com
underdog10@netcourrier.com
Thu, 17 Mar 2005 23:19:33 +0000
I porting my GTK=231.0 application to GTK=231.9.2.
For my about dialog, i use the code below.
Works fine on GTK=231.0 but on GTK=231.9.2, i got the dialog bow without t=
he text. I also got a warning telling me i use invalid caracter.
Why?
Thanks for you help.
private void OnToolbarAboutClicked()
=7B
System.Text.StringBuilder AuthorStringBuild =3D new System.Text.StringBuil=
der ();
String =5B=5Dauthors =3D new String=5B=5D =7B
=22KaYa <my=40email.com>=22,
=22=22
=7D;
String =5B=5Dweb =3D new String=5B=5D =7B
=22http://xbgm.sourceforge.net=22,
=22=22
=7D;
=
AuthorStringBuild.Append (NAME + =22 =22 + VERSION + =22=5Cn=5Cn=22);
AuthorStringBuild.Append (=22Xbox Game Manager.=5Cn=22);
AuthorStringBuild.Append (=22Copyright (c) 2004-2005=5Cn=5Cn=22);
// This is not working on GTK=232.0 why? =
/* AuthorStringBuild.AppendFormat (
=22Authors:=5Cn=5Ct=7B0=7D=5Cn=5Ct=7B1=7D=22,
authors=5B0=5D,
authors=5B1=5D
); =
AuthorStringBuild.AppendFormat (
=22=5CnWebsite:=5Cn=5Ct=7B0=7D=5Cn=5Ct=7B1=7D=22,
web=5B0=5D,
web=5B1=5D
); =
*/ MessageDialog md =3D new MessageDialog (this,
DialogFlags.DestroyWithParent,
MessageType.Info,
ButtonsType.Ok, =
AuthorStringBuild.ToString()
);
=
int result =3D md.Run ();
md.Hide();
md.Destroy();
=7D
-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Tool=
bar...
Web/Wap : www.netcourrier.com
T=E9l=E9phone/Fax : 08 92 69 00 21 (0,34 =80 TTC/min)
Minitel: 3615 NETCOURRIER (0,16 =80 TTC/min)