mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
(feat) new SOGoHelpURL preference to set a custom URL for SOGo help (fixes #2768)
This commit is contained in:
1 parent
fee310908b
commit
916806cc2c
6 files changed
+29
-9
No files matched your search
@@ -112,20 +112,21 @@
|
||||
return (@"<!DOCTYPE html>");
|
||||
}
|
||||
|
||||
/* Help URL/target */
|
||||
|
||||
/* Help URL */
|
||||
- (NSString *) helpURL
|
||||
{
|
||||
return [NSString stringWithFormat: @"help/%@.html", title];
|
||||
}
|
||||
SOGoSystemDefaults *sd;
|
||||
NSString *s;
|
||||
|
||||
- (NSString *) helpWindowTarget
|
||||
{
|
||||
return [NSString stringWithFormat: @"Help_%@", title];
|
||||
sd = [SOGoSystemDefaults sharedSystemDefaults];
|
||||
|
||||
if ((s = [sd helpURL]))
|
||||
return s;
|
||||
|
||||
return @"";
|
||||
}
|
||||
|
||||
/* notifications */
|
||||
|
||||
- (void) sleep
|
||||
{
|
||||
[item release];
|
||||
|
||||
Reference in new issue
Block a user