summaryrefslogtreecommitdiff
path: root/rhimport
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-04-22 16:28:59 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-04-22 16:28:59 (GMT)
commit02f3f3b70ac57283fc6a19c1ccd57d1c948a7b7e (patch)
tree34fc4d4d05b9888210b6c0fd24a95420522bc3d4 /rhimport
parent3548109f4d60a8f1e8a2257e8823413352227b9b (diff)
added (commentet) show log button
Diffstat (limited to 'rhimport')
-rwxr-xr-xrhimport11
1 files changed, 10 insertions, 1 deletions
diff --git a/rhimport b/rhimport
index 1ef55d3..64694f4 100755
--- a/rhimport
+++ b/rhimport
@@ -282,14 +282,23 @@ sub start_import_gui()
$l_status->set_label("Fehler beim Importieren");
$dialog = Gtk2::MessageDialog->new ($parent_window, 'destroy-with-parent',
'error', 'ok', "Fehler beim Importieren.");
+# $dialog->add_button("Log anzeigen", 1);
} else {
$l_status->set_label("");
$dialog = Gtk2::MessageDialog->new ($parent_window, 'destroy-with-parent',
'info', 'ok', "Der Import wurde erfolgreich abgeschlossen!");
+# $dialog->add_button("Log anzeigen", 1);
}
- $dialog->run;
+ my $response = $dialog->run;
$dialog->destroy;
+# if($response == 1) {
+# $dialog = Gtk2::MessageDialog->new ($parent_window, 'destroy-with-parent',
+# 'info', 'ok', $log);
+# $dialog->run;
+# $dialog->destroy;
+# }
+
$b_apply->set_sensitive(1);
$b_close->set_sensitive(1);
return $ret;