diff options
author | McCabe Maxsted | 2010-05-23 22:24:31 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:42:59 -0500 |
commit | 70d5b72316c3885b6224352e5512105229d7f8ff (patch) | |
tree | 34c6760dab60b393e147f3d51bfa4429ff8198c7 /linden/indra/newview | |
parent | Added option Advanced > Rendering > Animate Trees to toggle linden tree swaying (diff) | |
download | meta-impy-70d5b72316c3885b6224352e5512105229d7f8ff.zip meta-impy-70d5b72316c3885b6224352e5512105229d7f8ff.tar.gz meta-impy-70d5b72316c3885b6224352e5512105229d7f8ff.tar.bz2 meta-impy-70d5b72316c3885b6224352e5512105229d7f8ff.tar.xz |
Fixed missing Notification Console menu entry from Advanced > Consoles
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/llviewerwindow.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 9 |
3 files changed, 14 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index b4b5532..3adab3c 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -760,7 +760,6 @@ void init_client_menu(LLMenuGL* menu) | |||
760 | 760 | ||
761 | sub->appendSeparator(); | 761 | sub->appendSeparator(); |
762 | 762 | ||
763 | // For Imprudence 1.3 - need to XUIfy | ||
764 | // Debugging view for unified notifications | 763 | // Debugging view for unified notifications |
765 | sub->append(new LLMenuItemCallGL("Notifications Console...", | 764 | sub->append(new LLMenuItemCallGL("Notifications Console...", |
766 | &handle_show_notifications_console, NULL, NULL, '5', MASK_CONTROL|MASK_SHIFT )); | 765 | &handle_show_notifications_console, NULL, NULL, '5', MASK_CONTROL|MASK_SHIFT )); |
@@ -8423,6 +8422,11 @@ class LLAdvancedToggleConsole : public view_listener_t | |||
8423 | { | 8422 | { |
8424 | toggle_visibility( (void*)gDebugView->mMemoryView ); | 8423 | toggle_visibility( (void*)gDebugView->mMemoryView ); |
8425 | } | 8424 | } |
8425 | else if ("notifications" == console_type) | ||
8426 | { | ||
8427 | // Don't find the instance, it'll force it to show on login screen -- MC | ||
8428 | LLFloaterNotificationConsole::toggleInstance(); | ||
8429 | } | ||
8426 | return true; | 8430 | return true; |
8427 | } | 8431 | } |
8428 | }; | 8432 | }; |
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 340d7a3..047f198 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp | |||
@@ -2194,7 +2194,7 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask) | |||
2194 | && (MASK_CONTROL & mask) | 2194 | && (MASK_CONTROL & mask) |
2195 | && ('5' == key)) | 2195 | && ('5' == key)) |
2196 | { | 2196 | { |
2197 | LLFloaterNotificationConsole::showInstance(); | 2197 | LLFloaterNotificationConsole::toggleInstance(); |
2198 | return TRUE; | 2198 | return TRUE; |
2199 | } | 2199 | } |
2200 | 2200 | ||
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index 27b709b..d5d21fb 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -879,6 +879,12 @@ | |||
879 | </menu_item_check> | 879 | </menu_item_check> |
880 | --> | 880 | --> |
881 | <menu_item_separator /> | 881 | <menu_item_separator /> |
882 | <menu_item_call name="Notifications Console..." label="Notifications Console..." | ||
883 | shortcut="control|shift|5"> | ||
884 | <on_click function="Advanced.ToggleConsole" | ||
885 | userdata="notifications" /> | ||
886 | </menu_item_call> | ||
887 | <menu_item_separator /> | ||
882 | <menu_item_call name="Region Info to Debug Console" | 888 | <menu_item_call name="Region Info to Debug Console" |
883 | label="Region Info to Debug Console"> | 889 | label="Region Info to Debug Console"> |
884 | <on_click function="Advanced.DumpInfoToConsole" | 890 | <on_click function="Advanced.DumpInfoToConsole" |
@@ -894,7 +900,8 @@ | |||
894 | <on_click function="Advanced.DumpInfoToConsole" | 900 | <on_click function="Advanced.DumpInfoToConsole" |
895 | userdata="capabilities" /> | 901 | userdata="capabilities" /> |
896 | </menu_item_call> | 902 | </menu_item_call> |
897 | </menu> | 903 | |
904 | </menu> | ||
898 | 905 | ||
899 | 906 | ||
900 | <menu_item_call name="Reload personal setting overrides" | 907 | <menu_item_call name="Reload personal setting overrides" |