mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename profile directory action
This commit is contained in:
parent
472aadb9d3
commit
b1f30fbd1e
6 changed files with 14 additions and 16 deletions
|
|
@ -24,7 +24,7 @@ impl Window {
|
|||
pub fn new(
|
||||
// Actions
|
||||
action_tool_debug: Arc<SimpleAction>,
|
||||
action_tool_profile_directory: Arc<SimpleAction>,
|
||||
action_tool_profile: Arc<SimpleAction>,
|
||||
action_quit: Arc<SimpleAction>,
|
||||
action_update: Arc<SimpleAction>,
|
||||
action_tab_append: Arc<SimpleAction>,
|
||||
|
|
@ -48,7 +48,7 @@ impl Window {
|
|||
let header = Header::new_arc(
|
||||
// Actions
|
||||
action_tool_debug.clone(),
|
||||
action_tool_profile_directory.clone(),
|
||||
action_tool_profile.clone(),
|
||||
action_quit.clone(),
|
||||
action_tab_append.clone(),
|
||||
action_tab_close.clone(),
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ impl Header {
|
|||
pub fn new_arc(
|
||||
// Actions
|
||||
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>,
|
||||
|
|
@ -33,7 +33,7 @@ impl Header {
|
|||
// Init components
|
||||
let bar = Bar::new_arc(
|
||||
action_tool_debug,
|
||||
action_tool_profile_directory,
|
||||
action_tool_profile,
|
||||
action_quit,
|
||||
action_tab_append,
|
||||
action_tab_close,
|
||||
|
|
|
|||
|
|
@ -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