Skip to content
Snippets Groups Projects
  1. Sep 20, 2007
    • Jannis Pohlmann's avatar
      * libxfce4menu/xfce-menu-monitor.c: Use g_str_hash and · 9f2e54ed
      Jannis Pohlmann authored
      	  g_str_equal for the file/directory to monitor handle
      	  hash table, rather than comparing the pointers directly.
      	* libxfce4menu/xfce-menu.c: Create submenu monitors after 
      	  parsing by traversing the XfceMenu tree but remove them 
      	  in xfce_menu_finalize (so creating the monitors happens
      	  in the root menu, removing is handled inside the 
      	  submenus). Now all monitors are properly removed when
      	  the root menu is destroyed.
      	* tests/test-display-root-menu.c: Print the pseudo monitor 
      	  handle ID in monitor_file and monitor_directory.
      
      git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26090 a0aa69c2-05f4-0310-b83c-d5d913b14636
      9f2e54ed
  2. Sep 19, 2007
    • Jannis Pohlmann's avatar
      * libxfce4menu/xfce-menu-monitor.{c,h}: Added methods to · 8626eb2a
      Jannis Pohlmann authored
      	  monitor files and directories. That way we can now add 
      	  monitors for the main menu file as well as menu .directory 
      	  files and the application directories - I think that's
      	  all we need. Since there may be several XfceMenu's monotoring
      	  the same application directories and menu files, those
      	  are managed using a reference counting mechanism, so that
      	  the monitor is only removed when all menus have asked
      	  to remove the monitor on them.
      	* libxfce4menu/xfce-menu.c: Monitor the main menu file as
      	  well as .directory files and application directories. And
      	  of course remove the monitors when the menu is destroyed.
      
      git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26088 a0aa69c2-05f4-0310-b83c-d5d913b14636
      8626eb2a
  3. Jul 14, 2007
  4. May 22, 2007
  5. May 20, 2007
  6. Mar 25, 2007
  7. Mar 24, 2007
  8. Mar 23, 2007
Loading