gVim 警告是什么以及如何消除它?
在 Ubuntu 10.04(作为虚拟机)中,我从命令行打开 gVim,但每次从终端切换到 vim 并返回时,我都会看到以下警告:
** (gvim:13790): CRITICAL **: murrine_style_draw_box:断言 'height >= -1' 失败
为什么我会收到此警告以及如何消除它?
安装(通过软件中心)几乎没有修改,除了添加 ~/.vimrc :
source $VIMRUNTIME/mswin.vim
behave mswin
set hls
In Ubuntu 10.04 (as a Virtual Machine), I open gVim from command line but every time I switch from terminal to vim and back I see the following warning:
** (gvim:13790): CRITICAL **: murrine_style_draw_box: assertion 'height >= -1' failed
Why do I get this warning and how do I get rid of it?
The installation (via software center) is pretty much unmodified, except the addition of ~/.vimrc:
source $VIMRUNTIME/mswin.vim
behave mswin
set hls
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是主题包中的错误。此处的解决方案:https://bugs.launchpad。 net/ubuntu/+source/light-themes/+bug/538499/comments/24
修改
/usr/share/themes/YOUR THEME IN 中的条目使用/gtk-2.0/gtkrc
从GtkRange::trough-under-steppers = 0
到GtkRange::trough-under-steppers = 1
HTH
It's a bug in the theme package(s). Resolution here: https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/538499/comments/24
Modify the entry in
/usr/share/themes/YOUR THEME IN USE/gtk-2.0/gtkrc
fromGtkRange::trough-under-steppers = 0
toGtkRange::trough-under-steppers = 1
HTH