From 41d257b2ba4f3a995acdaa3b57bbe991e939d0e5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 22 Apr 2010 16:28:59 +0000 Subject: added (commentet) show log button git-svn-id: https://svn.helsinki.at/rhimport/trunk@55 7c65635b-ec39-4f67-a626-873dbafdd612 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; -- cgit v0.10.2