mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +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
|
|
@ -56,6 +56,19 @@ impl Menu {
|
|||
|
||||
main.append_section(None, &main_mark);
|
||||
|
||||
let main_tools = gtk::gio::Menu::new();
|
||||
|
||||
main_tools.append(
|
||||
Some("Source"),
|
||||
Some(&format!(
|
||||
"{}.{}",
|
||||
window_action.id,
|
||||
window_action.source.gobject.name()
|
||||
)),
|
||||
);
|
||||
|
||||
main.append_section(None, &main_tools);
|
||||
|
||||
let navigation = gtk::gio::Menu::new();
|
||||
|
||||
navigation.append(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue