Bug 1241621 - fix notification styling for gtk2 on later branches, r=dao
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 22 Jan 2016 09:54:18 +0000
changeset 281359 819fff092e3df644b03575577fd68af89dbbdf13
parent 281358 8efa2e6a0407d2b1dbeb6e2e37424c606612315e
child 281360 f1573412a4adaa48a1b955a0ecf4f2908381374c
push id29935
push userphilringnalda@gmail.com
push dateSun, 24 Jan 2016 02:12:02 +0000
treeherdermozilla-central@a2e81822194a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1241621
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1241621 - fix notification styling for gtk2 on later branches, r=dao
toolkit/themes/linux/global/jar.mn
toolkit/themes/linux/global/notification.css
--- a/toolkit/themes/linux/global/jar.mn
+++ b/toolkit/themes/linux/global/jar.mn
@@ -15,17 +15,17 @@ toolkit.jar:
    skin/classic/global/Filepicker.png                          (filepicker/Filepicker.png)
    skin/classic/global/findBar.css
    skin/classic/global/global.css
    skin/classic/global/groupbox.css
    skin/classic/global/listbox.css
    skin/classic/global/menu.css
    skin/classic/global/menulist.css
    skin/classic/global/netError.css
-   skin/classic/global/notification.css
+*  skin/classic/global/notification.css
    skin/classic/global/numberbox.css
    skin/classic/global/popup.css
    skin/classic/global/preferences.css
    skin/classic/global/printPageSetup.css
    skin/classic/global/printPreview.css
    skin/classic/global/radio.css
    skin/classic/global/scrollbox.css
    skin/classic/global/splitter.css
--- a/toolkit/themes/linux/global/notification.css
+++ b/toolkit/themes/linux/global/notification.css
@@ -2,16 +2,19 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 notification {
   color: -moz-gtk-info-bar-text;
   -moz-appearance: -moz-gtk-info-bar;
+%if MOZ_WIDGET_GTK == 2
+  background-color: InfoBackground;
+%endif
   text-shadow: none;
 }
 
 notification[type="info"] {
   color: -moz-DialogText;
   background-color: -moz-Dialog;
   -moz-appearance: none;
 }