diff options
author | Martin Stransky <stransky@redhat.com> | 2016-06-02 12:32:28 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2016-06-02 12:32:28 +0200 |
commit | e82a7745df6f700a914edc5999eda6b84d705894 (patch) | |
tree | 50216cc782bbcbcea30b9712dc054a481a271065 /mozilla-1216658.patch | |
parent | Merge branches with master (diff) | |
download | librewolf-fedora-ff-e82a7745df6f700a914edc5999eda6b84d705894.tar.gz librewolf-fedora-ff-e82a7745df6f700a914edc5999eda6b84d705894.tar.bz2 librewolf-fedora-ff-e82a7745df6f700a914edc5999eda6b84d705894.zip |
Updated to 47.0
Diffstat (limited to 'mozilla-1216658.patch')
-rw-r--r-- | mozilla-1216658.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mozilla-1216658.patch b/mozilla-1216658.patch deleted file mode 100644 index c2cdd27..0000000 --- a/mozilla-1216658.patch +++ /dev/null @@ -1,30 +0,0 @@ -# HG changeset patch -# User Nicolas Silva <nsilva@mozilla.com> -# Parent 0711218a018d912036f7d3be2ae2649e213cfb85 -Bug 1216658 - Ignore Gt3 dark themes and use light theme's color scheme for native widgets. r=karlt - -diff --git a/widget/gtk/nsLookAndFeel.cpp b/widget/gtk/nsLookAndFeel.cpp ---- a/widget/gtk/nsLookAndFeel.cpp -+++ b/widget/gtk/nsLookAndFeel.cpp -@@ -966,16 +966,21 @@ nsLookAndFeel::Init() - sMenuHoverText = GDK_COLOR_TO_NS_RGB(style->fg[GTK_STATE_PRELIGHT]); - } - - g_object_unref(menu); - #else - GdkRGBA color; - GtkStyleContext *style; - -+ // Disable dark theme because it interracts poorly with wdget styling in -+ // web content. -+ g_object_set(gtk_settings_get_default (), -+ "gtk-application-prefer-dark-theme", FALSE, NULL); -+ - // Gtk manages a screen's CSS in the settings object so we - // ask Gtk to create it explicitly. Otherwise we may end up - // with wrong color theme, see Bug 972382 - (void)gtk_settings_get_for_screen(gdk_screen_get_default()); - - GtkWidgetPath *path = gtk_widget_path_new(); - gtk_widget_path_append_type(path, GTK_TYPE_WINDOW); - |