diff options
author | raveit65 <[email protected]> | 2017-03-23 09:27:35 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-03-23 11:04:45 +0100 |
commit | 52a3d30957889eb37e65e9c4416dbe0ea79a109c (patch) | |
tree | d8c831e11f4a044f5833268c0483ca877ee6543f /src | |
parent | 7a378aa7109c6bc08050b1ba94d0f9b5c1ec0bc1 (diff) | |
download | caja-52a3d30957889eb37e65e9c4416dbe0ea79a109c.tar.bz2 caja-52a3d30957889eb37e65e9c4416dbe0ea79a109c.tar.xz |
property-browser: add style class frame to scrolledwindows
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-property-browser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c index 437e0bec..f89b4937 100644 --- a/src/caja-property-browser.c +++ b/src/caja-property-browser.c @@ -2172,6 +2172,7 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser) gboolean got_categories; char *name, *image, *type, *description, *display_name, *path, *mode; const char *text; + GtkStyleContext *context; /* load the xml document corresponding to the path and selection */ document = read_browser_xml (property_browser); @@ -2188,6 +2189,8 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser) /* allocate a new container, with a scrollwindow and viewport */ property_browser->details->content_frame = gtk_scrolled_window_new (NULL, NULL); + context = gtk_widget_get_style_context (GTK_WIDGET (property_browser->details->content_frame)); + gtk_style_context_add_class (context, "frame"); gtk_widget_set_vexpand (property_browser->details->content_frame, TRUE); viewport = gtk_viewport_new (NULL, NULL); gtk_widget_show(viewport); |