mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-03 05:50:43 +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
054846e3ea
commit
0785a06a28
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
menu items overwriting menu border.
|
menu items overwriting menu border.
|
||||||
* Source/NSMenuView.m: use menubar font size to calculate menubar
|
* Source/NSMenuView.m: use menubar font size to calculate menubar
|
||||||
height.
|
height.
|
||||||
|
* Source/GSInfoPanel.m: send theme panel action for click on theme.
|
||||||
|
|
||||||
2007-02-16 Sergii Stoian <stoyan255@gmail.com>
|
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;
|
f.origin.y = tmp_b - 25 - f.size.height;
|
||||||
tmp_b = f.origin.y;
|
tmp_b = f.origin.y;
|
||||||
[cv addSubview: themeLabel];
|
[cv addSubview: themeLabel];
|
||||||
|
[themeLabel setEnabled: YES];
|
||||||
[themeLabel setFrame: f];
|
[themeLabel setFrame: f];
|
||||||
[themeLabel setTarget: [GSTheme class]];
|
[themeLabel setTarget: [GSTheme class]];
|
||||||
[themeLabel setAction: @selector(orderFrontSharedThemePanel:)];
|
[themeLabel setAction: @selector(orderFrontSharedThemePanel:)];
|
||||||
|
[themeLabel sendActionOn: NSLeftMouseUpMask];
|
||||||
|
|
||||||
[self center];
|
[self center];
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue