From d0232c0008ea81b147ca7505ebffbdf6b9a1a309 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Mon, 4 Nov 2024 21:47:36 +0800 Subject: Add seconds to compact view timestamps https://megapahit.com/show_bug.cgi?id=81 Without the date, though. --- indra/newview/llfloaterimsessiontab.cpp | 3 ++- indra/newview/skins/default/xui/en/language_settings.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp index 2621ce576c..bdc7fdeadc 100644 --- a/indra/newview/llfloaterimsessiontab.cpp +++ b/indra/newview/llfloaterimsessiontab.cpp @@ -556,7 +556,8 @@ void LLFloaterIMSessionTab::deleteAllChildren() std::string LLFloaterIMSessionTab::appendTime() { std::string timeStr = "[" + LLTrans::getString("TimeHour") + "]:" - "[" + LLTrans::getString("TimeMin") + "]"; + "[" + LLTrans::getString("TimeMin") + "]:" + "[" + LLTrans::getString("TimeSec") + "]"; LLSD substitution; substitution["datetime"] = (S32)time_corrected(); diff --git a/indra/newview/skins/default/xui/en/language_settings.xml b/indra/newview/skins/default/xui/en/language_settings.xml index 24e58c9936..e76387da47 100644 --- a/indra/newview/skins/default/xui/en/language_settings.xml +++ b/indra/newview/skins/default/xui/en/language_settings.xml @@ -37,6 +37,7 @@ hour,datetime,slt min,datetime,slt + second,datetime,slt year,datetime,slt day,datetime,slt mthnum,datetime,slt -- cgit v1.2.3 From 42fe5f9444d049505d893f33edcfd522c0a4315e Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Tue, 5 Nov 2024 15:33:33 +0800 Subject: Option to zoom in using double click https://megapahit.com/show_bug.cgi?id=102 --- indra/newview/app_settings/settings.xml | 11 +++++++++++ indra/newview/llpanelpeople.cpp | 6 ++++++ indra/newview/skins/default/xui/en/panel_preferences_move.xml | 9 +++++++++ 3 files changed, 26 insertions(+) (limited to 'indra') diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index bd49f003c5..cd82f6122d 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -2546,6 +2546,17 @@ Value 1 + DoubleClickZoomIn + + Comment + Set double-click to zoom in on instead of IM avatar + Persist + 1 + Type + Boolean + Value + 0 + DynamicCameraStrength Comment diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp index 366c80f580..72fa553023 100644 --- a/indra/newview/llpanelpeople.cpp +++ b/indra/newview/llpanelpeople.cpp @@ -1127,6 +1127,12 @@ void LLPanelPeople::onAvatarListDoubleClicked(LLUICtrl* ctrl) #if 0 // SJB: Useful for testing, but not currently functional or to spec LLAvatarActions::showProfile(clicked_id); #else // spec says open IM window + if (item->getParentUICtrl()->getParentUICtrl() == mNearbyList + && gSavedSettings.getBOOL("DoubleClickZoomIn")) + { + handle_zoom_to_object(clicked_id); + return; + } LLAvatarActions::startIM(clicked_id); #endif } diff --git a/indra/newview/skins/default/xui/en/panel_preferences_move.xml b/indra/newview/skins/default/xui/en/panel_preferences_move.xml index 0412466b4f..8202bb9de3 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_move.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_move.xml @@ -268,6 +268,15 @@ name="sound_on_collisions" top_pad="10" width="200" /> +