gtkentry: Add hinting to GtkEntry

gtk_entry_set_placeholder_text() makes the entry display the given text
when it is empty and unfocused. Based on previous patch by Alberto
Garcia.

https://bugzilla.gnome.org/show_bug.cgi?id=440963
This commit is contained in:
Carlos Garcia Campos
2011-02-24 13:29:10 +01:00
committed by Carlos Garcia Campos
parent c8350821e9
commit ef061c4e96
5 changed files with 155 additions and 10 deletions

View File

@ -3772,6 +3772,7 @@ gtk_css_provider_get_default (void)
"@define-color selected_fg_color #fff; \n"
"@define-color tooltip_bg_color #eee1b3; \n"
"@define-color tooltip_fg_color #000; \n"
"@define-color placeholder_text_color #808080; \n"
"\n"
"@define-color info_fg_color rgb (181, 171, 156);\n"
"@define-color info_bg_color rgb (252, 252, 189);\n"