diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-19 18:45:41 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-19 18:45:41 +0000 |
commit | 6fc2b8118a77a4d3f6d237d573805302db5e54b7 (patch) | |
tree | 3705cce0a4866838f8230b0e369e1c080c27cfc2 /gtk/gtkdebug.h | |
parent | b087f7655108019d797ca6096077443761915431 (diff) | |
download | gtk+-6fc2b8118a77a4d3f6d237d573805302db5e54b7.tar.gz |
Implement icon theme caching. (#154034, Martijn Vernooij, caching schema
2004-10-19 Matthias Clasen <mclasen@redhat.com>
Implement icon theme caching. (#154034, Martijn Vernooij,
caching schema proposed by Owen Taylor, initial implementation
by Anders Carlsson)
* gtk/gtkdebug.h:
* gtk/gtkmain.c: Add a "icontheme" debug flag.
* gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c
(gtk_private_h_sources): Add gtkiconcache.h
(bin_PROGRAMS): Add gtk-update-icon-cache
* gtk/gtkicontheme.c: Use icon caches if they are available.
Currently, GTK+ uses the cache to get information about the
available sizes, image file formats and .icon files. The
actual image data, and the .icon file contents are not
cached yet.
* gtk/updateiconcache.c: A cmdline utility for generating
icon cache files.
* gtk/gtkiconcache.h:
* gtk/gtkiconcache.c: The glue code to mmap an icon cache
file and manage the information it contains.
Diffstat (limited to 'gtk/gtkdebug.h')
-rw-r--r-- | gtk/gtkdebug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index ff1c0e74a2..2edfb41575 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -40,7 +40,8 @@ typedef enum { GTK_DEBUG_KEYBINDINGS = 1 << 5, GTK_DEBUG_MULTIHEAD = 1 << 6, GTK_DEBUG_MODULES = 1 << 7, - GTK_DEBUG_GEOMETRY = 1 << 8 + GTK_DEBUG_GEOMETRY = 1 << 8, + GTK_DEBUG_ICONTHEME = 1 << 9 } GtkDebugFlag; #ifdef G_ENABLE_DEBUG |