Apply css on the correct widget class for Gtk 3.16/3.18
parent
c7b1a2a7d4
commit
ef926747b4
|
@ -566,7 +566,7 @@ static void set_progressbar_csscolor(GtkWidget* pbar, GdkRGBA* color)
|
||||||
background-color: %s; background-image: none; }",
|
background-color: %s; background-image: none; }",
|
||||||
cssminsizes, cssminsizes,
|
cssminsizes, cssminsizes,
|
||||||
#else
|
#else
|
||||||
css = g_strdup_printf(".progressbar { background-color: %s; background-image: none; }",
|
css = g_strdup_printf(".progressbar progress { background-color: %s; background-image: none; }",
|
||||||
#endif
|
#endif
|
||||||
gdk_rgba_to_string(color));
|
gdk_rgba_to_string(color));
|
||||||
DBG("setting pbar css to %s", css);
|
DBG("setting pbar css to %s", css);
|
||||||
|
|
Loading…
Reference in New Issue