Re: GTK default theme over-rides the theme set for the application.



Hi Andreas,
 
I tried the trick, but of no use. Hey btw I used twf utility... It works fine as desired with my custom theme in Clearlooks.
So might get a hint seeing in its code ;) Hoping for the best...
 
Sid

On Tue, Sep 8, 2009 at 5:51 PM, Andreas Sommer <AndiDog web de> wrote:
Does it work using environment variables? Like so: http://zeusville.wordpress.com/2007/05/15/changing-gtk-theme-for-a-specific-application/



Sid Kapoor wrote:
 I am using a Clearlooks theme as default for my CentOS 5.3 system. I want a slightly modified theme for a specific application XYZ. So I modified the Clearlooks theme's gtkrc a little bit and included it in code of XYZ using API gtk_rc_set_default_files(). Now when I run the application the changes in the included gtkrc file is not reflected. If I change the system's theme to something other than Clearlooks (theme not using the engine "clearlooks" ), the application XYZ works fine, i.e all the changes in my custom gtkrc file are reflected.
What can be the reason for this? How can I run the system on Clearlooks theme and use the custom-gtkrc file for XYZ simaltaneously ?



--
Siddharth Kapoor
Mobile - 9999169466


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]