diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-02 11:00:37 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-02 11:00:37 +0200 |
commit | 6720e3e361b89e5a425f4eb2cbb4c7edff884cb3 (patch) | |
tree | a138c56ef96bfd5d51e17dcee87f5c0e0293c9c8 | |
parent | ea3b78d47a1b4a6f5d7419fd414edbe59ad35bca (diff) | |
download | draksnapshot-6720e3e361b89e5a425f4eb2cbb4c7edff884cb3.tar draksnapshot-6720e3e361b89e5a425f4eb2cbb4c7edff884cb3.tar.gz draksnapshot-6720e3e361b89e5a425f4eb2cbb4c7edff884cb3.tar.bz2 draksnapshot-6720e3e361b89e5a425f4eb2cbb4c7edff884cb3.tar.xz draksnapshot-6720e3e361b89e5a425f4eb2cbb4c7edff884cb3.zip |
Add back Number of snapshots to keep stored, which was on our version but not on our backup git
-rw-r--r-- | draksnapshot-config | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/draksnapshot-config b/draksnapshot-config index 9982fe1..9d0f485 100644 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -175,8 +175,17 @@ gtkadd($my_win->{window}, }, ), ]), - - + if_(0, 0, gtknew('Title2', label => N("Number of snapshots to keep stored")), + 0, gtknew('Table', col_spacings => 10, row_spacings => 5, homogeneous => 1, children => [ + map { + [ + gtknew('Label_Left', text => $interval_titles{$_}), + $entries{$_} = gtknew('SpinButton', value => $default_intervals{$_}, lower => 0, upper => 100, + tip => N("The number of snapshots for this type of interval (\"%s\") that will be stored", $_) + ) + ]; + } @ordered_intervals + ])), 0, gtknew('HButtonBox', layout => 'start', border_width => 5, spacing => 5, children_loose => [ # does not exist before 2009.0, if you need it, you can revert to Button type if needed ( CS4 ) $button = gtknew('Install_Button', |