mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Settings update: Add UpdateManagerSettings to SettingsObjectWrapper
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4f2057cd30
commit
5c8b87b5fd
3 changed files with 89 additions and 4 deletions
|
@ -43,6 +43,12 @@ enum deco_mode {
|
|||
VPMB
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
bool dont_check_for_updates;
|
||||
char *last_version_used;
|
||||
char *next_check;
|
||||
} update_manager_prefs_t;
|
||||
|
||||
struct preferences {
|
||||
const char *divelist_font;
|
||||
const char *default_filename;
|
||||
|
@ -134,6 +140,7 @@ struct preferences {
|
|||
bool git_local_only;
|
||||
short cloud_timeout;
|
||||
locale_prefs_t locale; //: TODO: move the rest of locale based info here.
|
||||
update_manager_prefs_t update_manager;
|
||||
};
|
||||
enum unit_system_values {
|
||||
METRIC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue