aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-08 16:23:26 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-08 16:23:26 +0000
commitfdc86c79c07a9e75054cf242dced16ebb409e3af (patch)
tree4163ece1825ff071d2534e84e0fc1a35a9bd84ff /Rpmdrake/gui.pm
parentac174a10e01ba2e6a854e8e1e939c07d9b1aea9a (diff)
downloadrpmdrake-fdc86c79c07a9e75054cf242dced16ebb409e3af.tar
rpmdrake-fdc86c79c07a9e75054cf242dced16ebb409e3af.tar.gz
rpmdrake-fdc86c79c07a9e75054cf242dced16ebb409e3af.tar.bz2
rpmdrake-fdc86c79c07a9e75054cf242dced16ebb409e3af.tar.xz
rpmdrake-fdc86c79c07a9e75054cf242dced16ebb409e3af.zip
perl_checker cleanups
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 5f09ea62..2b8f8cee 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -62,7 +62,7 @@ our %pkg_columns = (
short_name => 4,
version => 5,
release => 6,
- arch => 7,
+ 'arch' => 7,
);
@@ -114,7 +114,7 @@ sub format_pkg_simplifiedinfo {
my $summary = get_summary($key);
my $s = ugtk2::markup_to_TextView_format(
# force align "name - summary" to the right with RTL languages (#33603):
- (lang::text_direction_rtl() ? "\x{200f}" : ()) .
+ if_(lang::text_direction_rtl(), "\x{200f}") .
join("\n", format_header(join(' - ', $name, $summary)) .
# workaround gtk+ bug where GtkTextView wronly limit embedded widget size to bigger line's width (#25533):
"\x{200b} \x{feff}" . ' ' x 120,