From fc21d509a921c334378dc2f67b7d377cd3d0c445 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 7 Jun 2021 09:26:36 +0200 Subject: [PATCH] lib/GtkUtil: Set label on toolbar_append_button() calls. --- libs/gtkutil/toolbar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gtkutil/toolbar.cpp b/libs/gtkutil/toolbar.cpp index fa7cc4f..303df4b 100644 --- a/libs/gtkutil/toolbar.cpp +++ b/libs/gtkutil/toolbar.cpp @@ -43,6 +43,7 @@ toolbar_append_button(ui::Toolbar toolbar, const char *description, const char * { auto button = ui::ToolButton::from(gtk_tool_button_new(new_local_image(icon), nullptr)); button_connect_callback(button, callback); + gtk_tool_button_set_label(GTK_TOOL_BUTTON(button), description); toolbar_append(toolbar, button, description); return button; }