summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-26 10:32:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-26 10:32:39 +0000
commitb3dbc2d5f604120c587eb3a1b6cf01838bee65d8 (patch)
treeb0a91aa7b2e20ac769bd0662bf9cc9fd3e983471
parent13e462fa835117bb24bbd56d9bc031af72b6a308 (diff)
downloadcontrol-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--NEWS1
-rwxr-xr-xcontrol-center6
2 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index c32c3f2d..51d591db 100644
--- a/NEWS
+++ b/NEWS
@@ -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%;