changed colors of ext2, ext3 and linux-swap
This commit is contained in:
parent
e883f1f316
commit
362d4d9cbd
|
@ -1,7 +1,7 @@
|
||||||
2004-09-26 Bart Hakvoort <gparted@users.sf.net>
|
2004-09-26 Bart Hakvoort <gparted@users.sf.net>
|
||||||
|
|
||||||
* src/Win_GParted.cc: fixed bug with check for max amount of partitions while pasting a copied partition.
|
* src/Win_GParted.cc: fixed bug with check for max amount of partitions while pasting a copied partition.
|
||||||
|
* src/Partition.cc: changed colors of ext2, ext3 and linux-swap
|
||||||
|
|
||||||
2004-09-25 Raphael Higino <raphaelh@cvs.gnome.org>
|
2004-09-25 Raphael Higino <raphaelh@cvs.gnome.org>
|
||||||
|
|
||||||
|
|
|
@ -61,11 +61,11 @@ void Partition::Set_Unallocated( Sector sector_start, Sector sector_end, bool in
|
||||||
Glib::ustring Partition::Get_Color( const Glib::ustring & filesystem )
|
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... :-)
|
{ // very ugly, but somehow i can't figure out a more efficient way. must be lack of sleep or so... :-)
|
||||||
//purple teints
|
//purple teints
|
||||||
if ( filesystem == "ext2" ) return "purple" ;
|
if ( filesystem == "ext2" ) return "#9DB8D2" ;
|
||||||
else if ( filesystem == "ext3" ) return "#C994EB";
|
else if ( filesystem == "ext3" ) return "#7590AE";
|
||||||
|
|
||||||
//brown
|
//brown
|
||||||
else if ( filesystem == "linux-swap" ) return "brown" ;
|
else if ( filesystem == "linux-swap" ) return "#C1665A" ;
|
||||||
|
|
||||||
//greenisch stuff..
|
//greenisch stuff..
|
||||||
else if ( filesystem == "fat16" ) return "green" ;
|
else if ( filesystem == "fat16" ) return "green" ;
|
||||||
|
|
Loading…
Reference in New Issue