Commit ce1eabbd authored by Rodney Dawes's avatar Rodney Dawes Committed by Rodney Dawes

Modify the fg color to use the SELECTED fg color, if the tile is in the

2007-02-12  Rodney Dawes  <dobey@novell.com>

	* libslab/tile.c (tile_expose): Modify the fg color to use the
	SELECTED fg color, if the tile is in the SELECTED state

	Fixes #398079


svn path=/trunk/; revision=176
parent 5d2e83bc
2007-02-12 Rodney Dawes <dobey@novell.com>
* libslab/tile.c (tile_expose): Modify the fg color to use the
SELECTED fg color, if the tile is in the SELECTED state
Fixes #398079
2007-02-09 Jim Krehl <jimmyk@novell.com>
* main-menu/src/main-menu-ui.c:
Connect to the proper AboutDialog signal to close, BNC #212495, BGO
......
......@@ -336,6 +336,13 @@ tile_expose (GtkWidget * widget, GdkEventExpose * event)
if ((has_focus = GTK_WIDGET_HAS_FOCUS (widget)))
GTK_WIDGET_UNSET_FLAGS (widget, GTK_HAS_FOCUS);
if (GTK_WIDGET_STATE (widget) == GTK_STATE_SELECTED)
gtk_widget_modify_fg (widget, GTK_STATE_NORMAL,
&widget->style->fg[GTK_STATE_SELECTED]);
else
gtk_widget_modify_fg (widget, GTK_STATE_NORMAL,
&widget->style->fg[GTK_STATE_NORMAL]);
retval = (*GTK_WIDGET_CLASS (tile_parent_class)->expose_event) (widget, event);
if (has_focus)
......
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