From 76d5f19b5d0b5036c178c89bbbc07dc33e0fcd3247c1ff135c0bf2281f1a5433 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 25 Oct 2015 23:47:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=77 --- nemo-statusbar-size.patch | 11 +++++++++++ nemo.changes | 2 ++ nemo.spec | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 nemo-statusbar-size.patch diff --git a/nemo-statusbar-size.patch b/nemo-statusbar-size.patch new file mode 100644 index 0000000..76685e7 --- /dev/null +++ b/nemo-statusbar-size.patch @@ -0,0 +1,11 @@ +--- a/src/nemo-statusbar.c ++++ b/src/nemo-statusbar.c +@@ -186,7 +186,7 @@ nemo_status_bar_constructed (GObject *ob + + bar->real_statusbar = statusbar; + +- GtkIconSize size = gtk_icon_size_from_name (NEMO_STATUSBAR_ICON_SIZE_NAME); ++ GtkIconSize size = gtk_icon_size_register ("", 16, 16); + + context = gtk_widget_get_style_context (GTK_WIDGET (bar)); + gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOOLBAR); diff --git a/nemo.changes b/nemo.changes index c325917..6eec128 100644 --- a/nemo.changes +++ b/nemo.changes @@ -43,6 +43,8 @@ Wed Oct 21 14:05:01 UTC 2015 - sor.alexei@meowr.ru - Fix dependencies. - Rename and rebase nemo-2.4.0-void-return-no-return.patch to nemo-2.8.0-void-return-no-return.patch +- Add nemo-statusbar-size.patch: make statusbar small despite what + icon theme may default for scalables. - Some cleanup. ------------------------------------------------------------------- diff --git a/nemo.spec b/nemo.spec index 41a4981..68d6a0e 100644 --- a/nemo.spec +++ b/nemo.spec @@ -31,6 +31,8 @@ Source: https://github.com/linuxmint/%{name}/archive/%{version}/%{name}- Patch1: %{name}-implicit-pointer-decl.patch # PATCH-FIX-UPSTREAM nemo-2.8.0-void-return-no-return.patch margueirte@opensuse.org -- Fix OBS gcc checks. Patch2: %{name}-2.8.0-void-return-no-return.patch +# PATCH-FIX-OPENSUSE nemo-statusbar-size.patch sor.alexei@meowr.ru -- Make statusbar small despite what icon theme may default for scalables. +Patch3: %{name}-statusbar-size.patch BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: gtk-doc @@ -108,6 +110,7 @@ This package provides the GObject Introspection bindings for Nemo. %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build NOCONFIGURE=1 gnome-autogen.sh