diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-26 10:32:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-26 10:32:39 +0000 |
commit | b3dbc2d5f604120c587eb3a1b6cf01838bee65d8 (patch) | |
tree | b0a91aa7b2e20ac769bd0662bf9cc9fd3e983471 | |
parent | 13e462fa835117bb24bbd56d9bc031af72b6a308 (diff) | |
download | control-center-b3dbc2d5f604120c587eb3a1b6cf01838bee65d8.tar control-center-b3dbc2d5f604120c587eb3a1b6cf01838bee65d8.tar.gz control-center-b3dbc2d5f604120c587eb3a1b6cf01838bee65d8.tar.bz2 control-center-b3dbc2d5f604120c587eb3a1b6cf01838bee65d8.tar.xz control-center-b3dbc2d5f604120c587eb3a1b6cf01838bee65d8.zip |
(build_list) fix icon ugliness (pterjan)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | control-center | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,5 @@ - RTL languages fixes +- fix icon ugliness Version 11.6 - 25 September 2008, Thierry Vignaud diff --git a/control-center b/control-center index f827fe83..2dea8e7e 100755 --- a/control-center +++ b/control-center @@ -792,7 +792,7 @@ sub build_widget_element { $tool_feedback{$label} = sub {}; #sub { $event_box->window && $event_box->window->set_cursor($hand_cursor) }; my $real_icon = $icon ? '<IMG SRC="' . mygtk2::_find_imgfile($icon) . '">' : ''; my @widgets = ( - qq(<TD>$real_icon</TD>), + qq(<TD class="img">$real_icon</TD>), qq(<TD style="text-align: $align"><DIV>) . escape_text_for_TextView_markup_format($programs{$label}{description}) . qq(</DIV></TD>) @@ -839,11 +839,11 @@ foreach (@tree) { color: #5A8AD6; font-weight: bold; } - img { + td.img { background-image: url($square_icon_uri); background-repeat: no-repeat; width: 60; height: 60; - margin-right: 12px; + text-align: center; } hr { width: 98%; |