aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-03 12:19:40 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-03 12:19:40 +0000
commit29c3adff913e517dd293015573d393292d5cff9a (patch)
tree0502ec753b970d53d432efdd7dd43659e5de0e02
parent9676b258c721784db59312f5cc77d4103d1c22eb (diff)
downloadrpmdrake-29c3adff913e517dd293015573d393292d5cff9a.tar
rpmdrake-29c3adff913e517dd293015573d393292d5cff9a.tar.gz
rpmdrake-29c3adff913e517dd293015573d393292d5cff9a.tar.bz2
rpmdrake-29c3adff913e517dd293015573d393292d5cff9a.tar.xz
rpmdrake-29c3adff913e517dd293015573d393292d5cff9a.zip
(init) align text to top (I wonder if we shouldn't align it to the left too)
-rwxr-xr-xRpmdrake/gurpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm
index f20f8544..4a3468bf 100755
--- a/Rpmdrake/gurpm.pm
+++ b/Rpmdrake/gurpm.pm
@@ -38,7 +38,7 @@ sub init {
$mainw = ugtk2->new($title, %options, default_width => 600, width => 600);
$previous_main_window = $::main_window;
$::main_window = $mainw->{real_window};
- $label = gtknew('Label', text => $initializing);
+ $label = gtknew('Label', text => $initializing, alignment => [ 0.5, 0 ]);
# size label's heigh to 2 lines in order to prevent dummy vertical resizing:
my $context = $label->get_layout->get_context;
my $metrics = $context->get_metrics($label->style->font_desc, $context->get_language);