diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-30 16:17:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-30 16:17:06 +0000 |
commit | ed4e2063f93738719755f23833d1bf14a98419f5 (patch) | |
tree | d479542f5114aef5d02206cc1022b50244cd2184 | |
parent | 144d92e77b6cfc91d05f438301e649e217b907e3 (diff) | |
download | control-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-- | NEWS | 1 | ||||
-rwxr-xr-x | control-center | 8 |
2 files changed, 6 insertions, 3 deletions
@@ -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)) { |