summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center10
1 files changed, 7 insertions, 3 deletions
diff --git a/control-center b/control-center
index e7270e7e..3e3bca90 100755
--- a/control-center
+++ b/control-center
@@ -400,9 +400,11 @@ my $pixbuf_icon = gtkcreate_pixbuf('mcc-title-icon');
# main page (summary) :
+my $margin = 40;
my $summary = gtktext_insert(Gtk2::TextView->new, [
[ N("Welcome to the Mandrake Control Center")."\n\n",
- {'size-points' => 15, justification => 'center', 'weight-set' => 1, weight => 1000 } ],
+ {'size-points' => 15, justification => 'center', pixels_above_lines => $margin-10,
+ 'weight-set' => 1, weight => 1000 } ],
[ formatAlaTeX(N("Mandrake Control Center is Mandrake Linux's main configuration
tool. It enables the system administrator to configure the hardware
and services used for all users.
@@ -414,9 +416,11 @@ evil command line.")) ],
[ "\n ", { justification => 'GTK_JUSTIFY_RIGHT' } ],
[ gtkcreate_pixbuf('mcc-welcome-logo'), { justification => 'GTK_JUSTIFY_RIGHT' } ]
]);
+$summary->set_left_margin($margin);
+$summary->set_right_margin($margin);
-add2notebook($notebook_global, "", create_scrolled_window(gtkset_size_request(gtkset_border_width($summary, 40),
- 50, 50),
+add2notebook($notebook_global, "", create_scrolled_window(gtkset_size_request($summary,
+ 50, 50),
),
);