diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterbeacons.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterbeacons.h | 2 | ||||
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/floater_beacons.xml | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloaterbeacons.cpp b/linden/indra/newview/llfloaterbeacons.cpp index 2dee000..d636776 100644 --- a/linden/indra/newview/llfloaterbeacons.cpp +++ b/linden/indra/newview/llfloaterbeacons.cpp | |||
@@ -69,18 +69,18 @@ BOOL LLFloaterBeacons::postBuild() | |||
69 | } | 69 | } |
70 | 70 | ||
71 | // Needed to make the floater visibility toggle the beacons. | 71 | // Needed to make the floater visibility toggle the beacons. |
72 | // Too bad we can't just add control_name="BeaconAlwaysOn" to the XML. | 72 | // Too bad we can't just add control_name="BeaconsEnabled" to the XML. |
73 | void LLFloaterBeacons::open() | 73 | void LLFloaterBeacons::open() |
74 | { | 74 | { |
75 | LLFloater::open(); | 75 | LLFloater::open(); |
76 | gSavedSettings.setBOOL( "BeaconAlwaysOn", TRUE); | 76 | gSavedSettings.setBOOL( "BeaconsEnabled", TRUE); |
77 | } | 77 | } |
78 | void LLFloaterBeacons::close(bool app_quitting) | 78 | void LLFloaterBeacons::close(bool app_quitting) |
79 | { | 79 | { |
80 | LLFloater::close(app_quitting); | 80 | LLFloater::close(app_quitting); |
81 | if(!app_quitting) | 81 | if(!app_quitting) |
82 | { | 82 | { |
83 | gSavedSettings.setBOOL( "BeaconAlwaysOn", FALSE); | 83 | gSavedSettings.setBOOL( "BeaconsEnabled", FALSE); |
84 | } | 84 | } |
85 | } | 85 | } |
86 | 86 | ||
diff --git a/linden/indra/newview/llfloaterbeacons.h b/linden/indra/newview/llfloaterbeacons.h index 29aac17..15b1385 100644 --- a/linden/indra/newview/llfloaterbeacons.h +++ b/linden/indra/newview/llfloaterbeacons.h | |||
@@ -43,7 +43,7 @@ public: | |||
43 | /*virtual*/ BOOL postBuild(); | 43 | /*virtual*/ BOOL postBuild(); |
44 | 44 | ||
45 | // Needed to make the floater visibility toggle the beacons. | 45 | // Needed to make the floater visibility toggle the beacons. |
46 | // Too bad we can't just add control_name="BeaconAlwaysOn" to the XML. | 46 | // Too bad we can't just add control_name="BeaconsEnabled" to the XML. |
47 | /*virtual*/ void open(); | 47 | /*virtual*/ void open(); |
48 | /*virtual*/ void close(bool app_quitting); | 48 | /*virtual*/ void close(bool app_quitting); |
49 | 49 | ||
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index bb1982f..df7c084 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -1689,7 +1689,7 @@ bool idle_startup() | |||
1689 | LLFloaterActiveSpeakers::showInstance(); | 1689 | LLFloaterActiveSpeakers::showInstance(); |
1690 | } | 1690 | } |
1691 | 1691 | ||
1692 | if (gSavedSettings.getBOOL("BeaconAlwaysOn")) | 1692 | if (gSavedSettings.getBOOL("BeaconsEnabled")) |
1693 | { | 1693 | { |
1694 | LLFloaterBeacons::showInstance(); | 1694 | LLFloaterBeacons::showInstance(); |
1695 | } | 1695 | } |
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_beacons.xml b/linden/indra/newview/skins/default/xui/en-us/floater_beacons.xml index 0fb1aaf..958e488 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_beacons.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_beacons.xml | |||
@@ -2,7 +2,7 @@ | |||
2 | <floater can_close="true" can_drag_on_left="false" can_minimize="true" can_resize="false" | 2 | <floater can_close="true" can_drag_on_left="false" can_minimize="true" can_resize="false" |
3 | width="250" height="225" | 3 | width="250" height="225" |
4 | name="beacons" title="Beacons" | 4 | name="beacons" title="Beacons" |
5 | rect_control="FloaterBeaconsRect" control_name="BeaconAlwaysOn"> | 5 | rect_control="FloaterBeaconsRect" control_name="BeaconsEnabled"> |
6 | <panel bottom="10" follows="left|top|right|bottom" left="10" width="230" height="200" name="beacons_panel"> | 6 | <panel bottom="10" follows="left|top|right|bottom" left="10" width="230" height="200" name="beacons_panel"> |
7 | <check_box bottom_delta="-33" follows="left|top" left="0" name="touch_only" label="Scripted Objects with Touch Only" control_name="scripttouchbeacon" /> | 7 | <check_box bottom_delta="-33" follows="left|top" left="0" name="touch_only" label="Scripted Objects with Touch Only" control_name="scripttouchbeacon" /> |
8 | <check_box bottom_delta="-20" follows="left|top" left="0" name="scripted" label="Scripted Objects" control_name="scriptsbeacon" /> | 8 | <check_box bottom_delta="-20" follows="left|top" left="0" name="scripted" label="Scripted Objects" control_name="scriptsbeacon" /> |