diff --git a/0001-replace-margin-left-margin-right.patch b/0001-replace-margin-left-margin-right.patch new file mode 100644 index 0000000..5461ae1 --- /dev/null +++ b/0001-replace-margin-left-margin-right.patch @@ -0,0 +1,57 @@ +From abba241f48445f335498193b3572d509dbe47cb7 Mon Sep 17 00:00:00 2001 +From: leigh123linux +Date: Tue, 1 Sep 2015 15:54:21 +0100 +Subject: [PATCH] replace margin-left & margin-right + +--- + src/nemo-floating-bar.c | 4 ++-- + src/nemo-progress-ui-handler.c | 4 ++-- + src/nemo-search-bar.c | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/nemo-floating-bar.c b/src/nemo-floating-bar.c +index 104c8a7..7ed8f25 100644 +--- a/src/nemo-floating-bar.c ++++ b/src/nemo-floating-bar.c +@@ -238,8 +238,8 @@ nemo_floating_bar_constructed (GObject *obj) + g_object_set (w, + "margin-top", 2, + "margin-bottom", 2, +- "margin-left", 12, +- "margin-right", 12, ++ "margin-start", 12, ++ "margin-end", 12, + NULL); + self->priv->label_widget = w; + gtk_widget_show (w); +diff --git a/src/nemo-progress-ui-handler.c b/src/nemo-progress-ui-handler.c +index 9a6be3d..c742522 100644 +--- a/src/nemo-progress-ui-handler.c ++++ b/src/nemo-progress-ui-handler.c +@@ -224,8 +224,8 @@ progress_ui_handler_ensure_window (NemoProgressUIHandler *self) + gtk_container_add (GTK_CONTAINER (frame), w); + + g_object_set (priv->list, +- "margin-left", 5, +- "margin-right", 5, ++ "margin-start", 5, ++ "margin-end", 5, + "margin-top", 5, + "margin-bottom", 5, + NULL); +diff --git a/src/nemo-search-bar.c b/src/nemo-search-bar.c +index adff2c4..f738259 100644 +--- a/src/nemo-search-bar.c ++++ b/src/nemo-search-bar.c +@@ -151,7 +151,7 @@ nemo_search_bar_init (NemoSearchBar *bar) + gtk_box_pack_start (GTK_BOX (bar), label, FALSE, FALSE, 0); + + g_object_set (label, +- "margin-left", 6, ++ "margin-start", 6, + NULL); + + align = gtk_alignment_new (0.5, 0.5, 1.0, 1.0); +-- +2.4.3 + diff --git a/nemo.spec b/nemo.spec index 2bbc7fd..b2d73ed 100644 --- a/nemo.spec +++ b/nemo.spec @@ -3,7 +3,7 @@ Name: nemo Summary: File manager for Cinnamon Version: 2.6.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ Group: User Interface/Desktops URL: https://github.com/linuxmint/nemo @@ -12,6 +12,7 @@ URL: https://github.com/linuxmint/nemo #Source0: http://leigh123linux.fedorapeople.org/pub/nemo/source/nemo-%%{version}.git%%{_internal_version}.tar.gz Source0: http://leigh123linux.fedorapeople.org/pub/nemo/source/nemo-%{version}.tar.gz Source1: nemo-fedora.gschema.override +Patch0: 0001-replace-margin-left-margin-right.patch Requires: redhat-menus Requires: gvfs @@ -163,6 +164,9 @@ fi %{_datadir}/gir-1.0/*.gir %changelog +* Tue Sep 01 2015 Leigh Scott - 2.6.7-2 +- fix deprecation warning + * Sun Jun 28 2015 Leigh Scott - 2.6.7-1 - update to 2.6.7 release - clean up scriptlets