$OpenBSD: patch-chrome_browser_ui_gtk_dialogs_common_cc,v 1.1 2012/01/06 16:27:26 robert Exp $
--- chrome/browser/ui/gtk/dialogs_common.cc.orig	Thu Jan  5 09:02:35 2012
+++ chrome/browser/ui/gtk/dialogs_common.cc	Fri Jan  6 13:18:13 2012
@@ -8,9 +8,7 @@
 
 #include "base/environment.h"
 #include "base/file_util.h"
-#include "base/message_loop.h"
 #include "base/nix/xdg_util.h"
-#include "base/threading/thread.h"
 #include "base/threading/thread_restrictions.h"
 #include "content/browser/browser_thread.h"
 
@@ -25,7 +23,7 @@ SelectFileDialog* SelectFileDialog::Create(Listener* l
       base::nix::GetDesktopEnvironment(env.get());
   if (desktop == base::nix::DESKTOP_ENVIRONMENT_KDE3 ||
       desktop == base::nix::DESKTOP_ENVIRONMENT_KDE4) {
-    return SelectFileDialogImpl::NewSelectFileDialogImplKDE(listener);
+    return SelectFileDialogImpl::NewSelectFileDialogImplKDE(listener, desktop);
   }
   return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener);
 }
@@ -54,4 +52,3 @@ bool SelectFileDialogImpl::CallDirectoryExistsOnUIThre
   base::ThreadRestrictions::ScopedAllowIO allow_io;
   return file_util::DirectoryExists(path);
 }
-
