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:
Richard Frith-MacDonald 2007-02-16 12:05:36 +00:00
parent b4441a1798
commit 0bf2d2fb4d
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
menu items overwriting menu border.
* Source/NSMenuView.m: use menubar font size to calculate menubar
height.
* Source/GSInfoPanel.m: send theme panel action for click on theme.
2007-02-16 Sergii Stoian <stoyan255@gmail.com>

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;