Re: gtk_icon_theme_load_icon very slow
- From: Adolfo González Blázquez <code infinicode org>
- To: Nicola Fontana <ntd entidi it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_icon_theme_load_icon very slow
- Date: Wed, 01 Oct 2008 16:39:46 +0200
El miÃ, 01-10-2008 a las 14:40 +0200, Nicola Fontana escribiÃ:
On Wed, 01 Oct 2008 13:51:39 +0200
Adolfo GonzÃlez BlÃzquez <code infinicode org> wrote:
The problem is that gtk_icon_theme_load_icon takes about two seconds to
load icons from themes which are not standard [2]. I mean, if the user
use a theme with 256x256 icons, the load of 5 icons (text-x-generic,
audio-x-generic and so on) it's about ten seconds.
Hi Adolfo,
have you tried to update the icon cache with
gtk-update-icon-cache?
Well, I've tried. Some examples:
Elementary theme [1]:
- without gtk-update-icon-cache: 0.12 secs
- with gtk-update-icon-cache: 0.08 secs
GNOME default theme:
- with gtk-update-icon-cache: 0.02 secs
ElementaryUbuntu theme [2]:
- with this theme i can not create an icon cache (error on
gtk-update-icon-cache): 9.8 secs
There's no way to avoid such a delay if the user has a bad icon theme
selected?
[1]
http://www.deviantart.com/download/65437279/Elementary_Icons_by_DanRabbit.zip
[2] bzr branch lp:~ubuntu-new-wave/anton/devel.icon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]