mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
b4441a1798
commit
0bf2d2fb4d
2 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue