Commit a8a41b52 authored by Matthias Clasen's avatar Matthias Clasen

GtkStackSwitcher: unset tooltip

It was pointed out to me that we leave the tooltip behind
when setting and unsetting an icon.
parent af49dd33
......@@ -122,6 +122,8 @@ rebuild_child (GtkWidget *self,
button_child = gtk_label_new (title);
gtk_widget_set_tooltip_text (GTK_WIDGET (self), NULL);
gtk_style_context_remove_class (context, "image-button");
gtk_style_context_add_class (context, "text-button");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment