mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
File dialogs don't need icon
This commit is contained in:
@@ -69,7 +69,6 @@ void ShowMessageBox(int type,
|
||||
void ShowOpenDialog(const std::string& title,
|
||||
const base::FilePath& default_path,
|
||||
const file_dialog::Filters& filters,
|
||||
const gfx::ImageSkia& icon,
|
||||
int properties,
|
||||
atom::NativeWindow* window,
|
||||
mate::Arguments* args) {
|
||||
@@ -91,7 +90,6 @@ void ShowOpenDialog(const std::string& title,
|
||||
void ShowSaveDialog(const std::string& title,
|
||||
const base::FilePath& default_path,
|
||||
const file_dialog::Filters& filters,
|
||||
const gfx::ImageSkia& icon,
|
||||
atom::NativeWindow* window,
|
||||
mate::Arguments* args) {
|
||||
v8::Handle<v8::Value> peek = args->PeekNext();
|
||||
|
||||
@@ -42,7 +42,6 @@ module.exports =
|
||||
options.title ?= ''
|
||||
options.defaultPath ?= ''
|
||||
options.filters ?= []
|
||||
options.icon ?= null
|
||||
|
||||
wrappedCallback =
|
||||
if typeof callback is 'function'
|
||||
@@ -65,7 +64,6 @@ module.exports =
|
||||
options.title ?= ''
|
||||
options.defaultPath ?= ''
|
||||
options.filters ?= []
|
||||
options.icon ?= null
|
||||
|
||||
wrappedCallback =
|
||||
if typeof callback is 'function'
|
||||
|
||||
Reference in New Issue
Block a user