Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added a few checks for the host app's preference menu item so that Cl…

…ickToFlash's menu item more reliably goes in the right place
  • Loading branch information...
commit 9282a9bda6c01ea2432bc96ae054d5394ec85c6a 1 parent b0d67d0
Simone Manganelli authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 Plugin/CTFMenubarMenuController.m
4 Plugin/CTFMenubarMenuController.m
@@ -95,7 +95,9 @@ - (int) applicationMenuPrefsInsertionLocation
95 95
96 96 NSMenuItem* item = [ applicationMenu itemAtIndex: i ];
97 97
98   - if( [ item action ] == @selector( showPreferences: ) )
  98 + if( [ item action ] == @selector( showPreferences: )
  99 + || [ item action ] == @selector( showPreferencePanel: )
  100 + || [ item action ] == @selector( showPreferencesPanel: ) )
99 101 showPrefsItem = i;
100 102
101 103 if( showPrefsItem >= 0 && [ item isSeparatorItem ] ) {

0 comments on commit 9282a9b

Please sign in to comment.
Something went wrong with that request. Please try again.