rhythmbox r5941 - in trunk: . widgets
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5941 - in trunk: . widgets
- Date: Tue, 23 Sep 2008 11:42:54 +0000 (UTC)
Author: jmatthew
Date: Tue Sep 23 11:42:54 2008
New Revision: 5941
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5941&view=rev
Log:
2008-09-23 Jonathan Matthew <jonathan d14n org>
patch by: Mika Wahlroos <mika wahlroos iki fi>
* widgets/rb-search-entry.c: (rb_search_entry_check_style):
Make the cursor in the search box black along with the text.
Fixes #552829.
Modified:
trunk/ChangeLog
trunk/widgets/rb-search-entry.c
Modified: trunk/widgets/rb-search-entry.c
==============================================================================
--- trunk/widgets/rb-search-entry.c (original)
+++ trunk/widgets/rb-search-entry.c Tue Sep 23 11:42:54 2008
@@ -262,9 +262,11 @@
if (text && *text) {
gtk_widget_modify_text (entry->priv->entry, GTK_STATE_NORMAL, &fg_colour);
gtk_widget_modify_base (entry->priv->entry, GTK_STATE_NORMAL, &bg_colour);
+ gtk_widget_modify_cursor (entry->priv->entry, &fg_colour, &fg_colour);
} else {
gtk_widget_modify_text (entry->priv->entry, GTK_STATE_NORMAL, NULL);
gtk_widget_modify_base (entry->priv->entry, GTK_STATE_NORMAL, NULL);
+ gtk_widget_modify_cursor (entry->priv->entry, NULL, NULL);
}
gtk_widget_queue_draw (GTK_WIDGET (entry));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]