aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorArmin Weatherwax2009-09-19 12:08:08 +0200
committerMcCabe Maxsted2009-09-21 21:42:24 -0700
commit3b172585dad0f6fb65f9fe1d59881e2c4575d495 (patch)
treee1d140cdcf04db87a4e72b52bec71a8b3b54f6f2
parentMerged 1.2.0-radar2 into 1.2.0-next (diff)
downloadmeta-impy-3b172585dad0f6fb65f9fe1d59881e2c4575d495.zip
meta-impy-3b172585dad0f6fb65f9fe1d59881e2c4575d495.tar.gz
meta-impy-3b172585dad0f6fb65f9fe1d59881e2c4575d495.tar.bz2
meta-impy-3b172585dad0f6fb65f9fe1d59881e2c4575d495.tar.xz
Henri Beauchamps $HOME as default load/save location for Linux
modified: 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