diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 13:28:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 13:28:11 +0000 |
commit | 0562b1244ee0a89dff9f4fd75cbf14c7adb70616 (patch) | |
tree | afd1285649a3c01f3fd4b6bcb18f1ba6b994148d | |
parent | ca2e49fb9907114bff627e223af8cbf765d3c5b9 (diff) | |
download | control-center-0562b1244ee0a89dff9f4fd75cbf14c7adb70616.tar control-center-0562b1244ee0a89dff9f4fd75cbf14c7adb70616.tar.gz control-center-0562b1244ee0a89dff9f4fd75cbf14c7adb70616.tar.bz2 control-center-0562b1244ee0a89dff9f4fd75cbf14c7adb70616.tar.xz control-center-0562b1244ee0a89dff9f4fd75cbf14c7adb70616.zip |
(build_list) make icon+text act as a single item for links (fcrozat)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -1,3 +1,5 @@ +- make icon+text act as a single item for links + Version 11.4 - 25 September 2008, Thierry Vignaud - add padding between icons & text diff --git a/control-center b/control-center index 241bc12d..0f878dd4 100755 --- a/control-center +++ b/control-center @@ -869,16 +869,16 @@ foreach (@tree) { $tool_feedback{$label} = sub {}; #sub { $event_box->window && $event_box->window->set_cursor($hand_cursor) }; my $real_icon = $icon ? '<IMG SRC="' . ugtk2::_find_imgfile($icon) . '">' : ''; my @widgets = ( - qq(<TD><A HREF="$label">$real_icon</A></TD>), - qq(<TD style="text-align: $align"><A HREF="$label"><DIV>) + qq(<TD>$real_icon</TD>), + qq(<TD style="text-align: $align"><DIV>) . escape_text_for_TextView_markup_format($programs{$label}{description}) - . qq(</DIV></A></TD>) + . qq(</DIV></TD>) ); @widgets = reverse @widgets if mygtk2::text_direction_rtl(); qq(<TD WIDTH="49%"> -<TABLE align="$align2"><TR> +<A HREF="$label"><TABLE align="$align2"><TR> @widgets -</TR></TABLE></TD> +</TR></TABLE></A></TD> ); } @{$subtree->{list}}) ); |