Frameworks/Adium Framework/Source/AIColorPickerSliders.m
branchadium-1.5.10.5
changeset 6003 6e8c6761ee0d
parent 4897 5ea3bd51010d
equal deleted inserted replaced
6002:66aac3254a5d 6003:6e8c6761ee0d
    51  * We want to remove the key equivalents on that menu.
    51  * We want to remove the key equivalents on that menu.
    52  */
    52  */
    53 - (void)_setupProfileUI
    53 - (void)_setupProfileUI
    54 {
    54 {
    55 	//Must be sure to the original implementation
    55 	//Must be sure to the original implementation
    56 	method_invoke(self, class_getInstanceMethod([AIColorPickerSliders class], @selector(_setupProfileUI)));
    56     static void (*__setupProfileUI_method_invoke)(id, Method) = (void (*)(id, Method)) method_invoke;
       
    57 	__setupProfileUI_method_invoke(self, class_getInstanceMethod([AIColorPickerSliders class], @selector(_setupProfileUI)));
    57 
    58 
    58 	if (sliderModePopUp && [sliderModePopUp isKindOfClass:[NSPopUpButton class]]) {
    59 	if (sliderModePopUp && [sliderModePopUp isKindOfClass:[NSPopUpButton class]]) {
    59 		NSMenu			*menu = [sliderModePopUp menu];
    60 		NSMenu			*menu = [sliderModePopUp menu];
    60 		NSMenuItem		*menuItem;
    61 		NSMenuItem		*menuItem;
    61 		NSEnumerator	*enumerator;
    62 		NSEnumerator	*enumerator;