Author: jtn Date: Mon May 4 13:51:07 2015 New Revision: 28988 URL: http://svn.gna.org/viewcvs/freeciv?rev=28988&view=rev Log: Make the event box of the Gtk2 more-units button not have a visible window, to avoid its background not matching the theme.
See gna bug #23563. Modified: branches/S2_5/client/gui-gtk-2.0/gui_main.c Modified: branches/S2_5/client/gui-gtk-2.0/gui_main.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-2.0/gui_main.c?rev=28988&r1=28987&r2=28988&view=diff ============================================================================== --- branches/S2_5/client/gui-gtk-2.0/gui_main.c (original) +++ branches/S2_5/client/gui-gtk-2.0/gui_main.c Mon May 4 13:51:07 2015 @@ -880,6 +880,8 @@ g_object_ref(more_arrow_pixmap); more_arrow_pixmap_button = gtk_event_box_new(); g_object_ref(more_arrow_pixmap_button); + gtk_event_box_set_visible_window(GTK_EVENT_BOX(more_arrow_pixmap_button), + FALSE); gtk_container_add(GTK_CONTAINER(more_arrow_pixmap_button), more_arrow_pixmap); g_signal_connect(more_arrow_pixmap_button, _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits