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