Skip to content

Commit

Permalink
Add more internal commands for opening prefs. Fixes #1448
Browse files Browse the repository at this point in the history
  • Loading branch information
pjrobertson committed Mar 31, 2013
1 parent 2f00a5a commit 0d8830e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
1 change: 1 addition & 0 deletions Quicksilver/Code-App/QSController.h
Expand Up @@ -24,6 +24,7 @@
- (NSProgressIndicator *)progressIndicator;
- (IBAction)showPreferences:(id)sender;
- (IBAction)showGuide:(id)sender;
- (IBAction)showPlugins:(id)sender;
- (IBAction)showSettings:(id)sender;
- (IBAction)showCatalog:(id)sender;
- (IBAction)showTriggers:(id)sender;
Expand Down
1 change: 1 addition & 0 deletions Quicksilver/Code-App/QSController.m
Expand Up @@ -242,6 +242,7 @@ - (IBAction)sendReleaseAll:(id)sender { [[NSNotificationCenter defaultCenter] po
- (IBAction)showGuide:(id)sender { [QSPreferencesController showPaneWithIdentifier:@"QSMainMenuPrefPane"]; }
- (IBAction)showSettings:(id)sender { [QSPreferencesController showPaneWithIdentifier:@"QSSettingsPanePlaceholder"]; }
- (IBAction)showCatalog:(id)sender { [QSPreferencesController showPaneWithIdentifier:@"QSCatalogPrefPane"]; }
- (IBAction)showPlugins:(id)sender { [QSPreferencesController showPaneWithIdentifier:@"QSPlugInsPrefPane"]; }
- (IBAction)showTriggers:(id)sender { [QSPreferencesController showPaneWithIdentifier:@"QSTriggersPrefPane"]; }
- (IBAction)showHelp:(id)sender { [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:kHelpURL]]; }
- (IBAction)getMorePlugIns:(id)sender { [QSPlugInsPrefPane getMorePlugIns]; }
Expand Down
42 changes: 33 additions & 9 deletions Quicksilver/PropertyLists/QSRegistration.plist
Expand Up @@ -39,7 +39,33 @@
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>QS Catalog</string>
<string>Show Catalog Preferences</string>
<key>runInMainThread</key>
<true/>
</dict>
<key>QSPluginsShowMessage</key>
<dict>
<key>actionClass</key>
<string>QSController</string>
<key>actionSelector</key>
<string>showPlugins:</string>
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>Show Plugins Preferences</string>
<key>runInMainThread</key>
<true/>
</dict>
<key>QSGuideShowMessage</key>
<dict>
<key>actionClass</key>
<string>QSController</string>
<key>actionSelector</key>
<string>showGuide:</string>
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>Show Guide</string>
<key>runInMainThread</key>
<true/>
</dict>
Expand All @@ -52,7 +78,7 @@
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>QS Check for Update</string>
<string>Check for Quicksilver Update</string>
<key>runInMainThread</key>
<true/>
</dict>
Expand All @@ -76,7 +102,7 @@
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>QS Command Window</string>
<string>Show Command Window</string>
<key>runInMainThread</key>
<true/>
</dict>
Expand All @@ -96,15 +122,13 @@
<key>QSPreferencesShowMessage</key>
<dict>
<key>actionClass</key>
<string>QSPreferencesController</string>
<string>QSController</string>
<key>actionSelector</key>
<string>showPrefs</string>
<key>classMethod</key>
<true/>
<string>showSettings:</string>
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>QS Preferences</string>
<string>Show Preferences</string>
</dict>
<key>QSRescanCatalogMessage</key>
<dict>
Expand All @@ -126,7 +150,7 @@
<key>icon</key>
<string>Quicksilver</string>
<key>name</key>
<string>QS Triggers</string>
<string>Show Triggers Preferences</string>
<key>runInMainThread</key>
<true/>
</dict>
Expand Down

0 comments on commit 0d8830e

Please sign in to comment.