Commit bc65a6b0 authored by Harald Judt's avatar Harald Judt

Summary details: Make event box use invisible child windows.

This fixes the ugly icon transparency issue that occurred with some themes.
parent c438a97e
......@@ -464,8 +464,8 @@ create_summary_tab(xfceweather_data *data)
if (icon) {
sum->icon_ebox = gtk_event_box_new();
gtk_container_add(GTK_CONTAINER(sum->icon_ebox),
icon);
gtk_event_box_set_visible_window(GTK_EVENT_BOX(sum->icon_ebox), FALSE);
gtk_container_add(GTK_CONTAINER(sum->icon_ebox), icon);
gtk_text_view_add_child_in_window(GTK_TEXT_VIEW(view),
sum->icon_ebox,
GTK_TEXT_WINDOW_TEXT, 0, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment