mirror of
https://github.com/alexkay/spek.git
synced 2025-04-22 03:10:29 +03:00
Read/save the check_update preference
This commit is contained in:
parent
954bf89417
commit
1d2d280f5e
@ -60,6 +60,9 @@ namespace Spek {
|
||||
language_box.pack_start (language_combo, false, false, 0);
|
||||
general_subbox.pack_start(language_box, false, false, 0);
|
||||
var check_update = new CheckButton.with_mnemonic (_("Check for _updates"));
|
||||
check_update.active = prefs.check_update;
|
||||
check_update.toggled.connect (
|
||||
() => prefs.check_update = check_update.active);
|
||||
general_subbox.pack_start (check_update, false, false, 0);
|
||||
general_alignment.add (general_subbox);
|
||||
general_box.pack_start (general_alignment, false, false, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user