mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
GtkStackSwitcher: unset tooltip
It was pointed out to me that we leave the tooltip behind when setting and unsetting an icon.
This commit is contained in:
parent
af49dd33cf
commit
a8a41b52ad
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user