Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141253 - gtk+-1.2.10-r11 - misleading ewarn message reg. /etc/X11/gtk/gtkrc
Summary: gtk+-1.2.10-r11 - misleading ewarn message reg. /etc/X11/gtk/gtkrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 141254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-21 01:24 UTC by Alexander Skwar
Modified: 2006-08-27 13:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gtk+-1.2.10 ebuild, which shows the ewarn only when necessary (gtk+-1.2.10-r11.0.ebuild.patch,707 bytes, text/plain)
2006-07-21 01:34 UTC, Alexander Skwar
Details
gtk+-1.2.10 ebuild, which shows the ewarn only when necessary (gtk+-1.2.10-r11.0.ebuild.patch,707 bytes, text/plain)
2006-07-21 02:34 UTC, Alexander Skwar
Details

Note You need to log in before you can comment on or make changes to this bug.
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.