Bug 432672 - .gtkrc-2.0 is being ignored
Summary: .gtkrc-2.0 is being ignored
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-panel
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-13 18:43 UTC by Mark
Modified: 2008-02-14 13:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-14 13:35:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark 2008-02-13 18:43:26 UTC
Description of problem:
.gtkrc-2.0 is being ignored

Version-Release number of selected component (if applicable):
XFCE 4.4.2

How reproducible:
Add this to you .gtkrc-2.0: (should make text red by default on the panel and
works under gnome but not under xfce)

style "panel"
{
fg[NORMAL] = "#ff0000"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
widget_class "*Applet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"

(just some sample code that i found on a mailing list somewhere)
  
Actual results:
Nothing changes

Expected results:
The text of anything on the panel should be red. It works fine under gnome with
gnome-panel but simply isn't working under xfce4-panel (perhaps under all xfce4
components?).

Comment 1 Kevin Fenzi 2008-02-14 03:06:53 UTC
You might take a look at: 

http://wiki.xfce.org/tips#gtkrc_files

In particular I think you need: 

widget_class "*Panel*" style "panel"

Can you try adding that and see if it works?

Comment 2 Mark 2008-02-14 13:35:14 UTC
hmm.. i tried something like it but that didn't seem to work. with widget_class
it WORKS!

Thanx for the help.
marking this bug as: "NOTABUG".

Mark.


Note You need to log in before you can comment on or make changes to this bug.