Fixed Gtk-Warning with unknown pango markup and placed a 5 pixel-border

* src/Dialog_About.cc (Show_Credits): Fixed Gtk-Warning with unknown pango markup and placed a 5 pixel-border around
translators credits.
This commit is contained in:
Bart Hakvoort 2004-10-17 18:55:07 +00:00
parent e9cd7bb2b5
commit 053073ac2a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-17 Bart Hakvoort <gparted@users.sf.net>
* src/Dialog_About.cc (Show_Credits): Fixed Gtk-Warning with unknown pango markup and placed a 5 pixel-border around
translators credits.
2004-10-16 Bart Hakvoort <gparted@users.sf.net>
* src/Device.cc: when the libary of an optional filesystem (atm only reiserfs) wasn't installed, every scan printed an error

View File

@ -63,7 +63,8 @@ void Dialog_About::Show_Credits()
Glib::ustring str_credits = _("translator-credits") ;
if ( str_credits != "translator-credits" )
{
vbox_translators .pack_start( * mk_label( str_credits ), Gtk::PACK_SHRINK ) ;
vbox_translators .set_border_width( 5 ) ;
vbox_translators .pack_start( * mk_label( str_credits, false ), Gtk::PACK_SHRINK ) ;
/*TO TRANSLATORS: tablabel in aboutdialog */
notebook_credits .append_page( vbox_translators, _("Translated by") ) ;
}