diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-03 00:34:25 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-03 00:34:25 +0800 |
commit | e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54 (patch) | |
tree | 6a24d5606130f9d9678317c153d8863aa492cde1 | |
parent | 4727ecc2d74b973c9ddc2f2726c71dfd52b3593f (diff) | |
download | gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.tar gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.tar.gz gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.tar.bz2 gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.tar.lz gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.tar.xz gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.tar.zst gsoc2013-empathy-e1e2ba3c0cd2bcbdfee6e84503746f67fe574f54.zip |
Only display tooltip on the contact list if running with GTK >= 2.12.10.
svn path=/trunk/; revision=1139
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 6f8bd064d..60a4d845f 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -131,6 +131,11 @@ contact_list_view_query_tooltip_cb (EmpathyContactListView *view, GtkTreeIter iter; GtkTreePath *path; + /* FIXME: We need GTK version >= 2.12.10. See GNOME bug #504087 */ + if (100 * gtk_minor_version + gtk_micro_version < 1210) { + return FALSE; + } + if (!gtk_tree_view_get_tooltip_context (GTK_TREE_VIEW (view), &x, &y, keyboard_mode, &model, &path, &iter)) { |