To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57871


User cloph changed the following:

                  What    |Old value                 |New value
================================================================================
          Target milestone|---                       |OOo 2.0.2
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Nov 17 15:11:00 -0800 
2005 -------
> # touch /usr/share/icons/hicolor/
> # killall gnome-panel
>
> The icons are back. Isn't weird?...

No, not weired. That means that gnome-panel works according to the specs,
gnome-panel doesn't have a bug. (it ignores the cache when it is older than the
theme-directory's mtime)

> if the installer doesn't change the date of the folder?

The package doesn't install anything in the top-level directory itself, only
into subdirectories (and thus only the mtime of the subdirectories is changed).

#######
the desktop-integration packages (the other ones probably are affected as well)
need to either update the icon-cache or touch the top-level icon-dirs.

@obr: Shall we generate a cache even when there isn't one already?
      Shall we touch the theme dirs instead?

if (which gtk-update-icon-cache); then
  gtk-update-icon-cache /usr/share/icons/gnome   ||true
  gtk-update-icon-cache /usr/share/icons/hicolor ||true
  gtk-update-icon-cache /usr/share/icons/locolor ||true
fi

should do the trick. (||true is needed because it returns with 1 when there is
no index.theme in the directory) Alternatively one could check for existence of
index.theme first (if [ -e /usr/share/icons/gnome/index.theme ])

That block would have to be added at the same places/conditions where
update-mime-database is run, that is
%postun
(always, both when upgrading and when erasing the package, although changes of
the icons are not very likely :-) )
and
%post
(only on first install)

I set target to 2.0.2 since it is easy to fix and cannot do any harm to OOo 
itself.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to