summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e35078)
raw | patch | inline | side by side (parent: 3e35078)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Wed, 27 Jun 2007 06:20:19 +0000 (06:20 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Wed, 27 Jun 2007 06:20:19 +0000 (06:20 +0000) |
Wow, working pretty well now. More updates and let's make this a little
bit cooler.
bit cooler.
src/extension/implementation/script.cpp | patch | blob | history |
index 8e813237bab680acc6133ada43ad6c40880ada17..2e0dd004e237c26dbe925adea34317a43c2252bc 100644 (file)
@@ -789,6 +789,17 @@ 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);
@@ -878,6 +889,9 @@ Script::effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *do
mydoc->release();
sp_namedview_update_layers_from_document(desktop);
}
+
+ working.hide();
+ return;
}