summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c488af)
raw | patch | inline | side by side (parent: 0c488af)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 28 Jan 2009 23:35:00 +0000 (23:35 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 28 Jan 2009 23:35:00 +0000 (23:35 +0000) |
src/file.cpp | patch | blob | history |
diff --git a/src/file.cpp b/src/file.cpp
index 95c4d22cac4141fc9221c7ef0594c6ca5189127e..5c729eeeb65b1032a8c61cb0ca255d6bdbcad34a 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
Inkscape::Extension::Extension *key,
bool add_to_recent, bool replace_empty)
{
+ SPDesktop *desktop = SP_ACTIVE_DESKTOP;
+ if (desktop)
+ desktop->setWaitingCursor();
+
SPDocument *doc = NULL;
try {
doc = Inkscape::Extension::open(key, uri.c_str());
doc = NULL;
}
+ if (desktop)
+ desktop->clearWaitingCursor();
+
if (doc) {
- SPDesktop *desktop = SP_ACTIVE_DESKTOP;
SPDocument *existing = desktop ? sp_desktop_document(desktop) : NULL;
if (existing && existing->virgin && replace_empty) {