Fix casing of OpenZedUrl
action (#7045)
This PR updates the casing of the `OpenZedUrl` action to match the [Rust naming guidelines](https://rust-lang.github.io/api-guidelines/naming.html). Release Notes: - N/A
This commit is contained in:
parent
0cb8b0e451
commit
372bc427bd
3 changed files with 6 additions and 6 deletions
|
@ -38,7 +38,7 @@ use workspace::{
|
|||
create_and_open_local_file, notifications::simple_message_notification::MessageNotification,
|
||||
open_new, AppState, NewFile, NewWindow, Workspace, WorkspaceSettings,
|
||||
};
|
||||
use zed_actions::{OpenBrowser, OpenSettings, OpenZedURL, Quit};
|
||||
use zed_actions::{OpenBrowser, OpenSettings, OpenZedUrl, Quit};
|
||||
|
||||
actions!(
|
||||
zed,
|
||||
|
@ -201,7 +201,7 @@ pub fn initialize_workspace(app_state: Arc<AppState>, cx: &mut AppContext) {
|
|||
.register_action(|_, _: &ToggleFullScreen, cx| {
|
||||
cx.toggle_full_screen();
|
||||
})
|
||||
.register_action(|_, action: &OpenZedURL, cx| {
|
||||
.register_action(|_, action: &OpenZedUrl, cx| {
|
||||
cx.global::<Arc<OpenListener>>()
|
||||
.open_urls(&[action.url.clone()])
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue