Skip to content

Commit

Permalink
Merge pull request #1642 from LarsGit223/NoActionCmd
Browse files Browse the repository at this point in the history
Show status message on attempt to execute empty context action.
  • Loading branch information
b4n committed Jan 12, 2018
2 parents 1f71ccd + 01b0fc6 commit 385fff7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,10 @@ void on_context_action1_activate(GtkMenuItem *menuitem, gpointer user_data)
}
g_free(command_line);
}
else
{
ui_set_statusbar(TRUE, _("No context action set."));
}
g_free(word);
g_free(command);
}
Expand Down

0 comments on commit 385fff7

Please sign in to comment.