From 921d6187073afa3e76e05395ddb8a64f9f479d68 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 29 Sep 2010 14:10:04 +0100 Subject: clean up xui a bit, still working on proper script reponse. --- indra/newview/lltoastscripttextbox.cpp | 9 +++- .../skins/default/xui/en/panel_notify_textbox.xml | 58 +--------------------- 2 files changed, 8 insertions(+), 59 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/lltoastscripttextbox.cpp b/indra/newview/lltoastscripttextbox.cpp index 391aee79e8..a9f8272ea9 100644 --- a/indra/newview/lltoastscripttextbox.cpp +++ b/indra/newview/lltoastscripttextbox.cpp @@ -151,12 +151,13 @@ void LLToastScriptTextbox::close() // The group notice dialog may be an inventory offer. // If it has an inventory save button and that button is still enabled // Then we need to send the inventory declined message + /* if(mInventoryOffer != NULL) { mInventoryOffer->forceResponse(IOR_DECLINE); mInventoryOffer = NULL; } - + */ die(); } @@ -166,8 +167,9 @@ void LLToastScriptTextbox::onClickOk() response["OH MY GOD WHAT A HACK"] = true; mNotification->respond(response); close(); + //llerrs << response << llendl; } - +/* void LLToastScriptTextbox::onClickAttachment() { if (mInventoryOffer != NULL) { @@ -190,7 +192,9 @@ void LLToastScriptTextbox::onClickAttachment() mInventoryOffer = NULL; } } +*/ + /* //static bool LLToastScriptTextbox::isAttachmentOpenable(LLAssetType::EType type) { @@ -208,3 +212,4 @@ bool LLToastScriptTextbox::isAttachmentOpenable(LLAssetType::EType type) } } + */ diff --git a/indra/newview/skins/default/xui/en/panel_notify_textbox.xml b/indra/newview/skins/default/xui/en/panel_notify_textbox.xml index 6a07d41e7e..dcd1e29e17 100644 --- a/indra/newview/skins/default/xui/en/panel_notify_textbox.xml +++ b/indra/newview/skins/default/xui/en/panel_notify_textbox.xml @@ -11,44 +11,9 @@ - - - - - + word_wrap="true" > - -