Matt,
I think gnome-panel didn't depend on Gamin. It uses GIO now. So if you
want to test FEN you have to use 'gvfs-monitor-dir' and
'gvfs-monitor-file', e.g. 'gvfs-monitor-dir /usr/share/applications'.
Thanks,
lin
Matt Keenan wrote:
I'm seeing a unique issue with pkg, where Creation FEN (File Event
Notification) is not being sent.
gamin is used by gnome-panel to monitor /usr/share/applications and
other directories. This is the default .desktop directory where
applications being
installed place their .desktop file in order for the application to
appear
in GNOME menus.
As this dir is monitored changes made here are reflected dynamically
in the gnome-panel menu structure e.g. installation of a new .desktop
file.
I've just noticed that when installing SUNWgftp package which does
create gftp.desktop in /usr/share/applications, is not resulting in a
Creation Event
being fired, and thus does not appear in the gnome-panel menu
dynamically.
See bug : http://defect.opensolaris.org/bz/show_bug.cgi?id=10194
Directly accessing the a file in this directory, e.g.
cp /usr/share/applications/gftp.desktop
/usr/share/applications/gftp-2.desktop
Does result in a creation event and you end up with two entries in the
menu.
pkg uninstall SUNWgftp, does cause a Deletion event to be fired for
gftp.desktop.
So I'm asking does pkg install do something funky to circumvent FEN ? Or
would this be seen as a possible bug in FEN ?
To test FEN, SUNWgamin once built from source contains a very useful
testgam
utility. I can forward details on how to use it if required.
cheers
Matt
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss