aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/newview/floaterlogin.cpp9
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_login.xml3
3 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 6cb667a..b59b799 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,11 @@
12009-09-25 Jacek Antonelli <jacek.antonelli@gmail.com> 12009-09-25 Jacek Antonelli <jacek.antonelli@gmail.com>
2 2
3 * Removed 'Set Default' button from grid manager floater.
4
5 modified: linden/indra/newview/floaterlogin.cpp
6 modified: linden/indra/newview/skins/default/xui/en-us/floater_login.xml
7
8
3 * Made HippoGridManager's sanitation code more sane. 9 * Made HippoGridManager's sanitation code more sane.
4 10
5 modified: linden/indra/newview/floaterlogin.cpp 11 modified: linden/indra/newview/floaterlogin.cpp
diff --git a/linden/indra/newview/floaterlogin.cpp b/linden/indra/newview/floaterlogin.cpp
index e393603..f1afc53 100644
--- a/linden/indra/newview/floaterlogin.cpp
+++ b/linden/indra/newview/floaterlogin.cpp
@@ -123,11 +123,10 @@ BOOL LoginFloater::postBuild()
123 childSetAction("btn_copy", onClickCopy, this); 123 childSetAction("btn_copy", onClickCopy, this);
124 childSetAction("btn_ok", onClickOk, this); 124 childSetAction("btn_ok", onClickOk, this);
125 childSetAction("btn_apply", onClickApply, this); 125 childSetAction("btn_apply", onClickApply, this);
126 childSetAction("set_default", onClickDefault, this); 126 // childSetAction("set_default", onClickDefault, this);
127 childSetAction("btn_cancel", onClickCancel, this); 127 childSetAction("btn_cancel", onClickCancel, this);
128//KOW childSetAction("set_default", onClickDefault, this);
129 childSetAction("btn_gridinfo", onClickGridInfo, this); 128 childSetAction("btn_gridinfo", onClickGridInfo, this);
130//KOW childSetAction("btn_help_render_compat", onClickHelpRenderCompat, this); 129 // childSetAction("btn_help_render_compat", onClickHelpRenderCompat, this);
131 130
132 childSetCommitCallback("grid_selector", onSelectGrid, this); 131 childSetCommitCallback("grid_selector", onSelectGrid, this);
133//KOW childSetCommitCallback("platform", onSelectPlatform, this); 132//KOW childSetCommitCallback("platform", onSelectPlatform, this);
@@ -177,11 +176,11 @@ void LoginFloater::refresh_grids()
177 //grids->setLabel(LLStringExplicit("")); // LLComboBox::removeall() does not clear the label 176 //grids->setLabel(LLStringExplicit("")); // LLComboBox::removeall() does not clear the label
178 } 177 }
179 178
180 sInstance->childSetTextArg("default_grid", "[DEFAULT]", (defaultGrid != "")? defaultGrid: " "); 179 // sInstance->childSetTextArg("default_grid", "[DEFAULT]", (defaultGrid != "")? defaultGrid: " ");
181 180
182 sInstance->childSetEnabled("btn_delete", (selectIndex >= 0)); 181 sInstance->childSetEnabled("btn_delete", (selectIndex >= 0));
183 sInstance->childSetEnabled("btn_copy", (sInstance->mState == NORMAL) && (selectIndex >= 0)); 182 sInstance->childSetEnabled("btn_copy", (sInstance->mState == NORMAL) && (selectIndex >= 0));
184 sInstance->childSetEnabled("set_default", (sInstance->mState == NORMAL) && (selectIndex > 0)); 183 // sInstance->childSetEnabled("set_default", (sInstance->mState == NORMAL) && (selectIndex > 0));
185 sInstance->childSetEnabled("gridnick", (sInstance->mState == ADD_NEW) || (sInstance->mState == ADD_COPY)); 184 sInstance->childSetEnabled("gridnick", (sInstance->mState == ADD_NEW) || (sInstance->mState == ADD_COPY));
186 185
187 if (sInstance->mState == NORMAL) { 186 if (sInstance->mState == NORMAL) {
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_login.xml b/linden/indra/newview/skins/default/xui/en-us/floater_login.xml
index 8116213..6cf671c 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_login.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_login.xml
@@ -240,10 +240,13 @@
240 240
241 <!-- Cancel/Connect Buttons --> 241 <!-- Cancel/Connect Buttons -->
242 242
243 <!--
243 <button bottom="-44" follows="right|top" font="SansSerif" halign="center" 244 <button bottom="-44" follows="right|top" font="SansSerif" halign="center"
244 height="24" label="Set as Default" label_selected="Set as Default" 245 height="24" label="Set as Default" label_selected="Set as Default"
245 left="470" mouse_opaque="true" name="set_default" scale_image="TRUE" 246 left="470" mouse_opaque="true" name="set_default" scale_image="TRUE"
246 width="110" /> 247 width="110" />
248 -->
249
247 <!-- <button bottom="28" follows="right|bottom" font="SansSerif" halign="center" 250 <!-- <button bottom="28" follows="right|bottom" font="SansSerif" halign="center"
248 height="24" label="Connect" label_selected="Connect" 251 height="24" label="Connect" label_selected="Connect"
249 left="280" mouse_opaque="true" name="connect_btn" scale_image="TRUE" 252 left="280" mouse_opaque="true" name="connect_btn" scale_image="TRUE"