[geany/geany] 385fff: Merge pull request #1642 from LarsGit223/NoActionCmd

Colomban Wendling git-noreply at xxxxx
Fri Jan 12 06:18:16 UTC 2018


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 12 Jan 2018 06:18:16 UTC
Commit:      385fff7b270e1b9e4c43c01d7636158fd5cd294a
             https://github.com/geany/geany/commit/385fff7b270e1b9e4c43c01d7636158fd5cd294a

Log Message:
-----------
Merge pull request #1642 from LarsGit223/NoActionCmd

Show status message on attempt to execute empty context action.


Modified Paths:
--------------
    src/callbacks.c

Modified: src/callbacks.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -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);
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list