set a name on the 'text to display' widget so that it can be styled (closes #13906)

master
Landry Breuil 2017-10-18 21:45:47 +02:00
parent 45f3d33c79
commit 9e2ab3d7ae
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ static t_global_monitor * monitor_new(XfcePanelPlugin *plugin)
/* Create the title label */ /* Create the title label */
global->monitor->label = gtk_label_new(global->monitor->options.label_text); 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_box_pack_start(GTK_BOX(global->box),
GTK_WIDGET(global->monitor->label), GTK_WIDGET(global->monitor->label),
TRUE, FALSE, 2); TRUE, FALSE, 2);