Changeset 440 for trunk/ICeCoffEE
- Timestamp:
- 03/05/08 11:36:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m
r437 r440 350 350 351 351 NSMenuItem *ICCF_ContextualServicesMenuItem() { 352 // user key equivalents get populated in 10.4, not in 10.5 353 BOOL usesUserKeyEquivalents = [NSMenuItem usesUserKeyEquivalents]; 354 if (usesUserKeyEquivalents) { 355 ICCF_SetServicesMenu([NSApp servicesMenu]); // populate menubar menu with key equivalents 356 [NSMenuItem setUsesUserKeyEquivalents: NO]; 357 } 358 352 359 NSMenuItem *servicesItem = ICCF_ServicesMenuItem(); 360 361 if (usesUserKeyEquivalents) 362 [NSMenuItem setUsesUserKeyEquivalents: YES]; 363 353 364 NSDictionary *servicesInfo = ICCF_GetServicesInfo(); // XXX cache/retain 354 365 if (ICCF_ConsolidateServicesMenu([servicesItem submenu], (NSDictionary *)ICCF_prefs.serviceOptions, servicesInfo))
Note:
See TracChangeset
for help on using the changeset viewer.