summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lldirpicker.cpp12
-rw-r--r--indra/newview/lldirpicker.h2
-rw-r--r--indra/newview/llfilepicker.cpp6
-rw-r--r--indra/newview/llfilepicker.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/indra/newview/lldirpicker.cpp b/indra/newview/lldirpicker.cpp
index 75875551f4..957bd6a4d3 100644
--- a/indra/newview/lldirpicker.cpp
+++ b/indra/newview/lldirpicker.cpp
@@ -41,7 +41,7 @@
# include "llfilepicker.h"
#endif
-#ifdef LL_FLTK
+#ifdef LL_LINUX
#include "FL/Fl.H"
#include "FL/Fl_Native_File_Chooser.H"
#endif
@@ -197,7 +197,7 @@ LLDirPicker::LLDirPicker() :
mFileName(NULL),
mLocked(false)
{
-#ifndef LL_FLTK
+#ifndef LL_LINUX
mFilePicker = new LLFilePicker();
#endif
reset();
@@ -205,7 +205,7 @@ LLDirPicker::LLDirPicker() :
LLDirPicker::~LLDirPicker()
{
-#ifndef LL_FLTK
+#ifndef LL_LINUX
delete mFilePicker;
#endif
}
@@ -213,7 +213,7 @@ LLDirPicker::~LLDirPicker()
void LLDirPicker::reset()
{
-#ifndef LL_FLTK
+#ifndef LL_LINUX
if (mFilePicker)
mFilePicker->reset();
#else
@@ -231,7 +231,7 @@ BOOL LLDirPicker::getDir(std::string* filename, bool blocking)
return FALSE;
}
-#ifdef LL_FLTK
+#ifdef LL_LINUX
gViewerWindow->getWindow()->beforeDialog();
Fl_Native_File_Chooser flDlg;
flDlg.title(LLTrans::getString("choose_the_directory").c_str());
@@ -254,7 +254,7 @@ BOOL LLDirPicker::getDir(std::string* filename, bool blocking)
std::string LLDirPicker::getDirName()
{
-#ifndef LL_FLTK
+#ifndef LL_LINUX
if (mFilePicker)
{
return mFilePicker->getFirstFile();
diff --git a/indra/newview/lldirpicker.h b/indra/newview/lldirpicker.h
index bcc7792c1a..5a3316d500 100644
--- a/indra/newview/lldirpicker.h
+++ b/indra/newview/lldirpicker.h
@@ -80,7 +80,7 @@ private:
#if LL_LINUX || LL_DARWIN
// On Linux we just implement LLDirPicker on top of LLFilePicker
-#ifndef LL_FLTK
+#ifndef LL_LINUX
LLFilePicker *mFilePicker;
#endif
#endif
diff --git a/indra/newview/llfilepicker.cpp b/indra/newview/llfilepicker.cpp
index d6f3727643..5be987f92a 100644
--- a/indra/newview/llfilepicker.cpp
+++ b/indra/newview/llfilepicker.cpp
@@ -40,7 +40,7 @@
#include "llwindowsdl.h" // for some X/GTK utils to help with filepickers
#endif // LL_SDL
-#ifdef LL_FLTK
+#ifdef LL_LINUX
#include "FL/Fl.H"
#include "FL/Fl_Native_File_Chooser.H"
#endif
@@ -1101,7 +1101,7 @@ BOOL LLFilePicker::getSaveFileModeless(ESaveFilter filter,
#elif LL_LINUX
-#if LL_FLTK
+#if LL_LINUX
BOOL LLFilePicker::getSaveFileModeless(ESaveFilter filter,
const std::string& filename,
@@ -1410,7 +1410,7 @@ BOOL LLFilePicker::getMultipleOpenFilesModeless(ELoadFilter filter,
return FALSE;
}
-#endif // LL_FLTK
+#endif // LL_LINUX
#else // not implemented
diff --git a/indra/newview/llfilepicker.h b/indra/newview/llfilepicker.h
index 1ca4137ac6..ddf3d7ca16 100644
--- a/indra/newview/llfilepicker.h
+++ b/indra/newview/llfilepicker.h
@@ -172,7 +172,7 @@ private:
void *userdata);
#endif
-#if LL_FLTK
+#if LL_LINUX
enum EType
{
eSaveFile, eOpenFile, eOpenMultiple