[gparted] Use one shade darker blue for EXT2/3/4 file systems (!12)



commit 92f6946e2413cccdb9a99dd3630f3d911ea291e3
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Mon Aug 20 19:14:04 2018 +0100

    Use one shade darker blue for EXT2/3/4 file systems (!12)
    
    I see the MINIX file system as a kind of forerunner to EXT* because of
    it's history [1].  No body uses the original EXT file system any more,
    however the MINIX file system is still used by the MINIX 3 operating
    system.  So use the same range of colours for MINIX and EXT2/3/4.  Use
    one shade darker blue for EXT2/3/4, allowing MINIX to use the lightest
    blue.  After adding MINIX support in the next patch, the colours will
    become:
        MINIX - Blue Hilight
        EXT2  - Blue Medium
        EXT3  - Blue Dark
        EXT4  - Blue Shadow
    
    [1] MINIX file system / History
        https://en.wikipedia.org/wiki/MINIX_file_system#History
    
        "When Linus Torvalds first started writing his Linux operating
        system kernel (1991), he was working on a machine running MINIX, and
        adopted its file system layout.  This soon proved problematic, since
        MINIX restricted filename lengths to fourteen characters (thirty in
        later versions), it limited partitions to 64 megabytes, and the file
        system was designed for teaching purposes, not performance.  The
        Extended file system (ext; April 1992) was developed to replace
        MINIX's, but it was only with the second version of this, ext2, that
        Linux obtained a commercial-grade file system.  As of 1994, the
        MINIX file system was "scarcely in use" among Linux users.
        "
    
    Closes !12 - Add minix file system support

 src/Utils.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Utils.cc b/src/Utils.cc
index b0d26cd9..05fa9d13 100644
--- a/src/Utils.cc
+++ b/src/Utils.cc
@@ -92,9 +92,9 @@ Glib::ustring Utils::get_color( FSType filesystem )
                case FS_CLEARED         : return "#000000" ;    //black
                case FS_EXTENDED        : return "#7DFCFE" ;    // ~ light blue
                case FS_BTRFS           : return "#FF9955" ;    //orange
-               case FS_EXT2            : return "#9DB8D2" ;    //blue hilight
-               case FS_EXT3            : return "#7590AE" ;    //blue medium
-               case FS_EXT4            : return "#4B6983" ;    //blue dark
+               case FS_EXT2            : return "#7590AE";     // Blue Medium
+               case FS_EXT3            : return "#4B6983";     // Blue Dark
+               case FS_EXT4            : return "#314E6C";     // Blue Shadow
                case FS_LINUX_SWAP      : return "#C1665A" ;    //red medium
                case FS_LUKS            : return "#625B81" ;    //purple dark
                case FS_F2FS            : return "#DF421E" ;    //accent red


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]