Re: [ANN] XPN 0.5.0 released
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: [ANN] XPN 0.5.0 released

From: Franz Steinhaeusler <franz.steinhaeusler@gmx.at>
Date: Tue Jul 26 2005 - 10:46:27 CEST

On Mon, 25 Jul 2005 15:47:13 GMT, Nemesis <nemesis@nowhere.invalid>
wrote:

>[...]

Hello Nemesis,

>> Would it be possible to also customize the fonts in the
>> groups and threads pane (I'd like to have everywhere proportional
>> (monospaced fonts).
>
>Not at the moment, maybe in the future ... but of course if you can't
>wait you can modify the source by yourself, the files to modify are
>xpn_src/Groups_Pane.py and xpn_src/Threads_Pane.py
>just add the line
>
>import pango
>
>in the both the files, and then:
>at the end of Groups_Pane.py add this line (do not change the
>indentation):
>
> self.groups_list.modify_font(pango.FontDescription("monospace 10"))
>
>at the end of Threads_Pane.py add this line (do not change the
>indentation):
>
> self.threads_tree.modify_font(pango.FontDescription("monospace 10"))
>
>of course you can change the font description as you like.

thank you for the tip.

-- 
Franz Steinhaeusler
Received on Thu Sep 29 17:10:24 2005