mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
add view source menu item
This commit is contained in:
parent
85735d33e2
commit
e66b065fc3
8 changed files with 124 additions and 0 deletions
|
|
@ -59,6 +59,17 @@ impl Menu {
|
|||
|
||||
main_page.append_section(None, &main_page_mark);
|
||||
|
||||
// Main > Page > Tools
|
||||
let main_page_tools = gio::Menu::new();
|
||||
|
||||
main_page_tools.append(Some("Source"), Some(&format!(
|
||||
"{}.{}",
|
||||
window_action.id,
|
||||
window_action.source.gobject.name()
|
||||
)));
|
||||
|
||||
main_page.append_section(None, &main_page_tools);
|
||||
|
||||
// Main > Page > Navigation
|
||||
let main_page_navigation = gio::Menu::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue