[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shortcut disappearing from menu after changing properties



On Wed, Jan 19, 2005 at 11:54:54PM +0100, Emilio Jesús Gallego Arias wrote:
> El mié, 19-01-2005 a las 17:13 +0100, Sven Arvidsson escribió:
> > I'm having the same problem, all my custom launchers are gone from
> > the menu, and if I try to change the properties of any default
> > launcher, it disappears.
> 
> Umm, was it after a libgnomevfs update?
> See this:
> 
> gnome-vfs2 (2.8.3-9) unstable; urgency=low
> 
>   * debian/patches/15_no_kde_in_menu.patch:
>     - don't show kde items in the gnome menu (Closes: #289650)
> 
>  -- Sjoerd Simons <sjoerd@debian.org>  Sat, 15 Jan 2005 17:22:40 +0100

After a few hours of digging i found out that gnome-panel is relying on buggy
behaviour of glib 2.4, which was fixed in the recently upload glib 2.6

With glib 2.6, g_find_program_in_path("") will return NULL as expected. With
glib 2.4 though, it returns the first existing entry in your $PATH (DOH).. 

Now gnome-panel tests the TryExec field entry as it supposed to, but an empty
entry is equel to "".. Which glib 2.4 thinks is a valid executable in your
path, but not so anymore with glib 2.6

Clean patch is in the making..

  Sjoerd
-- 
Dying is a very dull, dreary affair.  My advice to you is to have
nothing whatever to do with it.
		-- W. Somerset Maugham, his last words



Reply to: