summaryrefslogtreecommitdiff
path: root/gui_callbacks.pm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-02-20 19:27:50 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-02-20 19:27:50 (GMT)
commit9a10f30cdb0484bfbff270d214dc05b862072dc7 (patch)
treeeeb12070b1df3e187bf99e3156a55a9880b3143b /gui_callbacks.pm
parent6ebda554bb37c1a08f16ff80ba0fa504c601ae35 (diff)
added gui signals callbacks
git-svn-id: https://svn.helsinki.at/rhimport/trunk@7 7c65635b-ec39-4f67-a626-873dbafdd612
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;