mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 09:22:07 +00:00
Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
([NSWindow -setTitle:]): ([NSWindow -_initBackendWindow:]): changed cString into lossyCString during DPStitlewindow calls git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0c19c58a52
commit
3dbebb3faa
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
||||||
2001-12-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
2001-12-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||||
|
|
||||||
|
* Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
|
||||||
|
([NSWindow -setTitle:]):
|
||||||
|
([NSWindow -_initBackendWindow:]):
|
||||||
|
changed cString into lossyCString during DPStitlewindow calls
|
||||||
* Source/NSBrowser.m:
|
* Source/NSBrowser.m:
|
||||||
NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now
|
NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now
|
||||||
complies to NSCoding
|
complies to NSCoding
|
||||||
|
|
|
@ -668,7 +668,7 @@ static NSNotificationCenter *nc = nil;
|
||||||
|
|
||||||
/* Other stuff we need to do for deferred windows */
|
/* Other stuff we need to do for deferred windows */
|
||||||
if (_windowTitle != nil)
|
if (_windowTitle != nil)
|
||||||
DPStitlewindow(GSCurrentContext(), [_windowTitle cString], _windowNum);
|
DPStitlewindow(GSCurrentContext(), [_windowTitle lossyCString], _windowNum);
|
||||||
if (!NSEqualSizes(_minimumSize, NSZeroSize))
|
if (!NSEqualSizes(_minimumSize, NSZeroSize))
|
||||||
[self setMinSize: _minimumSize];
|
[self setMinSize: _minimumSize];
|
||||||
if (!NSEqualSizes(_maximumSize, NSZeroSize))
|
if (!NSEqualSizes(_maximumSize, NSZeroSize))
|
||||||
|
@ -860,7 +860,7 @@ static NSNotificationCenter *nc = nil;
|
||||||
ASSIGN(_windowTitle, aString);
|
ASSIGN(_windowTitle, aString);
|
||||||
[self setMiniwindowTitle: aString];
|
[self setMiniwindowTitle: aString];
|
||||||
if (_windowNum > 0)
|
if (_windowNum > 0)
|
||||||
DPStitlewindow(GSCurrentContext(), [aString cString], _windowNum);
|
DPStitlewindow(GSCurrentContext(), [aString lossyCString], _windowNum);
|
||||||
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
||||||
{
|
{
|
||||||
[NSApp changeWindowsItem: self
|
[NSApp changeWindowsItem: self
|
||||||
|
@ -881,7 +881,7 @@ static NSNotificationCenter *nc = nil;
|
||||||
ASSIGN(_windowTitle, aString);
|
ASSIGN(_windowTitle, aString);
|
||||||
[self setMiniwindowTitle: aString];
|
[self setMiniwindowTitle: aString];
|
||||||
if (_windowNum > 0)
|
if (_windowNum > 0)
|
||||||
DPStitlewindow(GSCurrentContext(), [aString cString], _windowNum);
|
DPStitlewindow(GSCurrentContext(), [aString lossyCString], _windowNum);
|
||||||
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
||||||
{
|
{
|
||||||
[NSApp changeWindowsItem: self
|
[NSApp changeWindowsItem: self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue