Bart Smaalders wrote:
> Laszlo (Laca) Peter wrote:
>   
>> I think that should be automatic starting from snv_82
>> when gamin (file monitoring) was integrated.
>>
>> Laca
>>
>> On Mon, 2008-02-25 at 13:41 -0800, Bart Smaalders wrote:
>>     
>>> Capturing some of the discussion in bug 542:
>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=542
>>>
>>> During discussions on pkg-discuss at opensolaris, Ludo
>>> (ludovic.champenois at sun.com) asked how IPS (new
>>> Image Packaging System) would cause gnome-panel
>>> to refresh its menus when a package containing new
>>> menu items was delivered.
>>>
>>> IPS will contain mechanisms to allow automatic refresh of
>>> specified SMF services when certain files are installed/
>>> removed/upgraded (see bug 578
>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=542 for
>>> details).
>>>
>>> Is there anyway for gnome-panel to re-read the menu
>>> configs w/o a hard restart?
>>>
>>>
>>> - Bart
>>> We're also going to be monitoring the system directories,
>>> right?  So if my wireshark IPS package delivers
>>> usr/share/applications/wireshark.desktop
>>> it will just show up?
>>>
>>>       
In short Yes, but I'm not sure if it's working just yet for gnome 2.22. 
I could be wrong.
gnome-panel uses libgnome-menu for menu construction and monitoring.
libgnome-menu for gnome 2.22 has been amended to use the new GIO/gvfs
which is the gnome-vfs replacement.
In particular it uses g_file_monitor_file() and 
g_file_monitor_directory() API's to monitor
changes for the menu's. Which in turn rely on gio-gamin to provide the 
signals that
new files have been created or files have been amended.

I don't know the complete story with regard to the current status of 
gamin on solaris
I do know it was being worked on though.

Matt

> - Bart
>
>
>   


Reply via email to