Implement desktop menus and shortcuts
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
use std::{error::Error, fmt, path::Path};
|
||||
|
||||
use crate::{
|
||||
authentication::{NativeAuthenticationHandle, NativeAuthenticationSession},
|
||||
authentication::{
|
||||
AuthenticationTimeout, NativeAuthenticationHandle, NativeAuthenticationSession,
|
||||
},
|
||||
config::Config,
|
||||
crypto::{KeyInfo, KeyStore, SecretProvider},
|
||||
document::{DocumentError, EntryDocument, EntryDocumentService},
|
||||
@@ -111,6 +113,10 @@ impl DesktopStorage {
|
||||
self.config.clipboard_timeout()
|
||||
}
|
||||
|
||||
pub fn authentication_timeout(&self) -> AuthenticationTimeout {
|
||||
self.config.authentication_timeout()
|
||||
}
|
||||
|
||||
pub fn tree(&self) -> Result<TreeModel, DesktopError> {
|
||||
let repository = self.repository()?;
|
||||
let keys = self.keys()?;
|
||||
|
||||
Reference in New Issue
Block a user