GNOME Bugzilla – Bug 130565
add properties to EelEditableLabel class in gtkrc files
Last modified: 2008-12-12 03:08:21 UTC
Please refer to bug#123207. When user sets any inverse theme and starts renaming a folder/file in nautilus icon view, the cursor color is not visible. Please refer to the analysis added to bug#123207. The complete fix for bug#123207 requires addition of cursor-color and cursor_aspect_ratio properties to EelEditableLabel class in the following gtkrc files. HighContrast/gtk-2.0/gtkrc HighContrastInverse/gtk-2.0/gtkrc HighContrastLargePrint/gtk-2.0/gtkrc HighContrastLargePrintInverse/gtk-2.0/gtkrc LargePrint/gtk-2.0/gtkrc LowContrast/gtk-2.0/gtkrc LowContrastLargePrint/gtk-2.0/gtkrc Eg: For HighContrastInverse theme, the entries are: --- HighContrastInverse/gtk-2.0/gtkrc.org Mon Dec 29 15:45:52 2003 +++ HighContrastInverse/gtk-2.0/gtkrc Mon Dec 29 15:46:31 2003 @@ -31,6 +31,8 @@ style "default" GtkTextView::cursor_aspect_ratio = 0.1 GtkEntry::cursor_aspect_ratio = 0.1 NautilusIconContainer::frame_text = 1 + EelEditableLabel::cursor_color = "#00cccc" + EelEditableLabel::cursor_aspect_ratio = 0.1 fg[NORMAL] = "white" text[NORMAL] = "white"
Talked to Calum on IRC and got approval for the patch and committed it to HEAD. ChangeLog is as follows: 2004-01-07 Narayana Pattipati <narayana.pattipati@wipro.com> * HighContrast/gtk-2.0/HighContrast.rc: * HighContrastInverse/gtk-2.0/HighContrastInverse.rc: * HighContrastLargePrint/gtk-2.0/HighContrastLargePrint.rc: *HighContrastLargePrintInverse/gtk-2.0/HighContrastLargePrintInverse.rc: * LargePrint/gtk-2.0/LargePrint.rc: * LowContrast/gtk-2.0/LowContrast.rc: * LowContrastLargePrint/gtk-2.0/LowContrastLargePrint.rc: Add cursor-color and cursor-aspect-ratio properties to EelEditableLabel, so that the cursor color changes according to the theme selected. Fixes bug#130565