mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
move proxy menu item to the settings submenu
This commit is contained in:
parent
d60b46a333
commit
c34db6b5f7
1 changed files with 11 additions and 6 deletions
|
|
@ -149,12 +149,17 @@ impl Menu for MenuButton {
|
|||
browser_action.history.simple_action.name()
|
||||
)));
|
||||
|
||||
// Main > Proxy connection
|
||||
main.append(Some("Proxy connection"), Some(&format!(
|
||||
// Main > Settings
|
||||
let main_settings = gio::Menu::new();
|
||||
|
||||
// Main > Settings > Proxy connection
|
||||
main_settings.append(Some("Proxy connection"), Some(&format!(
|
||||
"{}.{}",
|
||||
browser_action.id,
|
||||
browser_action.proxy.simple_action.name()
|
||||
))); // @TODO make the Settings submenu
|
||||
)));
|
||||
|
||||
main.append_submenu(Some("Settings"), &main_settings);
|
||||
|
||||
// Main > Tool
|
||||
let main_tool = gio::Menu::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue