[gtk: 1/2] pathbar: Set .slider-button style class to slider buttons again
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] pathbar: Set .slider-button style class to slider buttons again
- Date: Sat, 15 Aug 2020 10:49:03 +0000 (UTC)
commit 667b3b117d17ecddc79b9a72955ff217afa7c8f0
Author: nana-4 <hnmaigo gmail com>
Date: Sat Aug 15 18:31:32 2020 +0900
pathbar: Set .slider-button style class to slider buttons again
This was set in the .ui file that no longer exists, so we need to set it
again here.
gtk/gtkpathbar.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 7b52d40b01..9e8e6adc58 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]