changed color of reiserfs from blue to purple highlight. + some cosmetics.
* src/Partition.cc: changed color of reiserfs from blue to purple highlight. + some cosmetics.
This commit is contained in:
parent
bcb05b8540
commit
ad93a3718b
|
@ -1,3 +1,7 @@
|
|||
2004-10-08 Bart Hakvoort <gparted@users.sf.net>
|
||||
|
||||
* src/Partition.cc: changed color of reiserfs from blue to purple highlight. + some cosmetics.
|
||||
|
||||
2004-10-08 Bart Hakvoort <gparted@users.sf.net>
|
||||
|
||||
* include/Frame_Resizer_Base.h: removed inheritance from sigc::trackable. (this is already done by Glib::Object)
|
||||
|
|
|
@ -59,11 +59,11 @@ void Partition::Set_Unallocated( Sector sector_start, Sector sector_end, bool in
|
|||
|
||||
Glib::ustring Partition::Get_Color( const Glib::ustring & filesystem )
|
||||
{ // very ugly, but somehow i can't figure out a more efficient way. must be lack of sleep or so... :-)
|
||||
//purple teints
|
||||
//blue teints
|
||||
if ( filesystem == "ext2" ) return "#9DB8D2" ;
|
||||
else if ( filesystem == "ext3" ) return "#7590AE" ;
|
||||
|
||||
//brown
|
||||
//redbrown
|
||||
else if ( filesystem == "linux-swap" ) return "#C1665A" ;
|
||||
|
||||
//greenisch stuff..
|
||||
|
@ -71,8 +71,8 @@ Glib::ustring Partition::Get_Color( const Glib::ustring & filesystem )
|
|||
else if ( filesystem == "fat32" ) return "#18D918" ;
|
||||
else if ( filesystem == "ntfs" ) return "#42E5AC" ;
|
||||
|
||||
//blue
|
||||
else if ( filesystem == "reiserfs" ) return "blue" ;
|
||||
//purple something..
|
||||
else if ( filesystem == "reiserfs" ) return "#ADA7C8" ;
|
||||
|
||||
//libparted can only detect these, i decided to "yellow them" :^)
|
||||
else if ( filesystem == "HFS" ) return "yellow" ;
|
||||
|
@ -84,7 +84,7 @@ Glib::ustring Partition::Get_Color( const Glib::ustring & filesystem )
|
|||
else if ( filesystem == "unallocated" ) return "darkgrey";
|
||||
else if ( filesystem == "extended" ) return "#7DFCFE" ;
|
||||
|
||||
//unknown filesystem ( damaged, or simply unknown )
|
||||
//unknown filesystem ( damaged, unknown or simply no filesystem )
|
||||
else return "black";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue