From: Florian Zeitz Date: Tue, 29 Jan 2013 22:24:32 +0000 (+0100) Subject: Add a status tooltip to the roster X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=92e36a6a8e999e69c1750f1215dfe50ca0088035;p=jubjub.git Add a status tooltip to the roster --- 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);