diff --git a/panels/background/background.ui b/panels/background/background.ui
index 53fd99065..c3ffc1383 100644
--- a/panels/background/background.ui
+++ b/panels/background/background.ui
@@ -30,7 +30,7 @@
+ True
+ True
1
+
+
+ True
+ False
+ 1
+
+
+ True
+ False
+ False
+ True
+ list-add-symbolic
+
+
+ False
+ True
+
+
+
+
+ False
+ True
+ 2
+
+
False
+ True
0
True
- vertical
+ False
6
True
+ False
24
True
+ False
0
Current background
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 5464dcf63..015afbc24 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -757,6 +757,7 @@ cc_background_panel_init (CcBackgroundPanel *self)
GError *err = NULL;
GtkWidget *widget;
GtkListStore *store;
+ GtkStyleContext *context;
priv = self->priv = BACKGROUND_PANEL_PRIVATE (self);
@@ -830,6 +831,14 @@ cc_background_panel_init (CcBackgroundPanel *self)
G_CALLBACK (backgrounds_changed_cb),
self);
+ /* Join treeview and buttons */
+ widget = WID ("scrolledwindow1");
+ context = gtk_widget_get_style_context (widget);
+ gtk_style_context_set_junction_sides (context, GTK_JUNCTION_BOTTOM);
+ widget = WID ("toolbar1");
+ context = gtk_widget_get_style_context (widget);
+ gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);
+
/* setup preview area */
widget = WID ("preview-area");
g_signal_connect (widget, "draw", G_CALLBACK (preview_draw_cb),