diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-07-27 04:55:07 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-07-27 04:55:07 +0000 |
| commit | adbc8efa025ad921775e3c171c3ce3bd7763d1ca (patch) | |
| tree | 1f12f5d930e7d7b041a6e7ede8208516dd9d6060 /src/message-stack.cpp | |
| parent | update to cmake checker and add missing header. (diff) | |
| download | inkscape-adbc8efa025ad921775e3c171c3ce3bd7763d1ca.tar.gz inkscape-adbc8efa025ad921775e3c171c3ce3bd7763d1ca.zip | |
Cleaning up trace methods to aid fixing color inversion.
(bzr r10507)
Diffstat (limited to 'src/message-stack.cpp')
| -rw-r--r-- | src/message-stack.cpp | 6 |
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 |
