Re: Multiple lines in statusbar
- From: Egon Andersen <post talura dk>
- To: gtk-list <gtk-list gnome org>
- Subject: Re: Multiple lines in statusbar
- Date: Fri, 29 Apr 2005 10:27:01 +0200
stian nixia no wrote:
And in fact if you open a file in text-mode on Windows, \n is converted
to CR+LF - that is one of the ideas behind using "\n" and text-mode.
So I can't really see why "\n" should not be correct when I write a
string to the statusbar, just as well as it works correct when it is a
label.
And it is a disaster for portability, if "\n" should be "\r\n" on
Windows and even something else on Mac.
Did you test it, just to sort out if the issue is the \n not automatically
being translated into \r\n or not.
I've just tried to insert "\r\n" - now I see two squares (fallback
characters).
So it seems that statusbar on Windows has some problems handling both
"\r" and "\n"!
Best regards
Egon Andersen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]