Re: How to refresh gnome-panel, other than using killall ?



No, not the gnome-menus. I'm concerned with the launchers on the
gnome-panel. What I've observed is, if a desktop shortcut, which is
again a .desktop file is modified, it automatically gets updated. But
when a launcher .desktop file, located in
~/.gnome2/panel2.d/default/launchers/ is changed, it doesn't get
reflected on the panel.

So, does that mean I have to do killall gnome-panel?
'n is there any way to refresh the panel, without applets getting
killed?

thanks,
Puthali

"Travis Watkins" <alleykat@xxxxxxxxx> 8/3/2006 6:14 PM >>>
On 8/3/06, Puthali H.B <bputtali@xxxxxxxxxx> wrote:
The problem I'm facing is, I change some fields in the .desktop file
corresponding to a launcher, but it doesn't get reflected on the
panel.
I can not use killall, as running applets get killed and some fail
to
come up afterwards.


If you're talking about your menus it's likely a distro bug.
gnome-menus uses gnome-vfs which uses gamin (or inotify?) to
automatically update when something changes. If this isn't happening
something is likely built wrong (or built with --disable-fam).

So I wanted to know if there is some gnome-api which I can call, to
refresh the panel or only the launcher also?


There is nothing you can do other than restarting the panel if the
autoupdate isn't work.

thanks,
Puthali
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



--
Travis Watkins
http://www.realistanew.com
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list