From 1f486a9515d335e0156b23fa84eeb34cdf57cac1 Mon Sep 17 00:00:00 2001 From: Jonathan Yap Date: Fri, 26 Aug 2011 12:11:57 -0400 Subject: STORM-1567 Mute button for llDialog popup Made changes per RB feedback. --- indra/newview/lltoastnotifypanel.cpp | 3 +-- indra/newview/skins/default/xui/en/notifications.xml | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp index ea047a1878..6873cf058a 100644 --- a/indra/newview/lltoastnotifypanel.cpp +++ b/indra/newview/lltoastnotifypanel.cpp @@ -305,7 +305,6 @@ void LLToastNotifyPanel::updateButtonsLayout(const std::vectorgetRect().getWidth(); LLButton* ignore_btn = NULL; LLButton* mute_btn = NULL; @@ -346,7 +345,6 @@ void LLToastNotifyPanel::updateButtonsLayout(const std::vectorsetRect(ignore_btn_rect); @@ -358,6 +356,7 @@ void LLToastNotifyPanel::updateButtonsLayout(const std::vectorgetRect()); S32 buttons_per_row = max_width / BUTTON_WIDTH; //assume that h_pad far less than BUTTON_WIDTH + // Place mute (Block) button to the left of the ignore button. S32 mute_btn_left = buttons_per_row * BUTTON_WIDTH + (buttons_per_row - 1) * h_pad - mute_btn_rect.getWidth() - ignore_btn_width - (h_pad / 2); if (mute_btn_left + mute_btn_rect.getWidth() > max_width) // make sure that the mute button is in panel { diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 43e01a1080..ffc7a2ba55 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -6260,6 +6260,10 @@ Grant this request? [NAME]'s '<nolink>[TITLE]</nolink>' [MESSAGE]
+