Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
cf8a1636
Commit
cf8a1636
authored
14 years ago
by
callum
Browse files
Options
Downloads
Patches
Plain Diff
SOCIAL-423 FIX Display name and username are wrong in My Profile tab
parent
8d2c4369
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llpanelavatar.cpp
+12
-1
12 additions, 1 deletion
indra/newview/llpanelavatar.cpp
indra/newview/skins/default/xui/en/panel_my_profile.xml
+2
-2
2 additions, 2 deletions
indra/newview/skins/default/xui/en/panel_my_profile.xml
with
14 additions
and
3 deletions
indra/newview/llpanelavatar.cpp
+
12
−
1
View file @
cf8a1636
...
@@ -628,7 +628,18 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g
...
@@ -628,7 +628,18 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g
void
LLPanelAvatarProfile
::
got_full_name_callback
(
const
LLUUID
&
id
,
const
std
::
string
&
full_name
,
bool
is_group
)
void
LLPanelAvatarProfile
::
got_full_name_callback
(
const
LLUUID
&
id
,
const
std
::
string
&
full_name
,
bool
is_group
)
{
{
LLStringUtil
::
format_map_t
args
;
LLStringUtil
::
format_map_t
args
;
args
[
"[NAME]"
]
=
full_name
;
std
::
string
name
;
if
(
LLAvatarNameCache
::
useDisplayNames
())
{
name
=
LLCacheName
::
buildUsername
(
full_name
);
}
else
{
name
=
full_name
;
}
args
[
"[NAME]"
]
=
name
;
std
::
string
linden_name
=
getString
(
"name_text_args"
,
args
);
std
::
string
linden_name
=
getString
(
"name_text_args"
,
args
);
getChild
<
LLUICtrl
>
(
"name_descr_text"
)
->
setValue
(
linden_name
);
getChild
<
LLUICtrl
>
(
"name_descr_text"
)
->
setValue
(
linden_name
);
...
...
This diff is collapsed.
Click to expand it.
indra/newview/skins/default/xui/en/panel_my_profile.xml
+
2
−
2
View file @
cf8a1636
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
height=
"15"
height=
"15"
layout=
"topleft"
layout=
"topleft"
left_pad=
"10"
left_pad=
"10"
name=
"name_descr_text"
name=
"
display_
name_descr_text"
text_color=
"0.7 0.7 0.7 1.0"
text_color=
"0.7 0.7 0.7 1.0"
top_delta=
"0"
top_delta=
"0"
width=
"280"
>
width=
"280"
>
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
height=
"15"
height=
"15"
layout=
"topleft"
layout=
"topleft"
left_delta=
"0"
left_delta=
"0"
name=
"
display_
name_descr_text"
name=
"name_descr_text"
text_color=
"0.4 0.4 0.4 1.0"
text_color=
"0.4 0.4 0.4 1.0"
top_delta=
"20"
top_delta=
"20"
width=
"280"
>
width=
"280"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment