43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
--- a/libnemo-private/nemo-icon-container.c
|
|
+++ b/libnemo-private/nemo-icon-container.c
|
|
@@ -4249,11 +4249,13 @@ realize (GtkWidget *widget)
|
|
|
|
container = NEMO_ICON_CONTAINER (widget);
|
|
|
|
+#if !GTK_CHECK_VERSION(3, 21, 0)
|
|
/* Ensure that the desktop window is native so the background
|
|
set on it is drawn by X. */
|
|
if (container->details->is_desktop) {
|
|
gdk_x11_window_get_xid (gtk_layout_get_bin_window (GTK_LAYOUT (widget)));
|
|
}
|
|
+#endif
|
|
|
|
/* Set up DnD. */
|
|
nemo_icon_dnd_init (container);
|
|
--- a/src/nemo-desktop-icon-view.c
|
|
+++ b/src/nemo-desktop-icon-view.c
|
|
@@ -155,6 +155,10 @@ nemo_desktop_icon_view_class_init (NemoD
|
|
vclass->update_menus = real_update_menus;
|
|
vclass->get_view_id = real_get_id;
|
|
|
|
+#if GTK_CHECK_VERSION(3, 21, 0)
|
|
+ GtkWidgetClass *wclass = GTK_WIDGET_CLASS (class);
|
|
+ gtk_widget_class_set_css_name (wclass, "nemo-desktop-icon-view");
|
|
+#endif
|
|
g_type_class_add_private (class, sizeof (NemoDesktopIconViewDetails));
|
|
}
|
|
|
|
--- a/src/nemo-style-application.css
|
|
+++ b/src/nemo-style-application.css
|
|
@@ -1,5 +1,10 @@
|
|
/* Desktop text stuff */
|
|
|
|
+.nemo-window.nemo-desktop-window notebook,
|
|
+.nemo-window.nemo-desktop-window paned {
|
|
+ background-color: transparent;
|
|
+}
|
|
+
|
|
.nemo-canvas-item {
|
|
border-radius: 3px;
|
|
}
|