summaryrefslogtreecommitdiff
path: root/thunar/thunar-location-buttons.c
diff options
context:
space:
mode:
authorAlexander Schwinn <acs82@gmx.de>2017-09-22 08:49:35 +0200
committerAlexander Schwinn <acs82@gmx.de>2017-09-23 22:01:59 +0200
commitc2c833ff3edfed23695fe17cb509ce4bdb13f123 (patch)
treec850e99e15127072cb89a0d8736f43125c327c3f /thunar/thunar-location-buttons.c
parent0ab3cdbf120a2918e1b5f0b6ba90f25fa8f1f317 (diff)
downloadthunar-c2c833ff3edfed23695fe17cb509ce4bdb13f123.tar.gz
Overwrite "margin-right" of the used theme with 0 for the
pathbar-buttons
Diffstat (limited to 'thunar/thunar-location-buttons.c')
-rw-r--r--thunar/thunar-location-buttons.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/thunar/thunar-location-buttons.c b/thunar/thunar-location-buttons.c
index 8bf2dabc..50a63192 100644
--- a/thunar/thunar-location-buttons.c
+++ b/thunar/thunar-location-buttons.c
@@ -307,6 +307,14 @@ thunar_location_buttons_init (ThunarLocationButtons *buttons)
GTK_STYLE_CLASS_LINKED);
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (buttons)),
"path-bar");
+
+ /* add sub-buttons to css class which matches all buttons in the path-bar */
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (buttons->left_slider)),
+ "path-bar-button");
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (buttons->right_slider)),
+ "path-bar-button");
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (buttons->filler_widget)),
+ "path-bar-button");
}