summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--draksnapshot-config13
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',