From fe9f8ed9568f4124b3e9af7575bc76f5b7258dcf Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Mar 26 2016 12:06:50 +0000 Subject: fix another gtk-3.19 issue --- diff --git a/gtk-3.20_pathbar_fix.patch b/gtk-3.20_pathbar_fix.patch new file mode 100644 index 0000000..d9162a4 --- /dev/null +++ b/gtk-3.20_pathbar_fix.patch @@ -0,0 +1,13 @@ +--- a/src/nemo-pathbar.c ++++ b/src/nemo-pathbar.c +@@ -616,7 +616,9 @@ + if (path_bar->priv->button_list == NULL) { + return; + } +- direction = gtk_widget_get_direction (widget); ++ gtk_widget_get_preferred_width (path_bar->priv->up_slider_button, ++ &path_bar->priv->slider_width, ++ NULL); + + gtk_widget_get_preferred_size (BUTTON_DATA (path_bar->priv->button_list->data)->button, + NULL, &child_requisition); diff --git a/nemo.spec b/nemo.spec index eb4a5f7..3a0e433 100644 --- a/nemo.spec +++ b/nemo.spec @@ -3,7 +3,7 @@ Name: nemo Summary: File manager for Cinnamon Version: 2.8.7 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ Group: User Interface/Desktops URL: https://github.com/linuxmint/nemo @@ -16,6 +16,7 @@ Patch0: nemo_style-classes.patch Patch1: nemo_style-class-properties-window.patch Patch2: gcc_6.patch Patch3: 0001-GTK-3.20-fix-wrong-desktop-size.patch +Patch4: gtk-3.20_pathbar_fix.patch Requires: redhat-menus Requires: gvfs @@ -167,6 +168,9 @@ fi %{_datadir}/gir-1.0/*.gir %changelog +* Sat Mar 26 2016 Leigh Scott - 2.8.7-3 +- fix another gtk-3.19 issue + * Fri Mar 25 2016 Leigh Scott - 2.8.7-2 - fix gtk-3.19 issue