Bug 396992 - "On Linux, beautified FTP listings should use the stock icons" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Mano a1.9=mconnor]
authorreed@reedloden.com
Sat, 22 Sep 2007 18:35:29 -0700
changeset 6240 7e2256433e63464d97c8ac245d1b7dd4b8933bfb
parent 6239 7310aab27df21d0d16a36c73bc21498e23f828c9
child 6241 44ddc8630cab06a180f04ed938d476251966e7dd
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMano
bugs396992
milestone1.9a9pre
Bug 396992 - "On Linux, beautified FTP listings should use the stock icons" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Mano a1.9=mconnor]
toolkit/themes/winstripe/global/dirListing/dirListing.css
toolkit/themes/winstripe/global/jar.mn
--- a/toolkit/themes/winstripe/global/dirListing/dirListing.css
+++ b/toolkit/themes/winstripe/global/dirListing/dirListing.css
@@ -129,11 +129,21 @@ td:not(:first-child) {
 .up::before ,
 .dir::before ,
 .file > img {
   margin-right: 4px;
   margin-left: -20px;
   vertical-align: middle;
 }
 
+%ifdef MOZ_WIDGET_GTK2
+.dir::before {
+  content: url(moz-icon://stock/gtk-directory?size=menu);
+}
+
+.up::before {
+  content: url(moz-icon://stock/gtk-go-up?size=menu);
+}
+%else
 .up::before {
   content: url(chrome://global/skin/dirListing/up.png);
 }
+%endif
--- a/toolkit/themes/winstripe/global/jar.mn
+++ b/toolkit/themes/winstripe/global/jar.mn
@@ -57,17 +57,17 @@ classic.jar:
         skin/classic/global/arrow/arrow-rit-sharp.gif               (arrow/arrow-rit-sharp.gif)
         skin/classic/global/arrow/arrow-rit-sharp-end.gif           (arrow/arrow-rit-sharp-end.gif)
         skin/classic/global/arrow/arrow-up.gif                      (arrow/arrow-up.gif)
         skin/classic/global/arrow/arrow-up-dis.gif                  (arrow/arrow-up-dis.gif)
         skin/classic/global/arrow/arrow-up-hov.gif                  (arrow/arrow-up-hov.gif)
         skin/classic/global/arrow/arrow-up-sharp.gif                (arrow/arrow-up-sharp.gif)
         skin/classic/global/checkbox/cbox-check.gif                 (checkbox/cbox-check.gif)
         skin/classic/global/checkbox/cbox-check-dis.gif             (checkbox/cbox-check-dis.gif)
-        skin/classic/global/dirListing/dirListing.css               (dirListing/dirListing.css)
+*       skin/classic/global/dirListing/dirListing.css               (dirListing/dirListing.css)
         skin/classic/global/dirListing/local.png                    (dirListing/local.png)
         skin/classic/global/dirListing/remote.png                   (dirListing/remote.png)
         skin/classic/global/dirListing/up.png                       (dirListing/up.png)
         skin/classic/global/Filepicker.png                          (filepicker/Filepicker.png)
         skin/classic/global/icons/autocomplete-dropmark-arrow.png   (icons/autocomplete-dropmark-arrow.png)
         skin/classic/global/icons/autocomplete-dropmark-bkgnd.png   (icons/autocomplete-dropmark-bkgnd.png)
         skin/classic/global/icons/autocomplete-dropmark-bkgnd-mid-top.png    (icons/autocomplete-dropmark-bkgnd-mid-top.png)
         skin/classic/global/icons/autocomplete-dropmark-bkgnd-mid-bottom.png (icons/autocomplete-dropmark-bkgnd-mid-bottom.png)