Rename TreeView_Detail::treeview_filesystems_Columns member to fsname (!52)

Closes !52 - Rename members and variables currently named 'filesystem'
This commit is contained in:
Mike Fleetwood 2019-12-02 18:41:27 +00:00
parent e5b92a87f2
commit 01826277e3
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ private:
{
Gtk::TreeModelColumn<Glib::ustring> path;
Gtk::TreeModelColumn<Glib::ustring> name;
Gtk::TreeModelColumn<Glib::ustring> filesystem;
Gtk::TreeModelColumn<Glib::ustring> fsname;
Gtk::TreeModelColumn<Glib::ustring> mountpoint;
Gtk::TreeModelColumn<Glib::ustring> label ;
Gtk::TreeModelColumn<Glib::ustring> size;
@ -89,7 +89,7 @@ private:
treeview_detail_Columns()
{
add( path ); add( name ); add( filesystem ); add( mountpoint ); add( label );
add( path ); add( name ); add(fsname); add( mountpoint ); add( label );
add( size ); add( used ); add( unused ); add( color );
add( icon1 ); add( icon2 ); add( flags ); add( partition_ptr );
}

View File

@ -57,7 +57,7 @@ TreeView_Detail::TreeView_Detail()
get_column( 0 ) ->pack_start( treeview_detail_columns .icon1, false );
// Tree view column "File System"; add file system text cell.
get_column( 2 )->pack_start( treeview_detail_columns.filesystem, true );
get_column(2)->pack_start(treeview_detail_columns.fsname, true);
// Color pixbuf cell is left aligned.
get_column(2)->get_first_cell()->property_xalign() = Gtk::ALIGN_START;
// File system text cell is left aligned.
@ -188,7 +188,7 @@ void TreeView_Detail::create_row( const Gtk::TreeRow & treerow,
// file system
treerow[treeview_detail_columns.color] = Utils::get_color_as_pixbuf(filesystem_ptn.fstype, 16, 16);
treerow[treeview_detail_columns.filesystem] = partition.get_filesystem_string();
treerow[treeview_detail_columns.fsname] = partition.get_filesystem_string();
// mount point
std::vector<Glib::ustring> temp_mountpoints = filesystem_ptn.get_mountpoints();