fixed incorrect tooltip with unallocated space

This commit is contained in:
Bart Hakvoort 2004-10-02 13:07:48 +00:00
parent fcd414f720
commit 17d8388a19
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-10-02 Bart Hakvoort <gparted@users.sf.net>
* src/VBox_VisualDisk.cc: fixed incorrect tooltip with unallocated space
2004-10-02 Bart Hakvoort <gparted@users.sf.net> 2004-10-02 Bart Hakvoort <gparted@users.sf.net>
* include/Dialog_Base_Partition.h, * include/Dialog_Base_Partition.h,

View File

@ -142,6 +142,7 @@ void VBox_VisualDisk::Build_Visual_Disk( int SCREEN_WIDTH )
visual_partitions.back() ->pango_layout ->set_text( "" ) ; visual_partitions.back() ->pango_layout ->set_text( "" ) ;
//tooltip //tooltip
str_temp = "" ;
if ( partitions[i].type != GParted::UNALLOCATED ) if ( partitions[i].type != GParted::UNALLOCATED )
str_temp = partitions[i] .filesystem + "\n" ; str_temp = partitions[i] .filesystem + "\n" ;