diff --git a/crates/gpui/src/platform/windows/directx_renderer.rs b/crates/gpui/src/platform/windows/directx_renderer.rs index 8e7a0ac142439b9625d44223194d302e2517195e..79b79c551383c6ecc498e99c0e06c40e65db0e44 100644 --- a/crates/gpui/src/platform/windows/directx_renderer.rs +++ b/crates/gpui/src/platform/windows/directx_renderer.rs @@ -1016,7 +1016,7 @@ impl PipelineState { ) -> Result<()> { if self.buffer_size < data.len() { let new_buffer_size = data.len().next_power_of_two(); - log::info!( + log::debug!( "Updating {} buffer size from {} to {}", self.label, self.buffer_size, diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs index 7c59329f428f73285a218b3c59e215bfa80564fb..4b355a2d855509a093643c49b908b78ee4103b51 100644 --- a/crates/workspace/src/pane.rs +++ b/crates/workspace/src/pane.rs @@ -2802,7 +2802,16 @@ impl Pane { .icon_size(IconSize::Small) .disabled(!toggleable) .tooltip(move |_, cx| { - Tooltip::with_meta("Unlock File", None, "This will make this file editable", cx) + if toggleable { + Tooltip::with_meta( + "Unlock File", + None, + "This will make this file editable", + cx, + ) + } else { + Tooltip::with_meta("Locked File", None, "This file is read-only", cx) + } }) .on_click(cx.listener(move |pane, _, window, cx| { if let Some(item) = pane.item_for_index(ix) { diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rs index 86589423022d3d4a6fcba4db58c188fa62074315..69b0be24e7ffb09d3fe759ec0bd3d54b54db21d3 100644 --- a/crates/worktree/src/worktree.rs +++ b/crates/worktree/src/worktree.rs @@ -4469,7 +4469,7 @@ impl BackgroundScanner { Ok(Some(metadata)) => metadata, Ok(None) => continue, Err(err) => { - log::error!("error processing {child_abs_path:?}: {err:#}"); + log::error!("error processing {:?}: {err:#}", child_abs_path.display()); continue; } };