OSX & Gtk3: Something not right with icon themes / icon rendering



Hi all.

I have *almost* everything I need built and
workibin/gtk-update-icon-cache share/icons/gnomeng on OSX. Icons
aren't being rendered though, and worse, this is causing crashes in
some cases :( Also some widgets like combo boxes are strangely devoid
of detail : ) I've hit these issues when building for Windows, but
installing the Adwaita icon theme fixed things for Windows. Not so
here.

I've used jhbuild to build everthing. The gtk3-demo app is working (
but no icons are being rendered ). When I start gtk3-demo, it says:

smart-ass:gtk dankasak$ ./bin/gtk3-demo
(gtk3-demo:23913): Gtk-WARNING **: Could not find the icon
'window-minimize-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
(gtk3-demo:23913): Gtk-WARNING **: Error loading theme icon
'image-missing' for stock: Icon 'image-missing' not present in theme
(gtk3-demo:23913): Gtk-WARNING **: Error loading theme icon
'image-missing' for stock: Icon 'image-missing' not present in theme
(gtk3-demo:23913): GLib-GObject-CRITICAL **: g_object_ref: assertion
'G_IS_OBJECT (object)' failed
(gtk3-demo:23913): Gtk-WARNING **: Error loading theme icon
'image-missing' for stock: Icon 'image-missing' not present in theme
(gtk3-demo:23913): Gtk-WARNING **: Error loading theme icon
'image-missing' for stock: Icon 'image-missing' not present in theme
(gtk3-demo:23913): GLib-GObject-CRITICAL **: g_object_ref: assertion
'G_IS_OBJECT (object)' failed
(gtk3-demo:23913): Gtk-WARNING **: Error loading theme icon
'image-missing' for stock: Icon 'image-missing' not present in theme
(gtk3-demo:23913): Gtk-WARNING **: Error loading theme icon
'image-missing' for stock: Icon 'image-missing' not present in theme
(gtk3-demo:23913): GLib-GObject-CRITICAL **: g_object_ref: assertion
'G_IS_OBJECT (object)' failed

( lots of similar warnings snipped )

But I DO have the hicolor theme:

smart-ass:hicolor dankasak$ pwd
/Users/dankasak/SmartFramework/gtk/share/icons/hicolor
smart-ass:hicolor dankasak$ ls -l
total 64
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 128x128
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 16x16
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 192x192
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 22x22
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 24x24
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 256x256
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 32x32
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 36x36
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 48x48
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 64x64
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 72x72
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 96x96
-rw-r--r--+  1 dankasak  staff    324 Jan  8 16:27 icon-theme.cache
-rw-r--r--+  1 dankasak  staff  27095 Jan  8 15:52 index.theme
drwxr-xr-x+ 15 dankasak  staff    510 Jan  8 15:52 scalable
smart-ass:hicolor dankasak$

I've tried to initialise things like this:

bin/pango-querymodules > etc/pango/pango.modules
bin/gdk-pixbuf-query-loaders > lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
bin/gtk-query-immodules-3.0 > lib/gtk-3.0/3.0.0/immodules.cache
bin/gtk-update-icon-cache share/icons/Adwaita
bin/gtk-update-icon-cache share/icons/gnome
bin/gtk-update-icon-cache share/icons/hicolor

Is there an environment variable to hint where to look for icon
themes? I've set the GTK_THEME env variable to Adwaita, but I still
get the warnings about not finding the hicolor theme.

Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]