From 92e36a6a8e999e69c1750f1215dfe50ca0088035 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Tue, 29 Jan 2013 23:24:32 +0100 Subject: [PATCH] Add a status tooltip to the roster --- data/gtk/roster.ui | 3 +++ src/gui/gtk/JubGtkRosterUI.m | 3 +++ 2 files changed, 6 insertions(+) diff --git a/data/gtk/roster.ui b/data/gtk/roster.ui index a39890a..cadb855 100644 --- a/data/gtk/roster.ui +++ b/data/gtk/roster.ui @@ -41,6 +41,8 @@ + + @@ -227,6 +229,7 @@ True RosterTreeModelFilter 0 + 3 diff --git a/src/gui/gtk/JubGtkRosterUI.m b/src/gui/gtk/JubGtkRosterUI.m index bc1b368..4102e34 100644 --- a/src/gui/gtk/JubGtkRosterUI.m +++ b/src/gui/gtk/JubGtkRosterUI.m @@ -372,6 +372,9 @@ static gboolean filter_roster_by_presence(GtkTreeModel *model, else if ([presence.type isEqual: @"unavailable"]) gtk_tree_store_set(roster_model, &iter, 2, "unavailable", -1); + + gtk_tree_store_set(roster_model, &iter, + 3, [presence.status UTF8String], -1); } gtk_tree_model_filter_refilter(roster_filter); -- 2.39.5