added 'Read Label' info

* include/DialogFeatures.h,
  src/DialogFeatures.cc: added 'Read Label' info
This commit is contained in:
Bart Hakvoort 2006-09-23 11:02:46 +00:00
parent 7a8aabe3fd
commit 452b90b095
3 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,9 @@
2006-09-24 Bart Hakvoort <hakvoort@cvs.gnome.org>
2006-09-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
* include/DialogFeatures.h,
src/DialogFeatures.cc: added 'Read Label' info
2006-09-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/reiser4.cc
src/reiserfs.cc: added support for reading of volumelabel

View File

@ -56,6 +56,7 @@ private:
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > move ;
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > copy ;
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > check ;
Gtk::TreeModelColumn< Glib::RefPtr<Gdk::Pixbuf> > read_label ;
treeview_filesystems_Columns()
{
@ -68,6 +69,7 @@ private:
add( move ) ;
add( copy ) ;
add( check ) ;
add( read_label ) ;
}
};

View File

@ -39,6 +39,7 @@ DialogFeatures::DialogFeatures()
treeview_filesystems .append_column( _("Move"), treeview_filesystems_columns .move );
treeview_filesystems .append_column( _("Copy"), treeview_filesystems_columns .copy );
treeview_filesystems .append_column( _("Check"), treeview_filesystems_columns .check );
treeview_filesystems .append_column( _("Read Label"), treeview_filesystems_columns .read_label );
//FIXME: add info about the relevant project (e.g an url to the projectpage)
//of course this url has to be selectable and (if possible) clickable
treeview_filesystems .get_selection() ->set_mode( Gtk::SELECTION_NONE );
@ -92,6 +93,7 @@ void DialogFeatures::show_filesystem( const FS & fs )
treerow[ treeview_filesystems_columns .move ] = fs .move ? icon_yes : icon_no ;
treerow[ treeview_filesystems_columns .copy ] = fs .copy ? icon_yes : icon_no ;
treerow[ treeview_filesystems_columns .check ] = fs .check ? icon_yes : icon_no ;
treerow[ treeview_filesystems_columns .read_label ] = fs .get_label ? icon_yes : icon_no ;
}
DialogFeatures::~DialogFeatures()