added legend (#353104) added FIXME
* include/DialogFeatures.h, src/DialogFeatures.cc: added legend (#353104) * src/fat32.cc: added FIXME
This commit is contained in:
parent
9d956594d6
commit
36dc2e4cf2
|
@ -1,3 +1,9 @@
|
|||
2006-08-27 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* include/DialogFeatures.h,
|
||||
src/DialogFeatures.cc: added legend (#353104)
|
||||
* src/fat32.cc: added FIXME
|
||||
|
||||
2006-08-27 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/ntfs.cc: replaced ntfscluster with ntfsresize (see #350789)
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <gtkmm/dialog.h>
|
||||
#include <gtkmm/treeview.h>
|
||||
#include <gtkmm/liststore.h>
|
||||
#include <gtkmm/image.h>
|
||||
|
||||
namespace GParted
|
||||
{
|
||||
|
@ -38,6 +39,8 @@ public:
|
|||
private:
|
||||
void show_filesystem( const FS & fs ) ;
|
||||
|
||||
Gtk::HBox *hbox ;
|
||||
Gtk::Image *image ;
|
||||
Gtk::TreeView treeview_filesystems;
|
||||
Gtk::TreeRow treerow;
|
||||
Glib::RefPtr<Gtk::ListStore> liststore_filesystems;
|
||||
|
|
|
@ -45,6 +45,19 @@ DialogFeatures::DialogFeatures()
|
|||
treeview_filesystems .set_rules_hint( true ) ;
|
||||
get_vbox() ->pack_start( treeview_filesystems ) ;
|
||||
|
||||
//legend..
|
||||
hbox = manage( new Gtk::HBox ) ;
|
||||
image = manage( new Gtk::Image( Gtk::Stock::APPLY, Gtk::ICON_SIZE_LARGE_TOOLBAR ) );
|
||||
hbox ->pack_start( *image, Gtk::PACK_SHRINK ) ;
|
||||
hbox ->pack_start( * Utils::mk_label( _("Available") ), Gtk::PACK_EXPAND_WIDGET ) ;
|
||||
get_vbox() ->pack_start( *hbox ) ;
|
||||
|
||||
hbox = manage( new Gtk::HBox ) ;
|
||||
image = manage( new Gtk::Image( Gtk::Stock::CANCEL, Gtk::ICON_SIZE_LARGE_TOOLBAR ) );
|
||||
hbox ->pack_start( *image, Gtk::PACK_SHRINK ) ;
|
||||
hbox ->pack_start( * Utils::mk_label( _("Not Available") ), Gtk::PACK_EXPAND_WIDGET ) ;
|
||||
get_vbox() ->pack_start( *hbox ) ;
|
||||
|
||||
//initialize icons
|
||||
icon_yes = render_icon( Gtk::Stock::APPLY, Gtk::ICON_SIZE_LARGE_TOOLBAR ) ;
|
||||
icon_no = render_icon( Gtk::Stock::CANCEL, Gtk::ICON_SIZE_LARGE_TOOLBAR ) ;
|
||||
|
|
|
@ -50,6 +50,7 @@ FS fat32::get_filesystem_support()
|
|||
|
||||
void fat32::set_used_sectors( Partition & partition )
|
||||
{
|
||||
//FIXME: i've encoutered a readonly fat32 filesystem.. this won't work with the -a ... best check also without the -a
|
||||
exit_status = Utils::execute_command( "dosfsck -a -v " + partition .get_path(), output, error, true ) ;
|
||||
if ( exit_status == 0 || exit_status == 1 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue