[Xfce4-commits] [apps/xfce4-taskmanager] 03/14: Add a tooltip to explain the colors in the treeview
noreply at xfce.org
noreply at xfce.org
Fri Dec 19 22:58:33 CET 2014
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository apps/xfce4-taskmanager.
commit 358893d02bb96e3f2ac3b9d28fb3c3dd9c4d0098
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Dec 19 12:39:00 2014 +0100
Add a tooltip to explain the colors in the treeview
---
src/process-window.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/process-window.c b/src/process-window.c
index 91cb71e..e8a7192 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -116,6 +116,7 @@ xtm_process_window_init (XtmProcessWindow *window)
{
GtkWidget *button;
gint width, height;
+ gchar *markup;
window->settings = xtm_settings_get_default ();
@@ -181,6 +182,11 @@ xtm_process_window_init (XtmProcessWindow *window)
window->treeview = xtm_process_tree_view_new ();
gtk_widget_show (window->treeview);
+ markup = g_strdup_printf (_("<span foreground='#000000' background='#aed581'> </span> Starting task\n"
+ "<span foreground='#000000' background='#fff176'> </span> Changing task\n"
+ "<span foreground='#000000' background='#e57373'> </span> Terminating task"));
+ gtk_widget_set_tooltip_markup (GTK_WIDGET (gtk_builder_get_object (window->builder, "scrolledwindow")), markup);
+ g_free (markup);
gtk_container_add (GTK_CONTAINER (gtk_builder_get_object (window->builder, "scrolledwindow")), window->treeview);
window->filter_entry = GTK_WIDGET(gtk_builder_get_object (window->builder, "filter-entry"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list