Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141253

Summary: gtk+-1.2.10-r11 - misleading ewarn message reg. /etc/X11/gtk/gtkrc
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: Lowest    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gtk+-1.2.10 ebuild, which shows the ewarn only when necessary
gtk+-1.2.10 ebuild, which shows the ewarn only when necessary

Description Alexander Skwar 2006-07-21 01:24:57 UTC
In gtk+-1.2.10-r11.ebuild there are the following ewarn's:

        ewarn "Older versions added /etc/X11/gtk/gtkrc which changed settings for"
        ewarn "all themes it seems.  Please remove it manually as it will not due"
        ewarn "to /env protection."

Those are printed always.

IMO, it would be better, if that message were only printed when /etc/X11/gtk/gtkrc is found.

Attaching a new ebuild and a diff which does that.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2006-07-21 01:29:39 UTC
*** Bug 141254 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Skwar 2006-07-21 01:34:34 UTC
Created attachment 92380 [details]
gtk+-1.2.10 ebuild, which shows the ewarn only when necessary
Comment 3 Alexander Skwar 2006-07-21 02:34:01 UTC
Created attachment 92382 [details]
gtk+-1.2.10 ebuild, which shows the ewarn only when necessary
Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-08-27 13:58:28 UTC
Added if block without any bumps.  Thanks for the report.