Fix linux support

This commit is contained in:
Ben Gotow 2016-05-15 01:29:13 -05:00
parent 6217d497ed
commit 54c654530e

View file

@ -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;