summaryrefslogtreecommitdiffstats
path: root/src/message-stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message-stack.cpp')
-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