summaryrefslogtreecommitdiff
path: root/gui_callbacks.pm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-02-20 22:37:38 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-02-20 22:37:38 (GMT)
commit9b61ccddc84789af2656a9827fb65648506bc650 (patch)
tree0ab16e018b535dab5c31ee1354271be68029ff4a /gui_callbacks.pm
parent279ed0997adda2200d0fd2d62229e8885b17bdb7 (diff)
added dropbox parameter
gui has now same capability as command line
Diffstat (limited to 'gui_callbacks.pm')
-rw-r--r--gui_callbacks.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gui_callbacks.pm b/gui_callbacks.pm
index 2817b65..5675000 100644
--- a/gui_callbacks.pm
+++ b/gui_callbacks.pm
@@ -25,9 +25,18 @@ use strict;
package gui_callbacks;
-sub on_exit()
+sub on_exit
{
+ my ($widget, $data) = @_;
+
Gtk2->main_quit;
}
+sub on_b_ok_clicked
+{
+ my ($widget, $data) = @_;
+
+ ::start_import_gui();
+}
+
1;