higgiefied the dialog a bit (#353104)

* src/DialogFeatures.cc: higgiefied the dialog a bit (#353104)
This commit is contained in:
Bart Hakvoort 2006-09-16 12:44:36 +00:00
parent fc8014115e
commit b84a88b557
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2006-09-16 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/DialogFeatures.cc: higgiefied the dialog a bit (#353104)
2006-09-16 Bart Hakvoort <hakvoort@cvs.gnome.org>
* include/Win_GParted.h,

View File

@ -27,7 +27,7 @@ DialogFeatures::DialogFeatures()
set_title( _("Features") ) ;
set_has_separator( false ) ;
set_resizable( false ) ;
liststore_filesystems = Gtk::ListStore::create( treeview_filesystems_columns );
treeview_filesystems .set_model( liststore_filesystems );
treeview_filesystems .append_column( _("Filesystem"), treeview_filesystems_columns .filesystem );
@ -43,16 +43,20 @@ DialogFeatures::DialogFeatures()
//of course this url has to be selectable and (if possible) clickable
treeview_filesystems .get_selection() ->set_mode( Gtk::SELECTION_NONE );
treeview_filesystems .set_rules_hint( true ) ;
get_vbox() ->pack_start( treeview_filesystems ) ;
hbox = manage( new Gtk::HBox() ) ;
hbox ->set_border_width( 6 ) ;
hbox ->pack_start( treeview_filesystems ) ;
get_vbox() ->pack_start( *hbox ) ;
//legend..
hbox = manage( new Gtk::HBox ) ;
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 ) ;
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 ) ;