[Telepathy] Icons not found

Rainer Dorsch rdorsch at web.de
Sun Nov 18 08:05:36 PST 2007


Hello,

just added some debug output:

rdorsch at paddy:~/SW.nobackup/tapioca/empathy/src$ svn diff empathy.c
Index: empathy.c
===================================================================
--- empathy.c   (revision 439)
+++ empathy.c   (working copy)
@@ -211,6 +211,10 @@
                  NULL },
                { NULL }
        };
+
+       gchar                      **path;
+       gint path_elements;
+       gint i;

        empathy_debug_set_log_file_from_env ();

@@ -228,8 +232,20 @@
        g_set_application_name (PACKAGE_NAME);

        gtk_window_set_default_icon_name ("empathy");
+
        gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
                                           PKGDATADIR 
G_DIR_SEPARATOR_S "icons");
+
+       gtk_icon_theme_get_search_path       
(gtk_icon_theme_get_default(),&path,&path_elements);
+
+
+
+        empathy_debug (DEBUG_DOMAIN, "new path element: %s",PKGDATADIR 
G_DIR_SEPARATOR_S "icons");
+        empathy_debug (DEBUG_DOMAIN, "icon path elements: %d",path_elements);
+       for (i=0; i<path_elements; i++){
+               empathy_debug (DEBUG_DOMAIN, "icon path[%d]: %s",i,path[i]);
+       }
+
        gnome_vfs_init ();

        /* Setting up MC */
rdorsch at paddy:~/SW.nobackup/tapioca/empathy/src$


Then I see the path /opt/gtalk/share/empathy/icons added

EmpathyMain: new path element: /opt/gtalk/share/empathy/icons
EmpathyMain: icon path elements: 7
EmpathyMain: icon path[0]: /home/rdorsch/.icons
EmpathyMain: icon path[1]: /home/rdorsch/.local/share/icons
EmpathyMain: icon path[2]: /opt/gtalk/share/icons
EmpathyMain: icon path[3]: /usr/share/icons
EmpathyMain: icon path[4]: /opt/gtalk/share/pixmaps
EmpathyMain: icon path[5]: /usr/share/pixmaps
EmpathyMain: icon path[6]: /opt/gtalk/share/empathy/icons



