[gnome-documents] gd-nav-bar: Set linked styleclass on the buttons
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] gd-nav-bar: Set linked styleclass on the buttons
- Date: Wed, 16 Mar 2016 16:22:57 +0000 (UTC)
commit 395c0f900362be021f799222957e819f8134d3f1
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Mar 16 17:11:22 2016 +0100
gd-nav-bar: Set linked styleclass on the buttons
src/lib/gd-nav-bar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lib/gd-nav-bar.c b/src/lib/gd-nav-bar.c
index 7552966..beec7b9 100644
--- a/src/lib/gd-nav-bar.c
+++ b/src/lib/gd-nav-bar.c
@@ -1047,6 +1047,8 @@ gd_nav_bar_init (GdNavBar *self)
gtk_container_add (GTK_CONTAINER (self), inner_box);
priv->button_area = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (priv->button_area)),
+ GTK_STYLE_CLASS_LINKED);
gtk_widget_show (priv->button_area);
gtk_box_pack_start (GTK_BOX (inner_box), priv->button_area, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]