summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1691fc9)
raw | patch | inline | side by side (parent: 1691fc9)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Sat, 1 Sep 2007 04:34:09 +0000 (04:34 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Sat, 1 Sep 2007 04:34:09 +0000 (04:34 +0000) |
Removing some debug messages.
src/extension/execution-env.cpp | patch | blob | history | |
src/extension/prefdialog.cpp | patch | blob | history |
index 88cd1af7df30bef1cf00ce804dc64608702f7a90..666270d5fdd3fdd6e7dd10a94e33e7442613e99c 100644 (file)
Glib::ustring selected_id;
selected_id = SP_OBJECT_ID(*selected);
_selected.insert(_selected.end(), selected_id);
- std::cout << "Selected: " << selected_id << std::endl;
+ //std::cout << "Selected: " << selected_id << std::endl;
++selected;
}
}
void
ExecutionEnv::createWorkingDialog (void) {
- printf("Create working dialog. doc: %X\n", _doc);
if (_visibleDialog != NULL) {
delete _visibleDialog;
}
void
ExecutionEnv::reselect (void) {
- printf("A doc: %X\n", _doc);
if (_doc == NULL) { return; }
SPDocument * doc = _doc->doc();
if (doc == NULL) { return; }
- printf("B doc: %X\n", _doc);
SPDesktop *desktop = (SPDesktop *)_doc;
sp_namedview_document_from_window(desktop);
if (desktop == NULL) { return; }
- printf("C doc: %X\n", _doc);
Inkscape::Selection * selection = sp_desktop_selection(desktop);
- printf("D doc: %X\n", _doc);
for (std::list<Glib::ustring>::iterator i = _selected.begin(); i != _selected.end(); i++) {
- printf("E %s doc: %X\n", i->c_str(), _doc);
SPObject * obj = doc->getObjectById(i->c_str());
- printf("F %s doc: %X\n", i->c_str(), _doc);
if (obj != NULL) {
selection->add(obj);
}
processingComplete();
}
if (_canceled) {
- printf("Canceling the document doc: %X\n", _doc);
sp_document_cancel(_doc->doc());
- printf("Reselecting doc: %X\n", _doc);
reselect();
}
}
- printf("Execution environment done running\n");
if (_selfdelete) {
delete this;
}
void
ExecutionEnv::shutdown (bool del) {
- printf("Shutting down Execution Environment\n");
if (_humanWait) {
_mainloop->quit();
} else {
index 5fdb20530a0c9de77ad0797a681db9d61f683bc5..7da2a9e2940a6ec9569ef9c43dec49cf41dc1e6d 100644 (file)
void
PrefDialog::on_response (int signal) {
+ //printf("Got signal %d\n", signal);
if (!_param_pinned->get_bool(NULL, NULL)) {
// Not my job if we're not pinned
// It's the execution environment's job