summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f57cdef)
raw | patch | inline | side by side (parent: f57cdef)
author | scislac <scislac@users.sourceforge.net> | |
Thu, 25 Jan 2007 21:46:30 +0000 (21:46 +0000) | ||
committer | scislac <scislac@users.sourceforge.net> | |
Thu, 25 Jan 2007 21:46:30 +0000 (21:46 +0000) |
src/tools-switch.cpp | patch | blob | history |
diff --git a/src/tools-switch.cpp b/src/tools-switch.cpp
index d42354e8dae86083fc4e7cca0ebeafe84a02c1b2..017aed979e26d66bbdc0437e6121f13fcb45e716 100644 (file)
--- a/src/tools-switch.cpp
+++ b/src/tools-switch.cpp
* Utility functions for switching tools (= contexts)
*
* Authors:
- * bulia byak <bulia@dr.com>
+ * bulia byak <buliabyak@users.sf.net>
+ * Josh Andler <scislac@users.sf.net>
*
- * Copyright (C) 2003 authors
+ * Copyright (C) 2003-2007 authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "zoom-context.h"
#include "dropper-context.h"
#include "connector-context.h"
+#include "sp-offset.h"
#include "message-context.h"
#include "tools-switch.h"
}
} else if (SP_IS_TEXT(item) || SP_IS_FLOWTEXT(item)) {
tools_switch(dt, TOOLS_TEXT);
+ } else if (SP_IS_OFFSET(item)) {
+ tools_switch(dt, TOOLS_NODES);
}
}