[gnome-builder] dock-bin: set PANE_SEPARATOR class when rendering handles
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] dock-bin: set PANE_SEPARATOR class when rendering handles
- Date: Fri, 22 Apr 2016 21:00:53 +0000 (UTC)
commit 36f9ab27615f660b64553fabdac3e0d7f23b9258
Author: Christian Hergert <chergert redhat com>
Date: Fri Apr 22 05:14:36 2016 -0700
dock-bin: set PANE_SEPARATOR class when rendering handles
contrib/pnl/pnl-dock-bin.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/contrib/pnl/pnl-dock-bin.c b/contrib/pnl/pnl-dock-bin.c
index 9e52168..16669d4 100644
--- a/contrib/pnl/pnl-dock-bin.c
+++ b/contrib/pnl/pnl-dock-bin.c
@@ -1414,6 +1414,8 @@ pnl_dock_bin_draw (GtkWidget *widget,
style_context = gtk_widget_get_style_context (widget);
+ gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_PANE_SEPARATOR);
+
for (i = 0; i < PNL_DOCK_BIN_CHILD_CENTER; i++)
{
PnlDockBinChild *child = &priv->children [i];
@@ -1469,6 +1471,8 @@ pnl_dock_bin_draw (GtkWidget *widget,
}
}
+ gtk_style_context_remove_class (style_context, GTK_STYLE_CLASS_PANE_SEPARATOR);
+
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]