projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6217d49
)
Fix linux support
author
Ben Gotow
<bengotow@gmail.com>
Sun, 15 May 2016 06:29:13 +0000
(
01:29
-0500)
committer
Ben Gotow
<bengotow@gmail.com>
Sun, 15 May 2016 06:29:13 +0000
(
01:29
-0500)
atom/browser/ui/file_dialog_gtk.cc
patch
|
blob
|
history
diff --git
a/atom/browser/ui/file_dialog_gtk.cc
b/atom/browser/ui/file_dialog_gtk.cc
index 713b7b3ddb729324ac2595148bcb3a5a5bd2352e..2c8b785544a287665b7d436657a65d1fbf38dd8d 100644
(file)
--- a/
atom/browser/ui/file_dialog_gtk.cc
+++ b/
atom/browser/ui/file_dialog_gtk.cc
@@
-44,7
+44,7
@@
class FileChooserDialog {
filters_(filters) {
const char* confirm_text = GTK_STOCK_OK;
- if (
button_label != NULL
)
+ if (
!button_label.empty()
)
confirm_text = button_label.c_str();
else if (action == GTK_FILE_CHOOSER_ACTION_SAVE)
confirm_text = GTK_STOCK_SAVE;