Go to file
Siegfried-Angel Gevatter Pujals f215935d2d Speed up initialization of DocInfo objects
We achieve this with two changes:

 - Move the Shell.get_thumbnail call in DocInfo from _init
   to getIcon, so that it isn't executed until it's actually
   needed.
   (If caching the output of said call permanently is desired
   we could still do it on the first getIcon invocation, but
   I don't believe this is necessary given that looking up an
   already generated icon is pretty fast and this also gives
   us an updated icon in case the file changes.)

 - More importantly, we ommit the get_thumbnail call in case
   the URI doesn't start with file://. Looking up, for example,
   an http:// URI is very slow, and doesn't give us an icon anyway.

http://bugzilla.gnome.org/show_bug.cgi?id=586539
2009-06-22 09:41:06 -04:00
.settings Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
data Fix distcheck 2009-05-05 16:00:41 +02:00
js Speed up initialization of DocInfo objects 2009-06-22 09:41:06 -04:00
src Fix refcounting issue in ShellTextureCache 2009-06-18 16:45:17 -04:00
tools/build Add gstreamer deps for Ubuntu to gnome-shell-build-setup.sh 2009-05-05 17:05:59 -04:00
.gitignore Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
.project Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
AUTHORS Initial commit 2008-10-31 04:22:44 +00:00
autogen.sh Don't use bash syntax pointlessly. Fixes this to work under real /bin/sh. 2009-04-07 09:37:29 -04:00
configure.ac Split appDisplay and docDisplay into "model" and "view" parts 2009-06-16 18:50:42 -04:00
COPYING Initial commit 2008-10-31 04:22:44 +00:00
MAINTAINERS Initial commit 2008-10-31 04:22:44 +00:00
Makefile.am Make "make distcheck" work, and verify that we're disting all the javascript 2009-03-12 10:04:25 -04:00
README Initial commit 2008-10-31 04:22:44 +00:00