From e303a08c05cfd198594f79168837c0b33429ac59 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 20 Apr 2016 20:05:26 +0200 Subject: Fixed vertical scrollbar style --- firefox-gtk3-20.patch | 2 +- firefox.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firefox-gtk3-20.patch b/firefox-gtk3-20.patch index cc9caf6..099daa2 100644 --- a/firefox-gtk3-20.patch +++ b/firefox-gtk3-20.patch @@ -255,7 +255,7 @@ diff -up firefox-45.0.2/widget/gtk/gtk3drawing.c.gtk3-20 firefox-45.0.2/widget/g + if (!gVertScrollbar.widget && !gHorizScrollbar.widget) { + GtkCssNode path[] = { + { GTK_TYPE_SCROLLBAR, "scrollbar", "horizontal", "bottom"}, -+ { GTK_TYPE_SCROLLBAR, "scrollbar", "vertical", "left" }, ++ { GTK_TYPE_SCROLLBAR, "scrollbar", "vertical", "right" }, + { G_TYPE_NONE, "contents", NULL, NULL }, + { G_TYPE_NONE, "trough", NULL, NULL }, + { G_TYPE_NONE, "slider", NULL, NULL } diff --git a/firefox.spec b/firefox.spec index 1a06136..be505db 100644 --- a/firefox.spec +++ b/firefox.spec @@ -87,7 +87,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 45.0.2 -Release: 3%{?pre_tag}%{?dist} +Release: 4%{?pre_tag}%{?dist} URL: https://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -806,7 +806,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog -* Wed Apr 20 2016 Martin Stransky - 45.0.2-3 +* Wed Apr 20 2016 Martin Stransky - 45.0.2-4 - Updated scrollbar code for Gtk 3.20 * Mon Apr 18 2016 Martin Stransky - 45.0.2-2 -- cgit