Rename DialogFeatures::treeview_filesystems_Columns member to fsname (!52)
Name the structure member to 'fsname' used to store strings like "ext2"
etc. This is equivalent to what was previously done in this commit:
a9f08ddc7d
Rename local variable to fsname in get_filesystem() (#741430)
Closes !52 - Rename members and variables currently named 'filesystem'
This commit is contained in:
parent
f53c462c06
commit
e5b92a87f2
|
@ -53,7 +53,7 @@ private:
|
||||||
|
|
||||||
struct treeview_filesystems_Columns : public Gtk::TreeModelColumnRecord
|
struct treeview_filesystems_Columns : public Gtk::TreeModelColumnRecord
|
||||||
{
|
{
|
||||||
Gtk::TreeModelColumn<Glib::ustring> filesystem;
|
Gtk::TreeModelColumn<Glib::ustring> fsname;
|
||||||
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > create ;
|
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > create ;
|
||||||
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > grow ;
|
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > grow ;
|
||||||
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > online_grow ;
|
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > online_grow ;
|
||||||
|
@ -68,7 +68,7 @@ private:
|
||||||
|
|
||||||
treeview_filesystems_Columns()
|
treeview_filesystems_Columns()
|
||||||
{
|
{
|
||||||
add( filesystem );
|
add(fsname);
|
||||||
add( create ) ;
|
add( create ) ;
|
||||||
add( grow ) ;
|
add( grow ) ;
|
||||||
add( online_grow ) ;
|
add( online_grow ) ;
|
||||||
|
|
|
@ -52,7 +52,7 @@ DialogFeatures::DialogFeatures()
|
||||||
Gtk::TreeView::Column *col;
|
Gtk::TreeView::Column *col;
|
||||||
liststore_filesystems = Gtk::ListStore::create( treeview_filesystems_columns );
|
liststore_filesystems = Gtk::ListStore::create( treeview_filesystems_columns );
|
||||||
treeview_filesystems .set_model( liststore_filesystems );
|
treeview_filesystems .set_model( liststore_filesystems );
|
||||||
treeview_filesystems .append_column( _("File System"), treeview_filesystems_columns .filesystem );
|
treeview_filesystems.append_column(_("File System"), treeview_filesystems_columns.fsname);
|
||||||
treeview_filesystems .append_column( _("Create"), treeview_filesystems_columns .create );
|
treeview_filesystems .append_column( _("Create"), treeview_filesystems_columns .create );
|
||||||
col = manage( new Gtk::TreeView::Column( _("Grow") ) );
|
col = manage( new Gtk::TreeView::Column( _("Grow") ) );
|
||||||
col ->pack_start( treeview_filesystems_columns .grow, false );
|
col ->pack_start( treeview_filesystems_columns .grow, false );
|
||||||
|
@ -189,7 +189,7 @@ void DialogFeatures::load_filesystems(const std::vector<FS>& fss)
|
||||||
void DialogFeatures::load_one_filesystem(const FS& fs)
|
void DialogFeatures::load_one_filesystem(const FS& fs)
|
||||||
{
|
{
|
||||||
treerow = *( liststore_filesystems ->append() );
|
treerow = *( liststore_filesystems ->append() );
|
||||||
treerow[treeview_filesystems_columns.filesystem] = Utils::get_filesystem_string(fs.fstype);
|
treerow[treeview_filesystems_columns.fsname] = Utils::get_filesystem_string(fs.fstype);
|
||||||
|
|
||||||
treerow[ treeview_filesystems_columns .create ] = fs .create ? icon_yes : icon_no ;
|
treerow[ treeview_filesystems_columns .create ] = fs .create ? icon_yes : icon_no ;
|
||||||
treerow[ treeview_filesystems_columns .grow ] = fs .grow ? icon_yes : icon_no ;
|
treerow[ treeview_filesystems_columns .grow ] = fs .grow ? icon_yes : icon_no ;
|
||||||
|
|
Loading…
Reference in New Issue