打过补丁的包,我上传到了纳米盘空间,可以在这儿得到。
使用方法:
安装了这个版本的pypanel以后,可以在配置文件 ~/.pypanelrc 中”Panel Spacing and Location Options: Measured in pixels”字段添加四个设置参数,如下:
代码: 全选
#——————————————————————————
# Panel Spacing and Location Options: Measured in pixels
#——————————————————————————
P_LOCATION = 1 # Panel placement: 0 = top, 1 = bottom
P_WIDTH = 0 # Panel width: 0 = Use full screen width
P_START = 0 # Starting X coordinate of the panel
P_SPACER = 6 # Spacing between panel objects
P_HEIGHT = 16 # Panel height
P_B_BUFF = 3
#P_T_BUFF = 3
P_L_BUFF = 3
P_R_BUFF = 3
需要注意的是,当P_LOCATION设为1,也就是将panel显示在屏幕下边缘的时候,应该将P_T_BUFF参数注释掉,否则可能会发生错误;同理,当P_LOCATION设为0,也就是将panel显示在屏幕上边缘的时候,应该将P_B_BUFF参数注释掉,否则同样可能引起错误。
我的BLOG原文:http://tianyispace.cn/articals/%E6%89%9 ... /#more-263