summaryrefslogtreecommitdiffstats
path: root/urpm/msg.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-16 01:58:52 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-16 01:58:52 +0000
commitd076acea4a244bf2b4209920dc99916443502bdd (patch)
treed00257103e82e0b517732d7ed7b23c27e59c3ffd /urpm/msg.pm
parent7f7047b4638da10d2fd8923edfe1dcd5721ab194 (diff)
downloadurpmi-d076acea4a244bf2b4209920dc99916443502bdd.tar
urpmi-d076acea4a244bf2b4209920dc99916443502bdd.tar.gz
urpmi-d076acea4a244bf2b4209920dc99916443502bdd.tar.bz2
urpmi-d076acea4a244bf2b4209920dc99916443502bdd.tar.xz
urpmi-d076acea4a244bf2b4209920dc99916443502bdd.zip
Optionally use zenity instead of gchooser if found, it's much prettier
Diffstat (limited to 'urpm/msg.pm')
-rw-r--r--urpm/msg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm
index 1957916f..308deda3 100644
--- a/urpm/msg.pm
+++ b/urpm/msg.pm
@@ -35,6 +35,7 @@ sub log_it {
sub to_utf8 { Locale::gettext::iconv($_[0], undef, "UTF-8") }
+#- this function returns a value via $?. this is evil; FIXME (and use zenity)
sub gmessage {
my ($msg, %params) = @_;
my $ok = to_utf8($params{ok} || N("Ok"));