aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorAnders Arnholm2008-12-12 09:27:40 +0100
committerAnders Arnholm2008-12-12 09:27:40 +0100
commitc9ad0b4828ae6c70d6e1b7610a247a6ef48465fd (patch)
treee1ccb2af61a504da5a46128acc48c66d6618196b /linden/indra/newview
parentMerge branch 'next' of git://github.com/jacek/imprudence into next (diff)
downloadmeta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.zip
meta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.tar.gz
meta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.tar.bz2
meta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.tar.xz
Applied 3 patches from CoolViewer, http://sldev.free.fr
Applied slviewer-0-v120130-LandmarksDiscardButton_v2.patch.bz2 Applied slviewer-0-v120160-FriendshipAndCallingcardOffersIgnoreButton.patch.bz2 Applied slviewer-0-v12100-AllowDiscardForCreator.patch.bz2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpreviewlandmark.cpp10
-rw-r--r--linden/indra/newview/llviewermessage.cpp6
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notify.xml6
3 files changed, 18 insertions, 4 deletions
diff --git a/linden/indra/newview/llpreviewlandmark.cpp b/linden/indra/newview/llpreviewlandmark.cpp
index 01d77f6..dba603b 100644
--- a/linden/indra/newview/llpreviewlandmark.cpp
+++ b/linden/indra/newview/llpreviewlandmark.cpp
@@ -90,7 +90,15 @@ LLPreviewLandmark::LLPreviewLandmark(const std::string& name,
90{ 90{
91 91
92 mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this); 92 mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this);
93 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); 93 if (show_keep_discard)
94 {
95 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_new_landmark.xml", &getFactoryMap());
96 childSetAction("Discard btn",onDiscardBtn,this);
97 }
98 else
99 {
100 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap());
101 }
94 102
95 /* 103 /*
96 childSetCommitCallback("desc_editor", LLPreview::onText, this); 104 childSetCommitCallback("desc_editor", LLPreview::onText, this);
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 0e39026..3c7a0ab 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -833,9 +833,9 @@ void open_offer(const std::vector<LLUUID>& items, const std::string& from_name)
833 //if we are throttled, don't display them - Gigs 833 //if we are throttled, don't display them - Gigs
834 if (check_offer_throttle(from_name, false)) 834 if (check_offer_throttle(from_name, false))
835 { 835 {
836 // I'm not sure this is a good idea. JC 836 // I'm not sure this is a good idea. JC - Definitely a bad idea. HB
837 bool show_keep_discard = item->getPermissions().getCreator() != gAgent.getID(); 837 //bool show_keep_discard = item->getPermissions().getCreator() != gAgent.getID();
838 //bool show_keep_discard = true; 838 bool show_keep_discard = true;
839 switch(asset_type) 839 switch(asset_type)
840 { 840 {
841 case LLAssetType::AT_NOTECARD: 841 case LLAssetType::AT_NOTECARD:
diff --git a/linden/indra/newview/skins/default/xui/en-us/notify.xml b/linden/indra/newview/skins/default/xui/en-us/notify.xml
index 6af19ee..d169741 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notify.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notify.xml
@@ -593,6 +593,9 @@ see each other&apos;s online status.)
593 <option name="Decline"> 593 <option name="Decline">
594 Decline 594 Decline
595 </option> 595 </option>
596 <option name="Ignore">
597 Ignore
598 </option>
596 </notify> 599 </notify>
597 <notify name="FriendshipAccepted" tip="false"> 600 <notify name="FriendshipAccepted" tip="false">
598 <message name="message"> 601 <message name="message">
@@ -616,6 +619,9 @@ so you can quickly IM this resident.
616 <option name="Decline"> 619 <option name="Decline">
617 Decline 620 Decline
618 </option> 621 </option>
622 <option name="Ignore">
623 Ignore
624 </option>
619 </notify> 625 </notify>
620 <notify name="RegionRestartMinutes" tip="false"> 626 <notify name="RegionRestartMinutes" tip="false">
621 <message name="message"> 627 <message name="message">