mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 12:00:33 +00:00
Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd
Monotone-Revision: 2ad8b0c019808014c990f51cc69c4457fdb537c6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-07-28T22:59:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
+9
-17
@@ -19,18 +19,13 @@
|
||||
02111-1307, USA.
|
||||
*/
|
||||
|
||||
#if LIB_FOUNDATION_LIBRARY
|
||||
# include <Foundation/exceptions/GeneralExceptions.h>
|
||||
#elif NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY
|
||||
# include <NGExtensions/NGObjectMacros.h>
|
||||
# include <NGExtensions/NSString+Ext.h>
|
||||
#endif
|
||||
#import <NGExtensions/NGExtensions.h>
|
||||
#import <NGObjWeb/NGObjWeb.h>
|
||||
#import <NGObjWeb/SoObjects.h>
|
||||
|
||||
#include <NGExtensions/NGExtensions.h>
|
||||
#include <NGObjWeb/NGObjWeb.h>
|
||||
#include <NGObjWeb/SoObjects.h>
|
||||
#import <SOGoUI/UIxComponent.h>
|
||||
|
||||
#include <SOGoUI/UIxComponent.h>
|
||||
#import <NGObjWeb/SoComponent.h>
|
||||
|
||||
@class NSArray, NSDictionary;
|
||||
|
||||
@@ -42,8 +37,6 @@
|
||||
}
|
||||
@end
|
||||
|
||||
#include <NGObjWeb/SoComponent.h>
|
||||
|
||||
@implementation UIxToolbar
|
||||
|
||||
- (void)dealloc {
|
||||
@@ -192,14 +185,13 @@
|
||||
return label;
|
||||
}
|
||||
|
||||
- (id) buttonImage {
|
||||
WOResourceManager *rm;
|
||||
- (id) buttonImage
|
||||
{
|
||||
NSString *image;
|
||||
|
||||
rm = [self pageResourceManager];
|
||||
image = [buttonInfo objectForKey: @"image"];
|
||||
if (image && [image length] > 0)
|
||||
image = [rm urlForResourceNamed: image];
|
||||
image = [self urlForResourceFilename: image];
|
||||
|
||||
return image;
|
||||
}
|
||||
@@ -213,7 +205,7 @@
|
||||
|
||||
if ((onOffKey = [[self buttonInfo] valueForKey:@"enabled"]) == nil)
|
||||
return YES;
|
||||
|
||||
|
||||
return [[[[self context] page] valueForKeyPath:onOffKey] boolValue];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user