diff options
author | damien <damien@mandriva.com> | 2002-03-08 15:39:13 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-03-08 15:39:13 +0000 |
commit | ce3e139bc305698ab830d482067c339d611e8160 (patch) | |
tree | 7a8950ba75462d55387bffb9b210b0cbe7666c2c | |
parent | efc490659614cbba91d329fec45824f1a825b703 (diff) | |
download | control-center-ce3e139bc305698ab830d482067c339d611e8160.tar control-center-ce3e139bc305698ab830d482067c339d611e8160.tar.gz control-center-ce3e139bc305698ab830d482067c339d611e8160.tar.bz2 control-center-ce3e139bc305698ab830d482067c339d611e8160.tar.xz control-center-ce3e139bc305698ab830d482067c339d611e8160.zip |
splash, bugfixes
-rwxr-xr-x | control-center | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/control-center b/control-center index ed705c3d..45ceb891 100755 --- a/control-center +++ b/control-center @@ -63,9 +63,9 @@ $window_splash->signal_connect ( delete_event => \&quit_global ); $window_splash->set_title( _("Mandrake Control Center")); #$_version)); $window_splash->set_policy(1, 1, 1); $window_splash->set_position(1); -$window_splash->add(gtkadd(gtkset_shadow_type(new Gtk::Frame(), 'etched_out'), - gtkpng("splash_screen") - ) +$window_splash->add( + gtkadd(gtkset_shadow_type(new Gtk::Frame(), 'etched_out'), + -r "$mcc_dir/$theme/splash_screen.png" ? gtkpng("splash_screen") : new Gtk::Label(_("Loading... Please wait"))) ); $window_splash->show_all; #$window_splash->realize; @@ -726,26 +726,35 @@ sub about_mdk_cc { $button->signal_connect_object("clicked", $window_about => 'destroy'); $bbox1->add($button); - my $label = new Gtk::Label( _("Mandrake Control Center %s\n", $_version) ); + my $label = new Gtk::Label(); my $style1 = $label->style->copy(); my $style2 = $label->style->copy(); $style1->font(Gtk::Gdk::Font->fontset_load(_("-*-helvetica-medium-r-normal-*-20-*-100-100-p-*-iso8859-1,*-r-*"))); $style2->font(Gtk::Gdk::Font->fontset_load(_("-*-helvetica-medium-r-bold-*-14-*-100-100-p-*-iso8859-1,*-r-*"))); - $label->set_style($style1); + my $clist = new Gtk::CList(3); + my $i = -1; + $i++, $clist->append(@$_) foreach ([ _('Author: '), 'Damien Krotkine', 'damien@mandrakesoft.com'], + [ '', 'Yves Duret', 'yduret@mandrakesoft.com'], + [ '', ''], + [ _('Artwork: '), 'Hélène Durosini', 'ln@mandrakesoft.com'], + [ '', 'Anh-Van Nguyen' ,'avnguyen@mandrakesoft.com'], + [ '', 'Tigert', 'tigert@ximian.com'], + [ '', 'Jakub "Jimmac" Steiner ', 'jimmac@linux.com.nospam'], + ); + $clist->set_selectable($_, 0) foreach (0..$i); + $clist->columns_autosize(); + $clist->set_column_justification(0, "right"); + gtkpack_($window_about->vbox, - 1, $label, + -r "$mcc_dir/$theme/splash_screen_about.png" ? + (0, gtkpng("splash_screen_about")) : (), +# 1, gtksetstyle(new Gtk::Label( _("Mandrake Control Center %s\n", $_version) ), $style1), + 0, new Gtk::Label( ''), 0, new Gtk::Label( _("Copyright (C) 2001 Mandrakesoft SA")), - 1, new Gtk::Label( ''), - 0, gtkpack__(new Gtk::HBox, gtksetstyle(new Gtk::Label( _('Author: ')), $style2), new Gtk::Label('Damien Krotkine <damien@mandrakesoft.com>\n')), - 0, gtkpack__(new Gtk::HBox, gtksetstyle(new Gtk::Label( _('Technology Contributor: ')), $style2), new Gtk::Label('Yves Duret <yduret@mandrakesoft.com>')), - 1, new Gtk::Label( ''), - 0, gtkpack__(new Gtk::HBox, gtksetstyle(new Gtk::Label( _('Artwork : ')), $style2)), -# 1, new Gtk::Label( ''), - 0, gtkpack__(new Gtk::HBox, new Gtk::Label( 'Hélène Durosini <ln@mandrakesoft.com>')), - 0, gtkpack__(new Gtk::HBox, new Gtk::Label( 'Anh-Van Nguyen <avnguyen@mandrakesoft.com>')), - 0, gtkpack__(new Gtk::HBox, new Gtk::Label( 'Tigert <tigert@ximian.com>')), - 0, gtkpack__(new Gtk::HBox, new Gtk::Label( 'Jakub "Jimmac" Steiner <jimmac@linux.com.nospam>')) + 0, new Gtk::Label( ''), + 1, $clist, ); + $clist->columns_autosize(); $window_about->show_all(); $window_about->set_modal(1); } |