Add tab tooltips
This commit is contained in:
parent
e655a6c767
commit
ebe57254e0
10 changed files with 119 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
mod base_keymap_picker;
|
||||
|
||||
use std::sync::Arc;
|
||||
use std::{borrow::Cow, sync::Arc};
|
||||
|
||||
use db::kvp::KEY_VALUE_STORE;
|
||||
use gpui::{
|
||||
|
@ -198,6 +198,10 @@ impl WelcomePage {
|
|||
}
|
||||
|
||||
impl Item for WelcomePage {
|
||||
fn tab_tooltip_text<'a>(&'a self, _: &'a AppContext) -> Option<Cow<'a, str>> {
|
||||
Some("Welcome to Zed!".into())
|
||||
}
|
||||
|
||||
fn tab_content(
|
||||
&self,
|
||||
_detail: Option<usize>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue