Merge branch 'slider-button-style-class-again' into 'master'

pathbar: Set .slider-button style class to slider buttons again

See merge request GNOME/gtk!2443
This commit is contained in:
Timm Bäder 2020-08-15 10:49:02 +00:00
commit 5e35ca5692

View File

@ -210,9 +210,11 @@ gtk_path_bar_init (GtkPathBar *path_bar)
const char *home;
path_bar->up_slider_button = gtk_button_new_from_icon_name ("pan-start-symbolic");
gtk_widget_add_css_class (path_bar->up_slider_button, "slider-button");
gtk_widget_set_parent (path_bar->up_slider_button, GTK_WIDGET (path_bar));
path_bar->down_slider_button = gtk_button_new_from_icon_name ("pan-end-symbolic");
gtk_widget_add_css_class (path_bar->down_slider_button, "slider-button");
gtk_widget_set_parent (path_bar->down_slider_button, GTK_WIDGET (path_bar));
/* GtkBuilder wont let us connect 'swapped' without specifying the signal's