mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename profile directory action
This commit is contained in:
parent
472aadb9d3
commit
b1f30fbd1e
6 changed files with 14 additions and 16 deletions
|
|
@ -22,7 +22,7 @@ impl Bar {
|
|||
// Construct
|
||||
pub fn new_arc(
|
||||
action_tool_debug: Arc<SimpleAction>,
|
||||
action_tool_profile_directory: Arc<SimpleAction>,
|
||||
action_tool_profile: Arc<SimpleAction>,
|
||||
action_quit: Arc<SimpleAction>,
|
||||
action_tab_append: Arc<SimpleAction>,
|
||||
action_tab_close: Arc<SimpleAction>,
|
||||
|
|
@ -40,7 +40,7 @@ impl Bar {
|
|||
let append = Append::new_arc(action_tab_append.clone());
|
||||
let menu = Menu::new_arc(
|
||||
action_tool_debug,
|
||||
action_tool_profile_directory,
|
||||
action_tool_profile,
|
||||
action_quit,
|
||||
action_tab_append,
|
||||
action_tab_close,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ pub struct Menu {
|
|||
impl Menu {
|
||||
pub fn new_arc(
|
||||
action_tool_debug: Arc<SimpleAction>,
|
||||
action_tool_profile_directory: Arc<SimpleAction>,
|
||||
action_tool_profile: Arc<SimpleAction>,
|
||||
action_quit: Arc<SimpleAction>,
|
||||
action_tab_append: Arc<SimpleAction>,
|
||||
action_tab_close: Arc<SimpleAction>,
|
||||
|
|
@ -63,7 +63,7 @@ impl Menu {
|
|||
|
||||
let model_tool = gio::Menu::new();
|
||||
model_tool.append(Some("Debug"), Some(&detailed_action_name(action_tool_debug)));
|
||||
model_tool.append(Some("Profile directory"), Some(&detailed_action_name(action_tool_profile_directory)));
|
||||
model_tool.append(Some("Profile"), Some(&detailed_action_name(action_tool_profile)));
|
||||
|
||||
model.append_submenu(Some("Tool"), &model_tool);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue