mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-27 11:40:03 +00:00
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.
This commit is contained in:
parent
4939b941dd
commit
57e8ac50f4
|
@ -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 ) ;
|
||||
|
|
Loading…
Reference in a new issue