patch for gnome-menus bug (doesn't send notification for new .desktop files)



Please find attached a patch for the bug as described in [1].

Note, I'm not on this list, so please CC me in replies.

Thanks,
Pete

[1] https://launchpad.net/distros/ubuntu/+source/gnome-menus/+bug/64264
diff -rc gnome-menus-2.16.1/libmenu/entry-directories.c gnome-menus-2.16.1.pdr/libmenu/entry-directories.c
*** gnome-menus-2.16.1/libmenu/entry-directories.c	2005-08-22 09:19:34.000000000 +0100
--- gnome-menus-2.16.1.pdr/libmenu/entry-directories.c	2006-10-20 06:00:00.000000000 +0100
***************
*** 462,468 ****
    g_free (basename);
    g_free (dirname);
  
!   if (handled)
      {
        cached_dir_invoke_monitors (dir);
      }
--- 462,468 ----
    g_free (basename);
    g_free (dirname);
  
!   if (!handled)
      {
        cached_dir_invoke_monitors (dir);
      }


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