removed 'documented by' tab and fixed alignments

This commit is contained in:
Bart Hakvoort 2004-09-26 19:36:02 +00:00
parent 16ca6f738f
commit 7ffc4ac0ad
2 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,8 @@
2004-09-26 Bart Hakvoort <gparted@users.sf.net> 2004-09-26 Bart Hakvoort <gparted@users.sf.net>
* src/Win_GParted.cc: fixed bug that occured while converting the filesystem of a new partition * src/Win_GParted.cc: fixed bug that occured while converting the filesystem of a new partition
* src/Dialog_About.cc: removed "documented by" tab (didn't need it yet) and fixed alignments of button
with some languages.
2004-09-26 Bart Hakvoort <gparted@users.sf.net> 2004-09-26 Bart Hakvoort <gparted@users.sf.net>

View File

@ -46,14 +46,11 @@ Dialog_About::Dialog_About()
label_temp -> set_selectable( true ) ; label_temp -> set_selectable( true ) ;
this ->get_vbox()->pack_start( *label_temp ,Gtk::PACK_SHRINK ); this ->get_vbox()->pack_start( *label_temp ,Gtk::PACK_SHRINK );
label_temp = manage( new Gtk::Label() ) ;
label_temp -> set_text( "\t\t" ) ;
button_credits.add_pixlabel( "/usr/share/icons/hicolor/16x16/stock/generic/stock_about.png", "Credits", 0, 0.5 ) ; button_credits.add_pixlabel( "/usr/share/icons/hicolor/16x16/stock/generic/stock_about.png", "Credits", 0, 0.5 ) ;
button_credits.signal_clicked() .connect( sigc::mem_fun( this, &Dialog_About::Show_Credits ) ) ; button_credits.signal_clicked() .connect( sigc::mem_fun( this, &Dialog_About::Show_Credits ) ) ;
this ->get_action_area() ->set_layout( Gtk::BUTTONBOX_EDGE ) ;
this ->get_action_area() ->pack_start( button_credits ) ; this ->get_action_area() ->pack_start( button_credits ) ;
this ->get_action_area() ->pack_start( *label_temp ) ;
this ->add_button( Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE ); this ->add_button( Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE );
this ->show_all_children() ; this ->show_all_children() ;
@ -69,7 +66,7 @@ void Dialog_About::Show_Credits()
//written by //written by
vbox_written .set_border_width( 5 ) ; vbox_written .set_border_width( 5 ) ;
label_writers .set_text( "Bart Hakvoort (gparted@users.sf.net)"); label_writers .set_text( "Bart Hakvoort <gparted@users.sf.net>");
label_writers .set_alignment( Gtk::ALIGN_LEFT ) ; label_writers .set_alignment( Gtk::ALIGN_LEFT ) ;
vbox_written .pack_start( label_writers, Gtk::PACK_SHRINK ) ; vbox_written .pack_start( label_writers, Gtk::PACK_SHRINK ) ;
notebook_credits .set_size_request( -1, 200 ) ; notebook_credits .set_size_request( -1, 200 ) ;
@ -78,7 +75,7 @@ void Dialog_About::Show_Credits()
//documented by //documented by
/*TO TRANSLATORS: tablabel in aboutdialog */ /*TO TRANSLATORS: tablabel in aboutdialog */
notebook_credits .append_page( vbox_documented, _("Documented by") ) ; // notebook_credits .append_page( vbox_documented, _("Documented by") ) ;
//translated by //translated by
/*TO TRANSLATORS: your name(s) here please, if there are more translators put newlines (\n) between the names */ /*TO TRANSLATORS: your name(s) here please, if there are more translators put newlines (\n) between the names */