summaryrefslogtreecommitdiffstats
path: root/bin/drakguard
diff options
context:
space:
mode:
Diffstat (limited to 'bin/drakguard')
-rwxr-xr-xbin/drakguard9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/drakguard b/bin/drakguard
index b42931a..05078a3 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -44,6 +44,9 @@ sub update_time_change {
gtkval_modify(\$allow_time_change, $enable && $time_control);
}
+$w->{ok_clicked} = \&save;
+$w->{cancel_clicked} = \&quit_gui;
+
gtkadd($w->{window},
gtknew('VBox', spacing => 5, children => [
$::isEmbedded ? () : (0, Gtk2::Banner->new($icon, $title)),
@@ -158,3 +161,9 @@ sub unwhitelist {
my @addr = @_;
list_remove_addr($whitelist->{data}, @addr);
}
+
+sub quit_gui() { Gtk2->main_quit }
+
+sub save {
+
+}