mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +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
68fc762180
commit
740307b774
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
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:
|
||||
NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now
|
||||
complies to NSCoding
|
||||
|
|
|
@ -668,7 +668,7 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
/* Other stuff we need to do for deferred windows */
|
||||
if (_windowTitle != nil)
|
||||
DPStitlewindow(GSCurrentContext(), [_windowTitle cString], _windowNum);
|
||||
DPStitlewindow(GSCurrentContext(), [_windowTitle lossyCString], _windowNum);
|
||||
if (!NSEqualSizes(_minimumSize, NSZeroSize))
|
||||
[self setMinSize: _minimumSize];
|
||||
if (!NSEqualSizes(_maximumSize, NSZeroSize))
|
||||
|
@ -860,7 +860,7 @@ static NSNotificationCenter *nc = nil;
|
|||
ASSIGN(_windowTitle, aString);
|
||||
[self setMiniwindowTitle: aString];
|
||||
if (_windowNum > 0)
|
||||
DPStitlewindow(GSCurrentContext(), [aString cString], _windowNum);
|
||||
DPStitlewindow(GSCurrentContext(), [aString lossyCString], _windowNum);
|
||||
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
||||
{
|
||||
[NSApp changeWindowsItem: self
|
||||
|
@ -881,7 +881,7 @@ static NSNotificationCenter *nc = nil;
|
|||
ASSIGN(_windowTitle, aString);
|
||||
[self setMiniwindowTitle: aString];
|
||||
if (_windowNum > 0)
|
||||
DPStitlewindow(GSCurrentContext(), [aString cString], _windowNum);
|
||||
DPStitlewindow(GSCurrentContext(), [aString lossyCString], _windowNum);
|
||||
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
||||
{
|
||||
[NSApp changeWindowsItem: self
|
||||
|
|
Loading…
Reference in a new issue