Hello community, here is the log from the commit of package nemo for openSUSE:Factory checked in at 2016-09-30 15:32:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nemo (Old) and /work/SRC/openSUSE:Factory/.nemo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nemo" Changes: -------- --- /work/SRC/openSUSE:Factory/nemo/nemo.changes 2016-06-25 02:24:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nemo.new/nemo.changes 2016-09-30 15:32:54.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 27 12:38:17 UTC 2016 - sor.alexei@meowr.ru + +- Add nemo-fix-desktop-redraw.patch from upstream commit 4e5a103: + fix a GTK+ 3.21.3+ desktop (boo#1001431, gh#linuxmint/nemo#1231). + +------------------------------------------------------------------- New: ---- nemo-fix-desktop-redraw.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nemo.spec ++++++ --- /var/tmp/diff_new_pack.4yWqhD/_old 2016-09-30 15:32:57.000000000 +0200 +++ /var/tmp/diff_new_pack.4yWqhD/_new 2016-09-30 15:32:57.000000000 +0200 @@ -31,6 +31,8 @@ Patch1: %{name}-implicit-pointer-decl.patch # PATCH-FIX-UPSTREAM nemo-void-return-no-return.patch margueirte@opensuse.org -- Fix OBS gcc checks. Patch2: %{name}-void-return-no-return.patch +# PATCH-FIX-UPSTREAM nemo-fix-desktop-redraw.patch boo#1001431 gh#linuxmint/nemo#1231 -- Fix a GTK+ 3.21.3+ desktop redraw issue (commit 4e5a103). +Patch3: %{name}-fix-desktop-redraw.patch BuildRequires: cinnamon-translations BuildRequires: fdupes BuildRequires: gnome-common @@ -109,6 +111,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build NOCONFIGURE=1 gnome-autogen.sh ++++++ nemo-fix-desktop-redraw.patch ++++++ --- 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; }