aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 2c18e3ce0d..ffef719f17 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -339,8 +339,9 @@ paint_search_text (GtkWidget *widget, ESearchBar *esb)
}
t = g_strdup_printf ("%s: %s\n%s", _("Search"), text, _("Click here to change the search type"));
- gtk_tooltips_set_tip (esb->tooltips, esb->option_button, t, "Search type");
+ gtk_widget_set_tooltip_text (esb->option_button, t);
g_free (t);
+
gtk_widget_set_sensitive (esb->clear_button, FALSE);
}
@@ -474,7 +475,7 @@ option_activated_cb (GtkWidget *widget,
else
t = g_strdup_printf ("%s: %s", _("Search"), _("Click here to change the search type"));
- gtk_tooltips_set_tip (esb->tooltips, esb->option_button, t, "Search type");
+ gtk_widget_set_tooltip_text (esb->option_button, t);
g_free (t);
}
@@ -934,7 +935,6 @@ init (ESearchBar *esb)
esb->scopeoption = NULL;
esb->scopeoption_box = NULL;
- esb->tooltips = NULL;
esb->pending_activate = 0;
esb->item_id = 0;
@@ -970,8 +970,6 @@ e_search_bar_construct (ESearchBar *search_bar,
gtk_box_set_homogeneous (GTK_BOX (search_bar), FALSE);
- search_bar->tooltips = gtk_tooltips_new ();
-
bighbox = gtk_hbox_new (FALSE, 0);
search_bar->entry_box = gtk_hbox_new (0, FALSE);
search_bar->icon_entry = e_icon_entry_new ();