Fix theme panel problem

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24602 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-02-16 12:05:36 +00:00
parent 054846e3ea
commit 0785a06a28
2 changed files with 3 additions and 0 deletions

View file

@ -612,9 +612,11 @@ new_label (NSString *value)
f.origin.y = tmp_b - 25 - f.size.height;
tmp_b = f.origin.y;
[cv addSubview: themeLabel];
[themeLabel setEnabled: YES];
[themeLabel setFrame: f];
[themeLabel setTarget: [GSTheme class]];
[themeLabel setAction: @selector(orderFrontSharedThemePanel:)];
[themeLabel sendActionOn: NSLeftMouseUpMask];
[self center];
return self;