digital clock applet shows up as just a line

Bug #327568 reported by Hugo Platzer
4
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Low
Mark Lee

Bug Description

The digital clock applet doesn't work for me: I'm using ubuntu 8.10_i686(gnome 2.24) and awn 0.32 and awn-extras 0.32,installed from source tarballs. When I load it,it just shows up as a white line. Looking at the output of awn, the relevant line probably is(translated)
glib.GError: symbol »awn-applet-digital-clock« not in theme

Related branches

Revision history for this message
moonbeam (rcryderman) wrote :

sounds like it's not finding the icon because the icon caches didn't get updated.

try

sudo update-icon-caches /usr/local/share/icons/hicolor/

or if you installed to the /usr prefix

sudo update-icon-caches /usr/share/icons/hicolor/

I suspect that will probably fix it.

Revision history for this message
Hugo Platzer (hugoplatzer) wrote :

That fixes it.
Bug can be closed.

Mark Lee (malept)
Changed in awn-extras:
status: New → Invalid
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

See Bug #236604 in AWN and this blog post:

http://blogs.gnome.org/jjongsma/2006/10/15/icon-theme-cache-issues/

This is probably the same situation. Something like the following should probably get added to a makefile for extras:

+gtk_update_icon_cache = gtk-update-icon-cache -f -t ${datadir}/icons/hicolor
+
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+
+update-icon-cache:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+

I'm just not sure where the best place would be. Maybe in Makefile.desktop-files as it already dealing with icons?

Changed in awn-extras:
importance: Undecided → Low
status: Invalid → New
Revision history for this message
Mark Lee (malept) wrote :

The problem with putting it in Makefile.desktop-files is that then it gets executed for each applet.

onox (onox)
Changed in awn-extras:
assignee: nobody → malept
Mark Lee (malept)
Changed in awn-extras:
milestone: none → 0.3.2.2
status: New → Triaged
Revision history for this message
Mark Lee (malept) wrote :

A variation on the patch has been committed in trunk revision 1158. Can someone confirm that it works?

Changed in awn-extras:
status: Triaged → Fix Committed
Revision history for this message
Mark Lee (malept) wrote :

Fix released in Awn Extras 0.3.2.2.

Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.