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
c3cb28ec
Commit
c3cb28ec
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
minor cosmetic changes to spelling floater
parent
6c0922df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llfloaterspellchecksettings.cpp
+2
-6
2 additions, 6 deletions
indra/newview/llfloaterspellchecksettings.cpp
with
2 additions
and
6 deletions
indra/newview/llfloaterspellchecksettings.cpp
+
2
−
6
View file @
c3cb28ec
...
@@ -69,7 +69,7 @@ BOOL LLFloaterSpellCheckerSettings::postBuild(void)
...
@@ -69,7 +69,7 @@ BOOL LLFloaterSpellCheckerSettings::postBuild(void)
getChild
<
LLUICtrl
>
(
"spellcheck_main_combo"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLFloaterSpellCheckerSettings
::
refreshDictionaries
,
this
,
false
));
getChild
<
LLUICtrl
>
(
"spellcheck_main_combo"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLFloaterSpellCheckerSettings
::
refreshDictionaries
,
this
,
false
));
getChild
<
LLUICtrl
>
(
"spellcheck_moveleft_btn"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLFloaterSpellCheckerSettings
::
onBtnMove
,
this
,
"spellcheck_active_list"
,
"spellcheck_available_list"
));
getChild
<
LLUICtrl
>
(
"spellcheck_moveleft_btn"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLFloaterSpellCheckerSettings
::
onBtnMove
,
this
,
"spellcheck_active_list"
,
"spellcheck_available_list"
));
getChild
<
LLUICtrl
>
(
"spellcheck_moveright_btn"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLFloaterSpellCheckerSettings
::
onBtnMove
,
this
,
"spellcheck_available_list"
,
"spellcheck_active_list"
));
getChild
<
LLUICtrl
>
(
"spellcheck_moveright_btn"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLFloaterSpellCheckerSettings
::
onBtnMove
,
this
,
"spellcheck_available_list"
,
"spellcheck_active_list"
));
center
();
return
true
;
return
true
;
}
}
...
@@ -85,8 +85,6 @@ void LLFloaterSpellCheckerSettings::onBtnMove(const std::string& from, const std
...
@@ -85,8 +85,6 @@ void LLFloaterSpellCheckerSettings::onBtnMove(const std::string& from, const std
LLSD
row
;
LLSD
row
;
row
[
"columns"
][
0
][
"column"
]
=
"name"
;
row
[
"columns"
][
0
][
"column"
]
=
"name"
;
row
[
"columns"
][
0
][
"font"
][
"name"
]
=
"SANSSERIF_SMALL"
;
row
[
"columns"
][
0
][
"font"
][
"style"
]
=
"NORMAL"
;
std
::
vector
<
LLScrollListItem
*>
sel_items
=
from_ctrl
->
getAllSelected
();
std
::
vector
<
LLScrollListItem
*>
sel_items
=
from_ctrl
->
getAllSelected
();
std
::
vector
<
LLScrollListItem
*>::
const_iterator
sel_it
;
std
::
vector
<
LLScrollListItem
*>::
const_iterator
sel_it
;
...
@@ -164,7 +162,6 @@ void LLFloaterSpellCheckerSettings::refreshDictionaries(bool from_settings)
...
@@ -164,7 +162,6 @@ void LLFloaterSpellCheckerSettings::refreshDictionaries(bool from_settings)
dict_cur
=
LLSpellChecker
::
instance
().
getPrimaryDictionary
();
dict_cur
=
LLSpellChecker
::
instance
().
getPrimaryDictionary
();
}
}
dict_combo
->
clearRows
();
dict_combo
->
clearRows
();
dict_combo
->
setEnabled
(
enabled
);
const
LLSD
&
dict_map
=
LLSpellChecker
::
getDictionaryMap
();
const
LLSD
&
dict_map
=
LLSpellChecker
::
getDictionaryMap
();
if
(
dict_map
.
size
())
if
(
dict_map
.
size
())
...
@@ -182,6 +179,7 @@ void LLFloaterSpellCheckerSettings::refreshDictionaries(bool from_settings)
...
@@ -182,6 +179,7 @@ void LLFloaterSpellCheckerSettings::refreshDictionaries(bool from_settings)
dict_combo
->
clear
();
dict_combo
->
clear
();
}
}
}
}
dict_combo
->
setEnabled
(
enabled
);
// Populate the available and active dictionary list
// Populate the available and active dictionary list
LLScrollListCtrl
*
avail_ctrl
=
findChild
<
LLScrollListCtrl
>
(
"spellcheck_available_list"
);
LLScrollListCtrl
*
avail_ctrl
=
findChild
<
LLScrollListCtrl
>
(
"spellcheck_available_list"
);
...
@@ -210,8 +208,6 @@ void LLFloaterSpellCheckerSettings::refreshDictionaries(bool from_settings)
...
@@ -210,8 +208,6 @@ void LLFloaterSpellCheckerSettings::refreshDictionaries(bool from_settings)
LLSD
row
;
LLSD
row
;
row
[
"columns"
][
0
][
"column"
]
=
"name"
;
row
[
"columns"
][
0
][
"column"
]
=
"name"
;
row
[
"columns"
][
0
][
"font"
][
"name"
]
=
"SANSSERIF_SMALL"
;
row
[
"columns"
][
0
][
"font"
][
"style"
]
=
"NORMAL"
;
active_ctrl
->
clearRows
();
active_ctrl
->
clearRows
();
active_ctrl
->
setEnabled
(
enabled
);
active_ctrl
->
setEnabled
(
enabled
);
...
...
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