From 53024deb6bdd4c4b7980157a15575d130c194239 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 21 Mar 2019 16:54:52 +0100 Subject: add widget name volume-applet to panel-applet --- mate-volume-control/gvc-stream-applet-icon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mate-volume-control') diff --git a/mate-volume-control/gvc-stream-applet-icon.c b/mate-volume-control/gvc-stream-applet-icon.c index 8a63799..78f28eb 100644 --- a/mate-volume-control/gvc-stream-applet-icon.c +++ b/mate-volume-control/gvc-stream-applet-icon.c @@ -612,6 +612,7 @@ static void gvc_stream_applet_icon_class_init (GvcStreamAppletIconClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); + GtkWidgetClass *widget_class = (GtkWidgetClass *) klass; object_class->finalize = gvc_stream_applet_icon_finalize; object_class->dispose = gvc_stream_applet_icon_dispose; @@ -645,6 +646,8 @@ gvc_stream_applet_icon_class_init (GvcStreamAppletIconClass *klass) G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); + gtk_widget_class_set_css_name (widget_class, "volume-applet"); + g_object_class_install_properties (object_class, N_PROPERTIES, properties); g_type_class_add_private (klass, sizeof (GvcStreamAppletIconPrivate)); -- cgit v1.2.1