mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:40:47 +00:00
Add trivial debug for tracking activation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
47cf8f490b
commit
f59617c25d
1 changed files with 5 additions and 1 deletions
|
@ -264,10 +264,11 @@ typedef struct {
|
||||||
if (theme != theTheme)
|
if (theme != theTheme)
|
||||||
{
|
{
|
||||||
[theTheme deactivate];
|
[theTheme deactivate];
|
||||||
|
DESTROY(currentThemeName);
|
||||||
ASSIGN (theTheme, theme);
|
ASSIGN (theTheme, theme);
|
||||||
[theTheme activate];
|
[theTheme activate];
|
||||||
|
ASSIGN(currentThemeName, [theTheme name]);
|
||||||
}
|
}
|
||||||
ASSIGN(currentThemeName, [theTheme name]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (GSTheme*) theme
|
+ (GSTheme*) theme
|
||||||
|
@ -287,6 +288,7 @@ typedef struct {
|
||||||
NSWindow *window;
|
NSWindow *window;
|
||||||
GSThemeControlState state;
|
GSThemeControlState state;
|
||||||
|
|
||||||
|
NSDebugMLLog(@"GSTheme", @"%@ %p", [self name], self);
|
||||||
/* Get rid of any cached colors list so that we regenerate it when needed
|
/* Get rid of any cached colors list so that we regenerate it when needed
|
||||||
*/
|
*/
|
||||||
[_colors release];
|
[_colors release];
|
||||||
|
@ -540,6 +542,8 @@ typedef struct {
|
||||||
NSEnumerator *enumerator;
|
NSEnumerator *enumerator;
|
||||||
NSImage *image;
|
NSImage *image;
|
||||||
|
|
||||||
|
NSDebugMLLog(@"GSTheme", @"%@ %p", [self name], self);
|
||||||
|
|
||||||
/* Tell everything that we will become inactive.
|
/* Tell everything that we will become inactive.
|
||||||
*/
|
*/
|
||||||
[[NSNotificationCenter defaultCenter]
|
[[NSNotificationCenter defaultCenter]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue