| Index: chrome/browser/gtk/dialogs_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/gtk/dialogs_gtk.cc (revision 12784)
|
| +++ chrome/browser/gtk/dialogs_gtk.cc (working copy)
|
| @@ -33,6 +33,7 @@
|
| virtual void SelectFile(Type type, const std::wstring& title,
|
| const std::wstring& default_path,
|
| const std::wstring& filter,
|
| + int filter_index,
|
| const std::wstring& default_extension,
|
| gfx::NativeWindow parent_window,
|
| void* params);
|
| @@ -121,6 +122,7 @@
|
| const std::wstring& title,
|
| const std::wstring& default_path,
|
| const std::wstring& filter,
|
| + int filter_index,
|
| const std::wstring& default_extension,
|
| gfx::NativeWindow parent_window,
|
| void* params) {
|
| @@ -162,7 +164,7 @@
|
| const FilePath& path) {
|
| void* params = PopParamsForDialog(dialog);
|
| if (listener_)
|
| - listener_->FileSelected(path.ToWStringHack(), params);
|
| + listener_->FileSelected(path.ToWStringHack(), 0, params);
|
| RemoveParentForDialog(dialog);
|
| gtk_widget_destroy(dialog);
|
| }
|
|
|