Skip to content

Commit

Permalink
fix(pods-panel): Use correct action name to create pods
Browse files Browse the repository at this point in the history
  • Loading branch information
marhkb committed Sep 18, 2022
1 parent 99097f0 commit f67977d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/resources/ui/pods/panel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

<child>
<object class="GtkButton" id="create_button">
<property name="action-name">pods.create</property>
<property name="action-name">pods-panel.create-pod</property>
<property name="icon-name">list-add-symbolic</property>
</object>
</child>
Expand Down
2 changes: 1 addition & 1 deletion src/view/pods/panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::model::SelectableListExt;
use crate::utils;
use crate::view;

const ACTION_CREATE_POD: &str = "pods-panel.create-container";
const ACTION_CREATE_POD: &str = "pods-panel.create-pod";
const ACTION_START_OR_RESUME_SELECTION: &str = "pods-panel.start-or-resume-selection";
const ACTION_STOP_SELECTION: &str = "pods-panel.stop-selection";
const ACTION_PAUSE_SELECTION: &str = "pods-panel.pause-selection";
Expand Down

0 comments on commit f67977d

Please sign in to comment.