mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename action
This commit is contained in:
parent
12c1c80092
commit
330075164d
4 changed files with 14 additions and 14 deletions
|
|
@ -201,7 +201,7 @@ impl Menu for MenuButton {
|
|||
menu_item.set_action_and_target_value(Some(&format!(
|
||||
"{}.{}",
|
||||
window_action.id,
|
||||
window_action.open.simple_action.name()
|
||||
window_action.load.simple_action.name()
|
||||
)), Some(&request.to_variant()));
|
||||
|
||||
main_bookmarks.append_item(&menu_item);
|
||||
|
|
@ -215,7 +215,7 @@ impl Menu for MenuButton {
|
|||
menu_item.set_action_and_target_value(Some(&format!(
|
||||
"{}.{}",
|
||||
window_action.id,
|
||||
window_action.open.simple_action.name()
|
||||
window_action.load.simple_action.name()
|
||||
)), Some(&item_request.to_variant()));
|
||||
|
||||
main_history_tab.append_item(&menu_item);
|
||||
|
|
@ -293,7 +293,7 @@ fn menu_item(action: &WindowAction, uri: &Uri, is_parent: bool) -> gio::MenuItem
|
|||
Some(&format!(
|
||||
"{}.{}",
|
||||
action.id,
|
||||
action.open.simple_action.name()
|
||||
action.load.simple_action.name()
|
||||
)),
|
||||
Some(&uri.to_string().to_variant()),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue