summaryrefslogtreecommitdiffstats
path: root/draksnapshot-config
diff options
context:
space:
mode:
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-xdraksnapshot-config6
1 files changed, 4 insertions, 2 deletions
diff --git a/draksnapshot-config b/draksnapshot-config
index ce76d20..14c7b3f 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -42,6 +42,8 @@ ugtk2::add_icon_path("/usr/share/draksnapshot/pixmaps/");
######### read config
+my $product_id = common::parse_LDAP_namespace_structure(cat_("$root/etc/product.id"));
+
my @ordered_intervals = qw(hourly daily weekly monthly);
my ($backup_list, $exclude_list) = map {
@@ -178,8 +180,8 @@ gtkadd($my_win->{window},
} @ordered_intervals
])),
0, gtknew('HButtonBox', layout => 'start', border_width => 5, spacing => 5, children_loose => [
- $button = gtknew('Install_Button', text => N("Advanced"),
- clicked => sub { $d_window->show }),
+ $button = gtknew($product_id->{version} =~ /200[6-8]/ ? 'Button' : 'Install_Button',
+ text => N("Advanced"), clicked => sub { $d_window->show }),
]),
]),
0, gtknew('HButtonBox', layout => 'end', border_width => 5, spacing => 5, children_loose => [