QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2425|回复: 0

改了icon不变 等 用 gtk-update-icon-cache

[复制链接]
发表于 2009-6-24 14:15:55 | 显示全部楼层 |阅读模式
GNOME Documentation Library





GTK+ Reference Manual
gtk-update-icon-cachegtk-update-icon-cache — Icon theme caching utility


Synopsisgtk-update-icon-cache  [--force] [--ignore-theme-index] [--index-only] [--source[name]] [--quiet] [--validate] {iconpath}


Descriptiongtk-update-icon-cache creates mmap()able cache files foricon themes.
It expects to be given the path to a icon theme directory containing anindex.theme, e.g. /usr/share/icons/hicolor, and writes a icon-theme.cache containing cached informationabout the icons in the directory tree below the given directory.
GTK+ can use the cache files created by gtk-update-icon-cacheto avoid a lot of system call and disk seek overhead when the application starts.Since the format of the cache files allows them to be mmap()ed shared betweenmultiple applications, the overall memory consumption is reduced as well.

Options
--force, -f
Overwrite an existing cache file even if it appears to be          uptodate.
--ignore-theme-index, -t
Don't check for the existence of 'index.theme' in the icon theme     directory. Without this option, gtk-update-icon-cache refuses     to create an icon cache in a directory which does not appear to be the toplevel     directory of an icon theme.     
--index-only, -i
Don't include image data in the cache.   
--source, -c
Output a C header file declaring a constant      name with the contents of the icon      cache.
--quiet, -q
Turn off verbose output.     
--validate, -v
Validate existing icon cache.   


BugsNone known yet.


          Generated by GTK-Doc V1.11
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 00:33 , Processed in 0.036710 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表