mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 14:29:31 +00:00
* Use DuckDuckGo favicon service There are multiple ways of how favicon of a website can be published: - Have a `favicon.ico` file under the website root - Set through `<link rel="shortcut icon" href="..." />` tag - Set through `<link rel="icon" href="..." />` tag, or - Set through platform-specific tags like `<link rel="apple-touch-icon" href="..." />` Current implementation only supports first option, which does not work in many cases. Instead of implementing favicon fetching logic from scratch, favicon fetching services can be used. There are multiple of them, e.g.: - https://icons.duckduckgo.com/ip3/www.google.com.ico - https://www.google.com/s2/favicons?domain=www.google.com This change switched from fetching favicon from the original host to DuckDuckGo. * Create UX for favicon download method preferences * Add preferences for favicon download method * Adjust preferences window location Also, sort localized resources Co-authored-by: Alex Rakov <alexander-rakov@users.noreply.github.com>
43 lines
1.8 KiB
Objective-C
43 lines
1.8 KiB
Objective-C
//
|
|
// MPGeneralSettingsController.h
|
|
// MacPass
|
|
//
|
|
// Created by Michael Starke on 23.07.12.
|
|
// Copyright (c) 2012 HicknHack Software GmbH. All rights reserved.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
//
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "MPViewController.h"
|
|
#import "MPPreferencesTab.h"
|
|
|
|
@interface MPGeneralPreferencesController : MPViewController <MPPreferencesTab>
|
|
|
|
@property (strong) IBOutlet NSButton *clearPasteboardOnQuitCheckButton;
|
|
@property (strong) IBOutlet NSPopUpButton *clearPasteboardTimeoutPopup;
|
|
@property (strong) IBOutlet NSButton *preventUniversalClipboardSupportCheckButton;
|
|
@property (strong) IBOutlet NSPopUpButton *idleTimeOutPopup;
|
|
@property (strong) IBOutlet NSButton *lockOnSleepCheckButton;
|
|
@property (strong) IBOutlet NSButton *lockOnLogoutCheckButton;
|
|
@property (strong) IBOutlet NSButton *lockOnScreenSleepCheckButton;
|
|
@property (strong) IBOutlet NSButton *reopenLastDatabase;
|
|
@property (strong) IBOutlet NSButton *enableAutosaveCheckButton;
|
|
@property (strong) IBOutlet NSButton *rememberKeyFileCheckButton;
|
|
@property (strong) IBOutlet NSPopUpButton *fileChangeStrategyPopup;
|
|
@property (strong) IBOutlet NSPopUpButton *faviconDownloadMethodPopup;
|
|
|
|
@end
|