[appearance] fix tooltip in the background chooser

Set the has-tooltip property to enable tooltips on items in the background
chooser.

Also remove the custom tooltip timeout value so that it is now consistent
with the rest of the desktop.

Patch from: Matthias Clasen <mclasen@redhat.com>

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=596369
This commit is contained in:
Thomas Wood 2009-11-21 14:49:08 +00:00
parent a4e16a1cc5
commit 9ebd7c4721

View file

@ -1148,8 +1148,6 @@ desktop_init (AppearanceData *data,
GtkCellRenderer *cr;
char *url;
g_object_set (gtk_settings_get_default (), "gtk-tooltip-timeout", 500, NULL);
data->wp_update_gconf = TRUE;
data->wp_uris = NULL;
@ -1289,6 +1287,7 @@ desktop_init (AppearanceData *data,
(GCallback) wp_props_wp_selected, data);
g_signal_connect (data->wp_view, "query-tooltip",
(GCallback) wp_view_tooltip_cb, data);
gtk_widget_set_has_tooltip (data->wp_view, TRUE);
wp_set_sensitivities (data);