On Mon, Feb 16, 2009 at 11:32 PM, Doug Philips <d...@mac.com> wrote:
> On or about Monday, February 16, 2009, at 11:02PM, Steve Borho indited:
>>> It occurs to me that GTK themes would probably solve this problem.  And we
>>> just happen to ship with a few of them.  For releases up to 0.7, you will
>>> have to do this manually.  In future releases, I may make this configurable
>>> in thgconfig.
>>>
>>> * cd C:\Program Files\TortoiseHg\share\themes
>>> * look at the themes in this directory, remember their names or keep this
>>> folder open.
>>> * cd ..\..\etc\gtk-2.0
>>> * edit gtkrc and change the name of the theme you wish to use
>>> * Changes take affect on all newly launched applications
>>
>>I've verified that at least the Metal theme fixes the color conflict
>>in the toolbar drop downs on Vista.  Other themes may work as well.
>>I've added this to the FAQ, including instructions on how to work
>>around Vista's lame file security attempts.
>
> If I follow those instructions (using the new special build, see previous 
> emails), and change the name to "Metal", then sure enough hgtk log highlights 
> better, but the window I start hgtk log from says:
> c:\Program Files\TortoiseHg\library.zip\hggtk\gdialog.py:93: GtkWarning: 
> Unable to locate theme engine in module_path: "metal",
> Even though the string in the gtkrc file is "Metal".
>
> Trying other settings (I quit the log viewer, make the changes, then restart)
> Setting the Theme to Emacs seems to have no effect, the highlighting under 
> "Emacs" is still unreadable.
> Same for "Default".
> Same for "MS-Windows" (the value it was before I started changing it. :) )
> Same for "Raleigh".
> "Redmond95" is a weirder case. The highlighting still is unreadable, -and-, 
> it burps out: c:\Program Files\TortoiseHg\library.zip\hggtk\gdialog.py:93: 
> GtkWarning: Unable to locate theme engi
> ne in module_path: "redmond95",

I saw the same message when I tried the "Metal" and
"Redmond95" themes, but the "Raleigh" and "Emacs"
themes was fine.  I suspect this is a bug in the themes
themselves.

BTW: I did my testing on XP, but I suspect it doesn't matter.

--
Steve

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to