aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorArmin Weatherwax2009-09-19 12:08:08 +0200
committerArmin Weatherwax2009-09-19 12:08:08 +0200
commitc0f3c772c0e575e375231248e2e328311ef60110 (patch)
treea225726a75bbc102950bfd92405769fc97739606 /linden
parentMerge remote branch 'mccabe/1.2.0-next' into next (diff)
downloadmeta-impy-c0f3c772c0e575e375231248e2e328311ef60110.zip
meta-impy-c0f3c772c0e575e375231248e2e328311ef60110.tar.gz
meta-impy-c0f3c772c0e575e375231248e2e328311ef60110.tar.bz2
meta-impy-c0f3c772c0e575e375231248e2e328311ef60110.tar.xz
Henri Beauchamps $HOME as default load/save location for Linux
modified: linden/indra/newview/llfilepicker.cpp
Diffstat (limited to 'linden')
-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