| adm | Find | login register |
alan joined: 2007-09-25 posted: 134 promoted: 7 bookmarked: 1 |
| |||||||||
winlin joined: 2007-09-25 posted: 1859 promoted: 111 bookmarked: 33 |
fluxbox的toolbar也發現類似的情形,tray icon的透明處均以gtk theme的背景顏色呈現
http://hyperrate.com/topic-view-thread.php?tid=1478
很多gtk程式的tray icon都這樣,唉...(QT的程式倒是OK) 要解決這個問題我有幾個賤招可以試試(純灌水用,勿試):
(1) 治標不治本法:(不建議)
(2)魚與熊掌不可兼得法:(不建議)
(3)削足適履法:(不建議)
剛剛查了一下新的資料,分享一下好了~ Why isn't the tray icon background transparent?First off, please note that you can set the background of the tray icon to whatever colour you want (using the "Set tray colour" button in the preferences), and you can even use an eyedropper to do it - it should be easy enough to get close to the real thing ... But why not "real" transparency? Well, the simple answer is that transparency was never a feature of Gtk's trayicon libs. Gaim does it by using a patched version of the relevant lib - but that's not something you can do with Gtk2-perl. (see this Gtk bug for details on the original issue ...) It's been fixed in Gtk, but Gtk2-perl apparently uses its own version of this lib, which hasn't (?) been fixed. The short answer is, it might work one day, but in the meantime, just use the eye-dropper in the prefs - it works pretty well! ------------------------------------------------------------------- edited: 2
| |||||||||
alan joined: 2007-09-25 posted: 134 promoted: 7 bookmarked: 1 |
嗯……我也不會程式。沒想到小小的 tray 有這麼多學問。 | |||||||||
winlin joined: 2007-09-25 posted: 1859 promoted: 111 bookmarked: 33 |
gcin這個問題已經有一解法,請往此討論串。 ------------------------------------------------------------------- |
| adm | Find | login register |