mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* Tools/pl2link.m (main): Don't write deprecated fields to desktop
link file. Patch by: Josh Freeman <gnustep_lists@twilightedge.com>
This commit is contained in:
parent
5c7713cacc
commit
f5684496a2
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2018-04-10 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Tools/pl2link.m (main): Don't write deprecated fields to desktop
|
||||
link file.
|
||||
Patch by: Josh Freeman <gnustep_lists@twilightedge.com>
|
||||
|
||||
2018-04-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure: regenerate
|
||||
|
|
|
@ -101,7 +101,7 @@ main(int argc, char** argv, char **env)
|
|||
|
||||
fileContents = [NSMutableString stringWithCapacity: 200];
|
||||
[fileContents appendString:
|
||||
@"[Desktop Entry]\nEncoding=UTF-8\nType=Application\n"];
|
||||
@"[Desktop Entry]\nType=Application\n"];
|
||||
list = [plist objectForKey: @"FreeDesktopCategories"];
|
||||
if (list != nil && [list isKindOfClass: [NSArray class]] && [list count] > 0)
|
||||
{
|
||||
|
@ -216,7 +216,6 @@ main(int argc, char** argv, char **env)
|
|||
execPath = [NSString stringWithCString: line
|
||||
encoding: NSASCIIStringEncoding];
|
||||
[fileContents appendFormat: @"Exec=%@ %@\n", execPath, entry];
|
||||
[fileContents appendFormat: @"FilePattern=%@.app;%@;\n", entry, entry];
|
||||
}
|
||||
|
||||
list = [plist objectForKey: @"NSTypes"];
|
||||
|
|
Loading…
Reference in a new issue