From 6094eb1ecb8b03d2c8a31026804d1df0939abcd3 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 27 Jun 2007 06:20:33 +0000 Subject: r15379@tres: ted | 2007-05-09 19:13:37 -0700 Moving the dialog one step out and adding a cancel event. (bzr r3121) --- src/extension/implementation/script.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/extension/implementation/script.cpp') diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 2e0dd004e..b5e995b65 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -789,17 +789,6 @@ Script::effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *do return; } - gchar * dlgmessage = g_strdup_printf(_("The effect '%s' is working on your document. Please wait."), module->get_name()); - - Gtk::MessageDialog working(dlgmessage, - false, // use markup - Gtk::MESSAGE_INFO, - Gtk::BUTTONS_CANCEL, - true); // modal - g_free(dlgmessage); - working.show(); - - gchar *tmpname; // FIXME: process the GError instead of passing NULL gint tempfd_in = g_file_open_tmp("ink_ext_XXXXXX", &tmpname, NULL); @@ -890,7 +879,6 @@ Script::effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *do sp_namedview_update_layers_from_document(desktop); } - working.hide(); return; } -- cgit v1.2.3