summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-30 16:17:06 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-30 16:17:06 +0000
commited4e2063f93738719755f23833d1bf14a98419f5 (patch)
treed479542f5114aef5d02206cc1022b50244cd2184
parent144d92e77b6cfc91d05f438301e649e217b907e3 (diff)
downloadcontrol-center-ed4e2063f93738719755f23833d1bf14a98419f5.tar
control-center-ed4e2063f93738719755f23833d1bf14a98419f5.tar.gz
control-center-ed4e2063f93738719755f23833d1bf14a98419f5.tar.bz2
control-center-ed4e2063f93738719755f23833d1bf14a98419f5.tar.xz
control-center-ed4e2063f93738719755f23833d1bf14a98419f5.zip
declare alignments early enough, thus fixing aligning titles with RTL languages
-rw-r--r--NEWS1
-rwxr-xr-xcontrol-center8
2 files changed, 6 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 8302b453..4959cf9c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
- right part:
o adjust spacing
o fix order with RTL languages
+ o fix titles alignment with RTL languages
o remove gray gradient
o reduce subtitles font size
diff --git a/control-center b/control-center
index a251ffa6..a67d026d 100755
--- a/control-center
+++ b/control-center
@@ -569,6 +569,11 @@ if (scalar glob_("$more_wizard_dir/*.conf")) {
#-------------------------------------------------------------
# let build the GUI
+
+my $align = mygtk2::text_direction_rtl() ? "right" : "justify";
+my $align2 = mygtk2::text_direction_rtl() ? "right" : "left";
+
+
# main window :
my ($timeout, %check_boxes, $emb_socket);
@@ -748,9 +753,6 @@ my %tool_callbacks;
my ($page_count);
-my $align = mygtk2::text_direction_rtl() ? "right" : "justify";
-my $align2 = mygtk2::text_direction_rtl() ? "right" : "left";
-
my $conf_file = '/etc/sysconfig/mcc.conf';
foreach (cat_($conf_file)) {