我用Lubuntu 16.10。当我(从shell)运行evince时,会收到多个错误消息,如:
(evince:14128): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:190:21: The :insensitive pseudo-class is deprecated. Use :disabled instead.以及:
(evince:17673): Gtk-WARNING **: Theme directory imported-Humanity/192 of theme Lubuntu has no size field
(evince:17673): Gtk-WARNING **: Allocating size to EvSidebar 0x562e8f3ee310 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?我能对这些错误做些什么呢?他们真烦人!
发布于 2017-02-24 19:08:23
部分答复:
对于第一类错误(以及一些与CSS语法相关的错误),您可以编辑/usr/share/themes/Lubuntu-default/gtk-3.0/,并使用最新的名称对废弃的伪元素名称或属性名称进行批处理替换。这避免了控制台上的绝大多数错误,但不能避免问题中列出的最后两个错误。
https://askubuntu.com/questions/886967
复制相似问题