summaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-27 12:53:39 +0100
committerStefano Karapetsas <[email protected]>2014-01-27 12:53:39 +0100
commit2bbe6bed65d37db6390f2b45fa6be6ee714df4fb (patch)
tree77b3dcc2f2c177b53db5d959a3629e5fe3e88b08 /command
parentad455000190cf4843e06b0128b979b1ab154bc38 (diff)
downloadmate-applets-2bbe6bed65d37db6390f2b45fa6be6ee714df4fb.tar.bz2
mate-applets-2bbe6bed65d37db6390f2b45fa6be6ee714df4fb.tar.xz
command: Show the executed command as tooltip
Diffstat (limited to 'command')
-rw-r--r--command/command.c2
1 files changed, 2 insertions, 0 deletions
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 */