diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-26 11:33:18 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-26 11:33:18 +0000 |
commit | e586eaef2eadcf3eccbb6f81d33bf005081451f2 (patch) | |
tree | 91db75a6b0975cb7053b8449716be648416d19ff /Source/SPStringAdditions.m | |
parent | 0898dd7e4da0becb043f3ae3d37ccc4c0c13c44e (diff) | |
download | sequelpro-e586eaef2eadcf3eccbb6f81d33bf005081451f2.tar.gz sequelpro-e586eaef2eadcf3eccbb6f81d33bf005081451f2.tar.bz2 sequelpro-e586eaef2eadcf3eccbb6f81d33bf005081451f2.zip |
• Bundle Command support
- added shell var SP_ICON_FILE
- a bundle command which outputs its result as HTML window will write the data in the same window, ie it won't be create each time a new window; the window will be identified by the bundle's uuid
- fixed issue while saving a short-cut in keybinding.dict format, now it ignores possible diacritics - maybe bug in ShortcutRecorder for method [aRecorder keyCharsIgnoringModifiers] since in the objectValue it's set correctly
Diffstat (limited to 'Source/SPStringAdditions.m')
-rw-r--r-- | Source/SPStringAdditions.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m index 1185756b..907ebc05 100644 --- a/Source/SPStringAdditions.m +++ b/Source/SPStringAdditions.m @@ -507,6 +507,8 @@ NSMutableDictionary *theEnv = [NSMutableDictionary dictionary]; [theEnv setDictionary:shellEnvironment]; + [theEnv setObject:[[NSBundle mainBundle] pathForResource:@"appicon" ofType:@"icns"] forKey:@"SP_ICON_FILE"]; + // Create and set an unique process ID for each SPDatabaseDocument which has to passed // for each sequelpro:// scheme command as user to be able to identify the url scheme command. // Furthermore this id is used to communicate with the called command as file name. |