Commit 57e8ac50 authored by Mike Fleetwood's avatar Mike Fleetwood

Rename method to DialogFeatures::load_one_filesystem()

To better reflect that it is loading the supported actions for one file
system into the treeview, just like it's parent load_filesystems() is
initiating the loading for all the file systems.
parent 4939b941
......@@ -39,7 +39,7 @@ public:
void load_filesystems(const std::vector<FS>& fss);
private:
void show_filesystem( const FS & fs ) ;
void load_one_filesystem(const FS& fs);
Gtk::Frame legend_frame ;
Gtk::TreeView treeview_filesystems;
......
......@@ -161,7 +161,7 @@ void DialogFeatures::load_filesystems(const std::vector<FS>& fss)
for (unsigned i = 0; i < fss.size(); i++)
{
if (GParted_Core::supported_filesystem(fss[i].filesystem))
show_filesystem(fss[i]);
load_one_filesystem(fss[i]);
}
// Find and add "other" at the end, for all the basic supported file systems.
......@@ -169,13 +169,14 @@ void DialogFeatures::load_filesystems(const std::vector<FS>& fss)
{
if (fss[i].filesystem == FS_OTHER)
{
show_filesystem(fss[i]);
load_one_filesystem(fss[i]);
break;
}
}
}
void DialogFeatures::show_filesystem( const FS & fs )
void DialogFeatures::load_one_filesystem(const FS& fs)
{
treerow = *( liststore_filesystems ->append() );
treerow[ treeview_filesystems_columns .filesystem ] = Utils::get_filesystem_string( fs .filesystem ) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment