diff options
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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; |