diff options
Diffstat (limited to 'control-center3')
-rwxr-xr-x | control-center3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/control-center3 b/control-center3 index 86a0c745..54e8a809 100755 --- a/control-center3 +++ b/control-center3 @@ -55,7 +55,7 @@ my @treeitem_sub; my $nb_pages=0; my $window_global = new Gtk::Window -toplevel; -$window_global->set_usize(745, 530); +#$window_global->set_usize(745, 499); $window_global->signal_connect ( delete_event => sub { quit_global(); }); $window_global->set_position(1); $window_global->set_title(_("Mandrake Control Center")); @@ -120,6 +120,7 @@ my ($pix_splash_map, $pix_splash_mask) = gtkcreate_png("$xpm_path_l/splash.png") my $vbox_about = new Gtk::VBox(0,0); my $darea1= new Gtk::DrawingArea(); $darea1->size(540,460); +$darea1->set_usize(540,460); $vbox_about->pack_start($darea1,1,1,0); $notebook_global->append_page($vbox_about, undef); @@ -187,8 +188,8 @@ sub draw_exposed { my $style = new Gtk::Style; my $style_dflt = new Gtk::Style; $style->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--25-*-100-100-p-*-iso8859-*,*-r-*"))); - $pix->draw_string($style->font, $darea1->style->black_gc, 50, 130, _("The Mandrake Control Center") ); - $pix->draw_string($style_dflt->font, $darea1->style->black_gc, 60, 160, ("The place where you can configure your Mandrake Box") ); + $pix->draw_string($style->font, $darea1->style->black_gc, 100, 170, _("The Mandrake Control Center") ); + $pix->draw_string($style_dflt->font, $darea1->style->black_gc, 120, 190, ("The place where you can configure your Mandrake Box") ); my @revtree; my @info_tree; @@ -210,8 +211,8 @@ sub draw_exposed { [_("Hostname:"), $nodename], [_("Kernel Version:"), "$release $version"], [_("Machine:"), $machine] ) { - $pix->draw_string($style1->font, $darea1->style->black_gc, 50, 190+$i, $_->[0]); - $pix->draw_string($style_dflt->font, $darea1->style->black_gc, 170, 190+$i, $_->[1]); + $pix->draw_string($style1->font, $darea1->style->black_gc, 80, 250+$i, $_->[0]); + $pix->draw_string($style_dflt->font, $darea1->style->black_gc, 200, 250+$i, $_->[1]); $i+=20; } } @@ -291,7 +292,6 @@ sub create_tree_item my ($treeitem, $treebox, $new_subtree); $treeitem = new Gtk::TreeItem(); - $treeitem_selected=$treeitem; $treebox = xpm_label_box($window_global,$pixmap,$label); $treeitem->add($treebox); $treebox->show(); |