aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfilepicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfilepicker.cpp')
-rw-r--r--linden/indra/newview/llfilepicker.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llfilepicker.cpp b/linden/indra/newview/llfilepicker.cpp
index caf79eb..954a274 100644
--- a/linden/indra/newview/llfilepicker.cpp
+++ b/linden/indra/newview/llfilepicker.cpp
@@ -998,6 +998,12 @@ GtkWindow* LLFilePicker::buildFilePicker(bool is_save, bool is_folder, std::stri
998 (GTK_FILE_CHOOSER(win), 998 (GTK_FILE_CHOOSER(win),
999 this_path->second.c_str()); 999 this_path->second.c_str());
1000 } 1000 }
1001 else if (getenv("HOME"))
1002 {
1003 gtk_file_chooser_set_current_folder
1004 (GTK_FILE_CHOOSER(win),
1005 getenv("HOME"));
1006 }
1001 1007
1002# if LL_X11 1008# if LL_X11
1003 // Make GTK tell the window manager to associate this 1009 // Make GTK tell the window manager to associate this