diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-18 19:15:17 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-18 19:16:09 +0800 |
commit | c977e894c549b8bb146e23dd5ce88509a30c96cd (patch) | |
tree | 491ed779b83a86ea841190d430bdde052ff87ad9 /tests/interactive | |
parent | aac60300edfcb929acca9e4fc59cdb5803eecc30 (diff) | |
download | gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar.gz gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar.bz2 gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar.lz gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar.xz gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.tar.zst gsoc2013-empathy-c977e894c549b8bb146e23dd5ce88509a30c96cd.zip |
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/interactive')
-rw-r--r-- | tests/interactive/test-empathy-roster-view.c | 7 |
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); |