From 01826277e36384a113b7ac8783e3d6fcbbbc480b Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Mon, 2 Dec 2019 18:41:27 +0000 Subject: [PATCH] Rename TreeView_Detail::treeview_filesystems_Columns member to fsname (!52) Closes !52 - Rename members and variables currently named 'filesystem' --- include/TreeView_Detail.h | 4 ++-- src/TreeView_Detail.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/TreeView_Detail.h b/include/TreeView_Detail.h index c7238e61..7966efeb 100644 --- a/include/TreeView_Detail.h +++ b/include/TreeView_Detail.h @@ -74,7 +74,7 @@ private: { Gtk::TreeModelColumn path; Gtk::TreeModelColumn name; - Gtk::TreeModelColumn filesystem; + Gtk::TreeModelColumn fsname; Gtk::TreeModelColumn mountpoint; Gtk::TreeModelColumn label ; Gtk::TreeModelColumn 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 ); } diff --git a/src/TreeView_Detail.cc b/src/TreeView_Detail.cc index e34075ed..aa2eacef 100644 --- a/src/TreeView_Detail.cc +++ b/src/TreeView_Detail.cc @@ -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 temp_mountpoints = filesystem_ptn.get_mountpoints();