diff options
author | Jacek Antonelli | 2008-10-03 02:21:33 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-03 15:27:46 -0500 |
commit | f1b1e0dcb9f620f21c47e132d97fea6c0bf5eed6 (patch) | |
tree | 3e6c0dd5415915a14b5cd00747f4615d9f506570 | |
parent | Added .gitignore to ignore artwork, libs, and compiled stuff. (diff) | |
parent | 'Offer Teleport' button in friends list is now enabled (diff) | |
download | meta-impy-f1b1e0dcb9f620f21c47e132d97fea6c0bf5eed6.zip meta-impy-f1b1e0dcb9f620f21c47e132d97fea6c0bf5eed6.tar.gz meta-impy-f1b1e0dcb9f620f21c47e132d97fea6c0bf5eed6.tar.bz2 meta-impy-f1b1e0dcb9f620f21c47e132d97fea6c0bf5eed6.tar.xz |
Merge branch 'offer-teleport' into next
-rw-r--r-- | ChangeLog.txt | 32 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterfriends.cpp | 5 | ||||
-rw-r--r-- | linden/indra/newview/llimpanel.cpp | 9 | ||||
-rw-r--r-- | linden/indra/newview/llimpanel.h | 1 | ||||
-rw-r--r-- | linden/indra/newview/llpanelavatar.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml | 3 |
6 files changed, 46 insertions, 6 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 1d8ea17..84ff38c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -8,8 +8,28 @@ | |||
8 | 8 | ||
9 | * Updated to SL source 1.21.2. | 9 | * Updated to SL source 1.21.2. |
10 | 10 | ||
11 | |||
12 | 2008-09-23 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
13 | |||
14 | * linden/indra/newview/llfloaterfriends.cpp: | ||
15 | 'Offer Teleport' button in friends list is now enabled | ||
16 | even when the selected user(s) appear to be offline. | ||
17 | Mostly for consistency, but also to allow a work-around | ||
18 | for times when presence is flakey. | ||
19 | |||
20 | |||
11 | 2008-09-22 Jacek Antonelli <jacek.antonelli@gmail.com> | 21 | 2008-09-22 Jacek Antonelli <jacek.antonelli@gmail.com> |
12 | 22 | ||
23 | * linden/indra/newview/llpanelavatar.cpp (setOnlineStatus): | ||
24 | 'Offer Teleport' button in avatar profile is now always enabled, | ||
25 | regardless of whether the other person is known to be online. | ||
26 | |||
27 | * linden/indra/newview/llimpanel.cpp: | ||
28 | 'Offer Teleport' button in IM panel is now always enabled, | ||
29 | regardless of whether the other person is known to be online. | ||
30 | Fixes crash introduced by VWR-2072 when IMing someone not on | ||
31 | your friends list, and makes the feature useful in more cases. | ||
32 | |||
13 | * linden/indra/newview/skins/default/xui/en-us/floater_tools.xml: | 33 | * linden/indra/newview/skins/default/xui/en-us/floater_tools.xml: |
14 | Increased maximum settable transparency from 90% to 100%. | 34 | Increased maximum settable transparency from 90% to 100%. |
15 | 35 | ||
@@ -60,6 +80,15 @@ | |||
60 | * linden/indra/newview/skins/default/xui/en-us/floater_bulk_perms.xml: | 80 | * linden/indra/newview/skins/default/xui/en-us/floater_bulk_perms.xml: |
61 | Ditto. | 81 | Ditto. |
62 | 82 | ||
83 | 2008-09-20 Paul Churchill <pnolan@dsl.pipex.com> | ||
84 | |||
85 | * linden/indra/newview/llimpanel.cpp: | ||
86 | VWR-2072: New Feature -> UI -> IM -> Teleport (other person) Button. | ||
87 | * linden/indra/newview/llimpanel.h: | ||
88 | Ditto. | ||
89 | * linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml: | ||
90 | Ditto. | ||
91 | |||
63 | 2008-09-19 Gigs Taggart <gigstaggart@gmail.com> | 92 | 2008-09-19 Gigs Taggart <gigstaggart@gmail.com> |
64 | 93 | ||
65 | * linden/indra/newview/app_settings/settings.xml: | 94 | * linden/indra/newview/app_settings/settings.xml: |
@@ -76,6 +105,9 @@ | |||
76 | 105 | ||
77 | 2008-09-19 McCabe Maxsted <hakushakukun@gmail.com> | 106 | 2008-09-19 McCabe Maxsted <hakushakukun@gmail.com> |
78 | 107 | ||
108 | * linden/indra/newview/skins/default/xui/en-us/panel_groups.xml: | ||
109 | VWR-8024: simplify group invites: invite to group from groups list. | ||
110 | |||
79 | * linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml: | 111 | * linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml: |
80 | VWR-1363: Add "Return Object" to the Tools menu. | 112 | VWR-1363: Add "Return Object" to the Tools menu. |
81 | 113 | ||
diff --git a/linden/indra/newview/llfloaterfriends.cpp b/linden/indra/newview/llfloaterfriends.cpp index 8fdaa52..acdd5ce 100644 --- a/linden/indra/newview/llfloaterfriends.cpp +++ b/linden/indra/newview/llfloaterfriends.cpp | |||
@@ -325,14 +325,9 @@ void LLPanelFriends::refreshRightsChangeList() | |||
325 | { | 325 | { |
326 | if(!friend_status->isOnline()) | 326 | if(!friend_status->isOnline()) |
327 | { | 327 | { |
328 | can_offer_teleport = false; | ||
329 | selected_friends_online = false; | 328 | selected_friends_online = false; |
330 | } | 329 | } |
331 | } | 330 | } |
332 | else // missing buddy info, don't allow any operations | ||
333 | { | ||
334 | can_offer_teleport = false; | ||
335 | } | ||
336 | } | 331 | } |
337 | 332 | ||
338 | if (num_selected == 0) // nothing selected | 333 | if (num_selected == 0) // nothing selected |
diff --git a/linden/indra/newview/llimpanel.cpp b/linden/indra/newview/llimpanel.cpp index c2b54f3..d8683ab 100644 --- a/linden/indra/newview/llimpanel.cpp +++ b/linden/indra/newview/llimpanel.cpp | |||
@@ -1247,6 +1247,7 @@ BOOL LLFloaterIMPanel::postBuild() | |||
1247 | childSetAction("end_call_btn", onClickEndCall, this); | 1247 | childSetAction("end_call_btn", onClickEndCall, this); |
1248 | childSetAction("send_btn", onClickSend, this); | 1248 | childSetAction("send_btn", onClickSend, this); |
1249 | childSetAction("toggle_active_speakers_btn", onClickToggleActiveSpeakers, this); | 1249 | childSetAction("toggle_active_speakers_btn", onClickToggleActiveSpeakers, this); |
1250 | childSetAction("offer_tp_btn", onClickOfferTeleport, this); | ||
1250 | 1251 | ||
1251 | childSetAction("moderator_kick_speaker", onKickSpeaker, this); | 1252 | childSetAction("moderator_kick_speaker", onKickSpeaker, this); |
1252 | //LLButton* close_btn = getChild<LLButton>("close_btn"); | 1253 | //LLButton* close_btn = getChild<LLButton>("close_btn"); |
@@ -1396,6 +1397,7 @@ void LLFloaterIMPanel::draw() | |||
1396 | childSetValue("mute_btn", LLMuteList::getInstance()->isMuted(mOtherParticipantUUID, LLMute::flagVoiceChat)); | 1397 | childSetValue("mute_btn", LLMuteList::getInstance()->isMuted(mOtherParticipantUUID, LLMute::flagVoiceChat)); |
1397 | childSetVisible("mute_btn", LLVoiceClient::voiceEnabled() && mVoiceChannel->isActive()); | 1398 | childSetVisible("mute_btn", LLVoiceClient::voiceEnabled() && mVoiceChannel->isActive()); |
1398 | } | 1399 | } |
1400 | |||
1399 | LLFloater::draw(); | 1401 | LLFloater::draw(); |
1400 | } | 1402 | } |
1401 | 1403 | ||
@@ -1732,6 +1734,13 @@ void LLFloaterIMPanel::onTabClick(void* userdata) | |||
1732 | self->setInputFocus(TRUE); | 1734 | self->setInputFocus(TRUE); |
1733 | } | 1735 | } |
1734 | 1736 | ||
1737 | // static | ||
1738 | void LLFloaterIMPanel::onClickOfferTeleport(void* userdata) | ||
1739 | { | ||
1740 | LLFloaterIMPanel* self = (LLFloaterIMPanel*) userdata; | ||
1741 | |||
1742 | handle_lure(self->mOtherParticipantUUID); | ||
1743 | } | ||
1735 | 1744 | ||
1736 | // static | 1745 | // static |
1737 | void LLFloaterIMPanel::onClickProfile( void* userdata ) | 1746 | void LLFloaterIMPanel::onClickProfile( void* userdata ) |
diff --git a/linden/indra/newview/llimpanel.h b/linden/indra/newview/llimpanel.h index 974fc4d..5bac0bd 100644 --- a/linden/indra/newview/llimpanel.h +++ b/linden/indra/newview/llimpanel.h | |||
@@ -231,6 +231,7 @@ public: | |||
231 | 231 | ||
232 | static void onClickProfile( void* userdata ); | 232 | static void onClickProfile( void* userdata ); |
233 | static void onClickGroupInfo( void* userdata ); | 233 | static void onClickGroupInfo( void* userdata ); |
234 | static void onClickOfferTeleport( void* userdata ); | ||
234 | static void onClickClose( void* userdata ); | 235 | static void onClickClose( void* userdata ); |
235 | static void onClickStartCall( void* userdata ); | 236 | static void onClickStartCall( void* userdata ); |
236 | static void onClickEndCall( void* userdata ); | 237 | static void onClickEndCall( void* userdata ); |
diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp index 7b21a15..76dbd1f 100644 --- a/linden/indra/newview/llpanelavatar.cpp +++ b/linden/indra/newview/llpanelavatar.cpp | |||
@@ -1318,7 +1318,7 @@ void LLPanelAvatar::setOnlineStatus(EOnlineStatus online_status) | |||
1318 | } | 1318 | } |
1319 | else | 1319 | else |
1320 | { | 1320 | { |
1321 | childSetEnabled("Offer Teleport...", (online_status == ONLINE_STATUS_YES)); | 1321 | childSetEnabled("Offer Teleport...", TRUE); |
1322 | childSetToolTip("Offer Teleport...", childGetValue("TeleportNormal").asString()); | 1322 | childSetToolTip("Offer Teleport...", childGetValue("TeleportNormal").asString()); |
1323 | } | 1323 | } |
1324 | } | 1324 | } |
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml index cce06b5..c3058c4 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml | |||
@@ -51,6 +51,9 @@ | |||
51 | image_unselected="icn_speaker_dark.tga" label="" left_delta="56" | 51 | image_unselected="icn_speaker_dark.tga" label="" left_delta="56" |
52 | name="mute_btn" tool_tip="Mute voice" width="25" /> | 52 | name="mute_btn" tool_tip="Mute voice" width="25" /> |
53 | </panel> | 53 | </panel> |
54 | <button bottom_delta="0" follows="right|top" font="SansSerif" | ||
55 | halign="center" bottom ="-40" height="20" label="Offer Teleport" right="-5" | ||
56 | mouse_opaque="true" name="offer_tp_btn" scale_image="true" width="102" /> | ||
54 | <text_editor type="string" length="1" bg_readonly_color="ChatHistoryBgColor" bg_writeable_color="ChatHistoryBgColor" | 57 | <text_editor type="string" length="1" bg_readonly_color="ChatHistoryBgColor" bg_writeable_color="ChatHistoryBgColor" |
55 | bottom="30" embedded_items="false" enabled="false" | 58 | bottom="30" embedded_items="false" enabled="false" |
56 | follows="left|top|right|bottom" font="SansSerif" height="221" left="5" | 59 | follows="left|top|right|bottom" font="SansSerif" height="221" left="5" |