add some flesh to a gtk based console program
[spider.git] / cmd / unset / gtk.pl
diff --git a/cmd/unset/gtk.pl b/cmd/unset/gtk.pl
new file mode 100644 (file)
index 0000000..90b6cba
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# unset the gtk flag
+#
+# Copyright (c) 2006 - Dirk Koopman
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+my @out;
+$self->gtk(0);
+$self->enhanced(0);
+push @out, $self->msg('gtku', $self->call);
+return (1, @out);