There is a PEAR package which
   solves exactly this problem: 
   Gtk_FileDrop.
  
   One could extend the application to save and load the tree's 
   contents. The XBEL (XML Bookmark Exchange Language) would be
   very ideal for this.
  
   Make your applications user-friendly: Every text field which requires
   a filename or a path should accept drops from file managers.