From 2bbe6bed65d37db6390f2b45fa6be6ee714df4fb Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 27 Jan 2014 12:53:39 +0100 Subject: command: Show the executed command as tooltip --- command/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command/command.c') diff --git a/command/command.c b/command/command.c index a476a690..abb888f0 100644 --- a/command/command.c +++ b/command/command.c @@ -225,6 +225,8 @@ command_execute (CommandApplet *command_applet) if (g_spawn_command_line_sync (command_applet->command, &output, NULL, &ret, &error)) { + gtk_widget_set_tooltip_text (GTK_WIDGET (command_applet->label), command_applet->command); + if ((output != NULL) && (output[0] != 0)) { /* check if output is a custom GKeyFile */ -- cgit v1.2.1