summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center14
1 files changed, 7 insertions, 7 deletions
diff --git a/control-center b/control-center
index bc947dc1..38ec2ae0 100755
--- a/control-center
+++ b/control-center
@@ -151,10 +151,8 @@ my @menu_items =
my $nb_pages=0;
my $window_global = new Gtk::Window -toplevel;
$window_global->signal_connect ( delete_event => \&quit_global );
-$window_global->set_position(1);
$window_global->set_title( _("Mandrake Control Center %s", 'beta' )); #$_version));
$window_global->set_policy(0, 1, 1);
-
my $notebook_global;
my ($pixmap_back_left, undef) = gtkcreate_png('mcc-left-back');
@@ -336,7 +334,7 @@ my ($rootheight, undef) = my_gtk::gtkroot()->get_size;
$window_global->add(
gtkpack_(new Gtk::VBox(0, 0),
0, my $title_w = get_main_menu($window_global),
- 0, my $fixed_title = gtkset_usize(new Gtk::Fixed, 640, 55),
+ 0, my $fixed_title = gtkset_usize(new Gtk::Fixed, 400, 55),
0, new Gtk::HSeparator,
1, gtkpack_(new Gtk::HBox(0, 0),
0, my $fixed_left = new Gtk::Fixed,
@@ -353,7 +351,7 @@ $window_global->add(
sub update_exp {
if($logs && !$exp_frame) {
gtkpack__($right_box,
- gtkadd($exp_frame = gtkset_shadow_type(gtkset_usize(gtkset_border_width(new Gtk::Frame(_("Logs")), 5), 0, 100), 'etched_out'),
+ gtkadd($exp_frame = gtkset_shadow_type(gtkset_usize(gtkset_border_width(new Gtk::Frame(_("Logs")), 5), 0, 120), 'etched_out'),
$exp_socket = new Gtk::Socket,
)
);
@@ -368,8 +366,9 @@ sub update_exp {
}
}
-$notebook_global->set_usize(540, max(420, ($index) * 45));
-$emb_box->set_usize(540, max(420, ($index) * 45));
+#540, 420
+$notebook_global->set_usize(40, $index * 45);
+$emb_box->set_usize(40, $index * 45);
$log_check_box->set_active($logs);
$embedded_check_box->set_active($embedded);
@@ -507,7 +506,8 @@ my $global_socket;
# $notebook_global->set_page($a);
};
-
+$window_global->set_default_size(700, 505);
+$window_global->set_position(1);
Gtk->main;