aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface-gtk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interface-gtk.cpp')
-rw-r--r--interface-gtk.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-gtk.cpp b/interface-gtk.cpp
index d348a09..70b98b7 100644
--- a/interface-gtk.cpp
+++ b/interface-gtk.cpp
@@ -103,6 +103,14 @@ InterfaceGtk::vmsg(MessageType type, const gchar *fmt, va_list ap)
}
void
+InterfaceGtk::msg_clear(void)
+{
+ gtk_info_bar_set_message_type(GTK_INFO_BAR(info_widget),
+ GTK_MESSAGE_OTHER);
+ gtk_label_set_text(GTK_LABEL(message_widget), "");
+}
+
+void
InterfaceGtk::info_update(QRegister *reg)
{
gchar buf[255];