summaryrefslogtreecommitdiff
path: root/gui_callbacks.pm
diff options
context:
space:
mode:
Diffstat (limited to 'gui_callbacks.pm')
-rw-r--r--gui_callbacks.pm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gui_callbacks.pm b/gui_callbacks.pm
new file mode 100644
index 0000000..2817b65
--- /dev/null
+++ b/gui_callbacks.pm
@@ -0,0 +1,33 @@
+#!/usr/bin/perl -w
+#
+#
+# rhdropbox
+#
+# Copyright (C) 2009 Christian Pointner <equinox@helsinki.at>
+#
+# This file is part of rhdropbox.
+#
+# rhdropbox is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# any later version.
+#
+# rhdropbox is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with rhdropbox. If not, see <http://www.gnu.org/licenses/>.
+#
+
+use strict;
+
+package gui_callbacks;
+
+sub on_exit()
+{
+ Gtk2->main_quit;
+}
+
+1;