aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-18 22:18:42 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-18 22:18:42 +0000
commit0c20502e91e906a08177443885f84262816f5b68 (patch)
tree1191a9a62fc930bbf57c7c9dac7e6bd8bbcd797b /rpmdrake.pm
parentcdb4d808bd2ebf59359f81527bbfea7c88db235a (diff)
downloadrpmdrake-0c20502e91e906a08177443885f84262816f5b68.tar
rpmdrake-0c20502e91e906a08177443885f84262816f5b68.tar.gz
rpmdrake-0c20502e91e906a08177443885f84262816f5b68.tar.bz2
rpmdrake-0c20502e91e906a08177443885f84262816f5b68.tar.xz
rpmdrake-0c20502e91e906a08177443885f84262816f5b68.zip
(interactive_msg) fix displaying data about packages when choosing one
while resolving dependancies (#39042) (regression introduced in r238921 on 2008-03-10: "(interactive_msg) enable to use markups in TextView (needed for next commit)")
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index d1bcb9c3..4d2e1c37 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -201,9 +201,9 @@ sub interactive_msg {
my $d = ugtk2->new($title, grab => 1, if_(exists $options{transient}, transient => $options{transient}));
$d->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always');
if ($options{scroll}) {
- $contents = ugtk2::markup_to_TextView_format($contents);
+ $contents = ugtk2::markup_to_TextView_format($contents) if !ref $contents;
} else { #- because we'll use a WrappedLabel
- $contents = formatAlaTeX($contents);
+ $contents = formatAlaTeX($contents) if !ref $contents;
}
my $banner = $options{banner} ? getbanner() : undef;
my $text_w;