* Source/NSApplication.m: Added overide for orderWindow:relativeTo:

in NSIconWindow.  Check for GSSuppressAppIcon and order the window
	ONLY if the app icon window is supposed to be displayed, otherwise
	do not do anything with it.   I observed issues with this
	functionality while testing the GNOME theme the app icon would 
	periodically show even when the default mentioned above was set to 
	YES.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31898 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2011-01-16 05:22:10 +00:00
parent a0f8d96890
commit fd4d577fa7
2 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,13 @@
2011-01-16 00:32-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSApplication.m: Added overide for orderWindow:relativeTo:
in NSIconWindow. Check for GSSuppressAppIcon and order the window
ONLY if the app icon window is supposed to be displayed, otherwise
do not do anything with it. I observed issues with this
functionality while testing the GNOME theme the app icon would
periodically show even when the default mentioned above was set to
YES.
2011-01-15 23:50-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSMenuView.m: Fix to previous change to

View file

@ -434,6 +434,16 @@ NSApplication *NSApp = nil;
return YES;
}
- (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWin
{
if ([[NSUserDefaults standardUserDefaults]
boolForKey: @"GSSuppressAppIcon"] == NO)
{
[super orderWindow: place relativeTo: otherWin];
}
}
- (void) _initDefaults
{
[super _initDefaults];