From 9e2ab3d7ae6943a5d0c9a076531aeebc77f5080d Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Wed, 18 Oct 2017 21:45:47 +0200 Subject: [PATCH] set a name on the 'text to display' widget so that it can be styled (closes #13906) --- panel-plugin/netload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index 9891ae5..6b66d3a 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -479,6 +479,7 @@ static t_global_monitor * monitor_new(XfcePanelPlugin *plugin) /* Create the title label */ global->monitor->label = gtk_label_new(global->monitor->options.label_text); + gtk_widget_set_name(GTK_WIDGET(global->monitor->label), "netload-title"); gtk_box_pack_start(GTK_BOX(global->box), GTK_WIDGET(global->monitor->label), TRUE, FALSE, 2);