summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-18 13:15:17 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-18 13:16:09 +0200
commitc977e894c549b8bb146e23dd5ce88509a30c96cd (patch)
tree491ed779b83a86ea841190d430bdde052ff87ad9 /tests
parentaac60300edfcb929acca9e4fc59cdb5803eecc30 (diff)
downloadempathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar.gz
roster-view: use a signal instead of a cb to handle individual tooltips
https://bugzilla.gnome.org/show_bug.cgi?id=678294
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive/test-empathy-roster-view.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c
index becb3325e..d0f739d71 100644
--- a/tests/interactive/test-empathy-roster-view.c
+++ b/tests/interactive/test-empathy-roster-view.c
@@ -113,13 +113,14 @@ main (int argc,
G_CALLBACK (popup_individual_menu_cb), NULL);
g_signal_connect (view, "notify::empty",
G_CALLBACK (empty_cb), NULL);
+ g_signal_connect (view, "individual-tooltip",
+ G_CALLBACK (individual_tooltip_cb), NULL);
+
+ gtk_widget_set_has_tooltip (view, TRUE);
empathy_roster_view_show_offline (EMPATHY_ROSTER_VIEW (view), show_offline);
empathy_roster_view_show_groups (EMPATHY_ROSTER_VIEW (view), show_groups);
- empathy_roster_view_set_individual_tooltip_cb (EMPATHY_ROSTER_VIEW (view),
- individual_tooltip_cb, NULL);
-
g_object_unref (mgr);
search = empathy_live_search_new (view);