mirror of
https://github.com/lencx/ChatGPT.git
synced 2024-10-01 01:06:13 -04:00
Merge pull request #420 from vangie/patch-2
This commit is contained in:
commit
618f3483d6
@ -423,13 +423,13 @@ pub fn tray_menu() -> SystemTray {
|
|||||||
"hide_dock_icon".to_string(),
|
"hide_dock_icon".to_string(),
|
||||||
"Hide Dock Icon",
|
"Hide Dock Icon",
|
||||||
))
|
))
|
||||||
.add_item(CustomMenuItem::new("show_core".to_string(), "Show ChatGPT"));
|
.add_item(CustomMenuItem::new("show_core".to_string(), "Show Window"));
|
||||||
}
|
}
|
||||||
|
|
||||||
SystemTray::new().with_menu(
|
SystemTray::new().with_menu(
|
||||||
tray_menu
|
tray_menu
|
||||||
.add_native_item(SystemTrayMenuItem::Separator)
|
.add_native_item(SystemTrayMenuItem::Separator)
|
||||||
.add_item(CustomMenuItem::new("quit".to_string(), "Quit ChatGPT")),
|
.add_item(CustomMenuItem::new("quit".to_string(), "Quit")),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
SystemTray::new().with_menu(
|
SystemTray::new().with_menu(
|
||||||
@ -438,9 +438,9 @@ pub fn tray_menu() -> SystemTray {
|
|||||||
"control_center".to_string(),
|
"control_center".to_string(),
|
||||||
"Control Center",
|
"Control Center",
|
||||||
))
|
))
|
||||||
.add_item(CustomMenuItem::new("show_core".to_string(), "Show ChatGPT"))
|
.add_item(CustomMenuItem::new("show_core".to_string(), "Show Window"))
|
||||||
.add_native_item(SystemTrayMenuItem::Separator)
|
.add_native_item(SystemTrayMenuItem::Separator)
|
||||||
.add_item(CustomMenuItem::new("quit".to_string(), "Quit ChatGPT")),
|
.add_item(CustomMenuItem::new("quit".to_string(), "Quit")),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user