summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-22 21:28:38 +0100
committerraveit65 <[email protected]>2017-03-23 12:05:37 +0100
commite36440bd9a98f8e8b515bdef3d41e73638befb91 (patch)
tree67352da78b38f451b989afaeacdd47b74a697eee /src
parent2824b8a07650ec74a5dd8bd61536a4635176bf2b (diff)
downloadengrampa-e36440bd9a98f8e8b515bdef3d41e73638befb91.tar.bz2
engrampa-e36440bd9a98f8e8b515bdef3d41e73638befb91.tar.xz
add style class frame to scrolledwindows
Diffstat (limited to 'src')
-rw-r--r--src/fr-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 52a3d40..23cc6a8 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -5420,6 +5420,7 @@ fr_window_construct (FrWindow *window)
{
GtkWidget *menubar;
GtkWidget *toolbar;
+ GtkStyleContext *context;
GtkWidget *list_scrolled_window;
GtkWidget *location_box;
GtkStatusbar *statusbar;
@@ -5699,6 +5700,8 @@ fr_window_construct (FrWindow *window)
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (list_scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
+ context = gtk_widget_get_style_context (list_scrolled_window);
+ gtk_style_context_add_class (context, "frame");
gtk_container_add (GTK_CONTAINER (list_scrolled_window), window->priv->list_view);
/* filter bar */
@@ -5775,6 +5778,8 @@ fr_window_construct (FrWindow *window)
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (tree_scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
+ context = gtk_widget_get_style_context (tree_scrolled_window);
+ gtk_style_context_add_class (context, "frame");
gtk_container_add (GTK_CONTAINER (tree_scrolled_window), window->priv->tree_view);
/* side pane */