From 0b34d1c34cccd1ed95f17293ef941289b40e39f9 Mon Sep 17 00:00:00 2001 From: Gilbert Gonzales Date: Thu, 27 Jun 2013 16:47:00 -0700 Subject: ACME-630 Adjust floater_social.xml to load panels from files instead of in-lining --- indra/newview/llfloatersocial.cpp | 2 +- .../skins/default/xui/en/floater_social.xml | 412 +-------------------- 2 files changed, 10 insertions(+), 404 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp index e305bfd10a..594773c556 100644 --- a/indra/newview/llfloatersocial.cpp +++ b/indra/newview/llfloatersocial.cpp @@ -507,7 +507,7 @@ BOOL LLFloaterSocial::postBuild() // Initiate a connection to Facebook (getConnectionToFacebook() handles the already connected state) LLFacebookConnect::instance().getConnectionToFacebook(); // Keep tab of the Photo Panel - mSocialPhotoPanel = static_cast(getChild("social_photo_tab")); + mSocialPhotoPanel = static_cast(getChild("panel_social_photo")); return LLFloater::postBuild(); } diff --git a/indra/newview/skins/default/xui/en/floater_social.xml b/indra/newview/skins/default/xui/en/floater_social.xml index 960f883595..27c01eec4d 100644 --- a/indra/newview/skins/default/xui/en/floater_social.xml +++ b/indra/newview/skins/default/xui/en/floater_social.xml @@ -23,428 +23,34 @@ height="430" halign="center"> - - What's on your mind? - - - - - - + help_topic="panel_social_status" + name="panel_social_status"/> - - - - - - - - - - - [SIZE] KB - - - - - Succeeded - - - - - Failed - - - - - Working - - - - - - + help_topic="panel_social_photo" + name="panel_social_photo"/> - - - - Say something about where you are: - - - - - - - - - - - Include overhead view of location - - - - - - - - + help_topic="panel_social_place" + name="panel_social_place"/> -- cgit v1.2.3