From b84a88b5579c25ed7a5e05c20f58ea044a6897d3 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Sat, 16 Sep 2006 12:44:36 +0000 Subject: [PATCH] higgiefied the dialog a bit (#353104) * src/DialogFeatures.cc: higgiefied the dialog a bit (#353104) --- ChangeLog | 4 ++++ src/DialogFeatures.cc | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b8ed2a18..d3bf083d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-09-16 Bart Hakvoort + + * src/DialogFeatures.cc: higgiefied the dialog a bit (#353104) + 2006-09-16 Bart Hakvoort * include/Win_GParted.h, diff --git a/src/DialogFeatures.cc b/src/DialogFeatures.cc index bce63b21..3cde267b 100644 --- a/src/DialogFeatures.cc +++ b/src/DialogFeatures.cc @@ -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 ) ;