But I still get the icon warnings :-(


(empathy:28093): Gtk-WARNING **: could not load image: Icon 'empathy-offline' 
not present in theme


(empathy:28093): Gtk-WARNING **: could not load image: Icon 'empathy-offline' 
not present in theme


(empathy:28093): Gtk-WARNING **: could not load image: Icon 'empathy-offline' 
not present in theme


(empathy:28093): Gtk-WARNING **: could not load image: Icon 'empathy-offline' 
not present in theme


although the icons are there


rdorsch at paddy:~/SW.nobackup/tapioca/empathy/src$ 
ls -l /opt/gtalk/share/empathy/icons
total 0
drwxr-xr-x 7 rdorsch rdorsch 40 Nov 17 16:01 hicolor
rdorsch at paddy:~/SW.nobackup/tapioca/empathy/src$ 
ls -lR /opt/gtalk/share/empathy/icons
/opt/gtalk/share/empathy/icons:
total 0
drwxr-xr-x 7 rdorsch rdorsch 40 Nov 17 16:01 hicolor

/opt/gtalk/share/empathy/icons/hicolor:
total 0
drwxr-xr-x 5 rdorsch rdorsch 24 Nov 17 16:01 16x16
drwxr-xr-x 4 rdorsch rdorsch 16 Nov 17 16:01 22x22
drwxr-xr-x 4 rdorsch rdorsch 16 Nov 17 16:01 24x24
drwxr-xr-x 3 rdorsch rdorsch  8 Nov 17 16:01 32x32
drwxr-xr-x 4 rdorsch rdorsch 16 Nov 17 16:01 scalable

/opt/gtalk/share/empathy/icons/hicolor/16x16:
total 16
drwxr-xr-x 2 rdorsch rdorsch    8 Nov 18 10:26 actions
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 apps
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 status

/opt/gtalk/share/empathy/icons/hicolor/16x16/actions:
total 4
-rw-r--r-- 1 rdorsch rdorsch 693 Nov 18 10:26 im-message-new.png

/opt/gtalk/share/empathy/icons/hicolor/16x16/apps:
total 28
-rw-r--r-- 1 rdorsch rdorsch 882 Nov 18 10:26 im-ekiga.png
-rw-r--r-- 1 rdorsch rdorsch 902 Nov 18 10:26 im-gizmo.png
-rw-r--r-- 1 rdorsch rdorsch 815 Nov 18 10:26 im-google-talk.png
-rw-r--r-- 1 rdorsch rdorsch 782 Nov 18 10:26 im-irc.png
-rw-r--r-- 1 rdorsch rdorsch 863 Nov 18 10:26 im-local-xmpp.png
-rw-r--r-- 1 rdorsch rdorsch 802 Nov 18 10:26 im-msn.png
-rw-r--r-- 1 rdorsch rdorsch 617 Nov 18 10:26 im-xmpp.png

/opt/gtalk/share/empathy/icons/hicolor/16x16/status:
total 32
-rw-r--r-- 1 rdorsch rdorsch 689 Nov 18 10:26 empathy-available.png
-rw-r--r-- 1 rdorsch rdorsch 538 Nov 18 10:26 empathy-away.png
-rw-r--r-- 1 rdorsch rdorsch 616 Nov 18 10:26 empathy-busy.png
-rw-r--r-- 1 rdorsch rdorsch 729 Nov 18 10:26 empathy-extended-away.png
-rw-r--r-- 1 rdorsch rdorsch 401 Nov 18 10:26 empathy-offline.png
-rw-r--r-- 1 rdorsch rdorsch 605 Nov 18 10:26 empathy-pending.png
-rw-r--r-- 1 rdorsch rdorsch 510 Nov 18 10:26 im-message.png
-rw-r--r-- 1 rdorsch rdorsch 587 Nov 18 10:26 user-typing.png

/opt/gtalk/share/empathy/icons/hicolor/22x22:
total 8
drwxr-xr-x 2 rdorsch rdorsch    8 Nov 18 10:26 actions
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 apps

/opt/gtalk/share/empathy/icons/hicolor/22x22/actions:
total 4
-rw-r--r-- 1 rdorsch rdorsch 955 Nov 18 10:26 im-message-new.png

/opt/gtalk/share/empathy/icons/hicolor/22x22/apps:
total 28
-rw-r--r-- 1 rdorsch rdorsch 1407 Nov 18 10:26 im-ekiga.png
-rw-r--r-- 1 rdorsch rdorsch 1407 Nov 18 10:26 im-gizmo.png
-rw-r--r-- 1 rdorsch rdorsch 1125 Nov 18 10:26 im-google-talk.png
-rw-r--r-- 1 rdorsch rdorsch 1185 Nov 18 10:26 im-irc.png
-rw-r--r-- 1 rdorsch rdorsch 1534 Nov 18 10:26 im-local-xmpp.png
-rw-r--r-- 1 rdorsch rdorsch 1216 Nov 18 10:26 im-msn.png
-rw-r--r-- 1 rdorsch rdorsch  923 Nov 18 10:26 im-xmpp.png

/opt/gtalk/share/empathy/icons/hicolor/24x24:
total 8
drwxr-xr-x 2 rdorsch rdorsch    8 Nov 18 10:26 actions
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 apps

/opt/gtalk/share/empathy/icons/hicolor/24x24/actions:
total 4
-rw-r--r-- 1 rdorsch rdorsch 994 Nov 18 10:26 im-message-new.png

/opt/gtalk/share/empathy/icons/hicolor/24x24/apps:
total 28
-rw-r--r-- 1 rdorsch rdorsch 1432 Nov 18 10:26 im-ekiga.png
-rw-r--r-- 1 rdorsch rdorsch 1450 Nov 18 10:26 im-gizmo.png
-rw-r--r-- 1 rdorsch rdorsch 1145 Nov 18 10:26 im-google-talk.png
-rw-r--r-- 1 rdorsch rdorsch 1251 Nov 18 10:26 im-irc.png
-rw-r--r-- 1 rdorsch rdorsch 1570 Nov 18 10:26 im-local-xmpp.png
-rw-r--r-- 1 rdorsch rdorsch 1230 Nov 18 10:26 im-msn.png
-rw-r--r-- 1 rdorsch rdorsch  924 Nov 18 10:26 im-xmpp.png

/opt/gtalk/share/empathy/icons/hicolor/32x32:
total 8
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 apps

/opt/gtalk/share/empathy/icons/hicolor/32x32/apps:
total 28
-rw-r--r-- 1 rdorsch rdorsch 2178 Nov 18 10:26 im-ekiga.png
-rw-r--r-- 1 rdorsch rdorsch 2029 Nov 18 10:26 im-gizmo.png
-rw-r--r-- 1 rdorsch rdorsch 1980 Nov 18 10:26 im-google-talk.png
-rw-r--r-- 1 rdorsch rdorsch 1597 Nov 18 10:26 im-irc.png
-rw-r--r-- 1 rdorsch rdorsch 2454 Nov 18 10:26 im-local-xmpp.png
-rw-r--r-- 1 rdorsch rdorsch 1865 Nov 18 10:26 im-msn.png
-rw-r--r-- 1 rdorsch rdorsch 1473 Nov 18 10:26 im-xmpp.png

/opt/gtalk/share/empathy/icons/hicolor/scalable:
total 16
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 apps
drwxr-xr-x 2 rdorsch rdorsch 4096 Nov 18 10:26 status

/opt/gtalk/share/empathy/icons/hicolor/scalable/apps:
total 132
-rw-r--r-- 1 rdorsch rdorsch 17686 Nov 18 10:26 im-ekiga.svg
-rw-r--r-- 1 rdorsch rdorsch 10564 Nov 18 10:26 im-gizmo.svg
-rw-r--r-- 1 rdorsch rdorsch 13800 Nov 18 10:26 im-google-talk.svg
-rw-r--r-- 1 rdorsch rdorsch 26329 Nov 18 10:26 im-irc.svg
-rw-r--r-- 1 rdorsch rdorsch 16021 Nov 18 10:26 im-local-xmpp.svg
-rw-r--r-- 1 rdorsch rdorsch 12196 Nov 18 10:26 im-msn.svg
-rw-r--r-- 1 rdorsch rdorsch 26214 Nov 18 10:26 im-xmpp.svg

/opt/gtalk/share/empathy/icons/hicolor/scalable/status:
total 36
-rw-r--r-- 1 rdorsch rdorsch 3807 Nov 18 10:26 empathy-available.svg
-rw-r--r-- 1 rdorsch rdorsch 3177 Nov 18 10:26 empathy-away.svg
-rw-r--r-- 1 rdorsch rdorsch 5515 Nov 18 10:26 empathy-busy.svg
-rw-r--r-- 1 rdorsch rdorsch 4930 Nov 18 10:26 empathy-extended-away.svg
-rw-r--r-- 1 rdorsch rdorsch 3276 Nov 18 10:26 empathy-offline.svg
-rw-r--r-- 1 rdorsch rdorsch 5398 Nov 18 10:26 empathy-pending.svg
rdorsch at paddy:~/SW.nobackup/tapioca/empathy/src$ 


How do I find out if the hicolor icons are ok for me?

Anything else obvious wrong here?

Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/


More information about the Telepathy mailing list