[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 01/01: set a name on the 'text to display' widget so that it can be styled (closes #13906)

noreply at xfce.org noreply at xfce.org
Wed Oct 18 21:46:25 CEST 2017


This is an automated email from the git hooks/post-receive script.

l   a   n   d   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-netload-plugin.

commit 9e2ab3d7ae6943a5d0c9a076531aeebc77f5080d
Author: Landry Breuil <landry at xfce.org>
Date:   Wed Oct 18 21:45:47 2017 +0200

    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);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list