Index: inc/documentlist.hpp
===================================================================
--- inc/documentlist.hpp (revision b70179db4d34c139c34796b2ad20ecb4f9fcf69d)
+++ inc/documentlist.hpp (revision 24041fba2be0714c5821951abe3c0ab8fa76a094)
@@ -24,14 +24,13 @@
 #include <gtkmm/treestore.h>
 #include <obby/local_buffer.hpp>
-#include "toolwindow.hpp"
+#include "togglewindow.hpp"
 #include "header.hpp"
-#include "config.hpp"
 
 namespace Gobby
 {
 
-/** List showing users that are participating in the obby session.
+/** List showing documents that are available in the session.
  */
-class DocumentList: public ToolWindow
+class DocumentList: public ToggleWindow
 {
 public:
@@ -47,5 +46,8 @@
 	};
 
-	DocumentList(Gtk::Window& parent, Header& header, Config& config);
+	DocumentList(Gtk::Window& parent,
+	             Header& header,
+		     const Preferences& preferences,
+		     Config::Entry& config_entry);
 
 	// Calls from the window
