diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-02-20 19:27:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-02-20 19:27:50 (GMT) |
commit | b16e4a7e1dee8e879adfc7b34be434cbd7e4201e (patch) | |
tree | eeb12070b1df3e187bf99e3156a55a9880b3143b /gui_callbacks.pm | |
parent | 91abfb48911cccf345879ebd1e0b90f00c8a243b (diff) |
added gui signals callbacks
Diffstat (limited to 'gui_callbacks.pm')
-rw-r--r-- | gui_callbacks.pm | 33 |
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; |