Thread
:
[Announce] xword - Across Lite compatible crossword program
View Single Post
terrencegf
2008-07-04 , 09:07
Posts: 221 | Thanked: 182 times | Joined on Jul 2007 @ Central Illinois
#
29
Someone sent me a bug report about using xword with the
LCARS theme
. Apparently, the theme sets the background of buttons to the color black, but the on-screen keyboard letters in xword are also black. This makes the keyboard completely useless. I tried to find a programmatic way of fixing this. Basically I added a hack to set the background of the keyboard to white, but it's not an ideal solution and is frowned upon by GTK programming standards.
Fortunately, I found a supported way around the problem. GTK allows you to set a theme on a per application basis. If you have Personal Menu installed, you can set a command to launch xword with a default theme (with white buttons). In Personal Menu, create a new command entitled "Xword" and enter the following in the "Command to execute" field:
Code:
/bin/sh -c 'GTK2_RC_FILES=/usr/share/themes/echo/gtk-2.0/gtkrc xword'
When you launch xword with this 'shortcut', buttons will be displayed with the default theme 'echo'. (You could also replace 'echo' above with one of the other built-in themes, like 'felicia' or 'glasser'.)
Quote & Reply
|
terrencegf
View Public Profile
Send a private message to terrencegf
Find all posts by terrencegf