summaryrefslogtreecommitdiffstats
path: root/src/message-stack.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-07-27 04:55:07 +0000
committerJon A. Cruz <jon@joncruz.org>2011-07-27 04:55:07 +0000
commitadbc8efa025ad921775e3c171c3ce3bd7763d1ca (patch)
tree1f12f5d930e7d7b041a6e7ede8208516dd9d6060 /src/message-stack.cpp
parentupdate to cmake checker and add missing header. (diff)
downloadinkscape-adbc8efa025ad921775e3c171c3ce3bd7763d1ca.tar.gz
inkscape-adbc8efa025ad921775e3c171c3ce3bd7763d1ca.zip
Cleaning up trace methods to aid fixing color inversion.
(bzr r10507)
Diffstat (limited to '')
-rw-r--r--src/message-stack.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/message-stack.cpp b/src/message-stack.cpp
index d2101009e..c1669e3db 100644
--- a/src/message-stack.cpp
+++ b/src/message-stack.cpp
@@ -62,6 +62,12 @@ void MessageStack::cancel(MessageId id) {
}
}
+MessageId MessageStack::flash(MessageType type, Glib::ustring const &message)
+{
+ MessageId id = flash( type, message.c_str() );
+ return id;
+}
+
MessageId MessageStack::flash(MessageType type, gchar const *message) {
switch (type) {
case INFORMATION_MESSAGE: // stay rather long so as to seem permanent, but eventually disappear