aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-14 23:13:13 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-14 23:13:13 +0000
commit704adf8b10e765ec5c4b8e744754a5147ef70d76 (patch)
tree59beb0f2292234837ae4c0a2664d0a6153390db3 /rpmdrake.pm
parent8550d870b3e74292353c237a1a3435253f8b2120 (diff)
downloadrpmdrake-704adf8b10e765ec5c4b8e744754a5147ef70d76.tar
rpmdrake-704adf8b10e765ec5c4b8e744754a5147ef70d76.tar.gz
rpmdrake-704adf8b10e765ec5c4b8e744754a5147ef70d76.tar.bz2
rpmdrake-704adf8b10e765ec5c4b8e744754a5147ef70d76.tar.xz
rpmdrake-704adf8b10e765ec5c4b8e744754a5147ef70d76.zip
(interactive_msg) document return value
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 1a1899a3..36da78b8 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -212,6 +212,10 @@ sub getbanner() {
Gtk2::Banner->new('title-update', $::MODE eq 'update' ? N("Software Packages Update") : N("Software Management"));
}
+# return value:
+# - undef if if closed (aka really canceled)
+# - 0 if if No/Cancel
+# - 1 if if Yes/Ok
sub interactive_msg {
my ($title, $contents, %options) = @_;
$options{transient} ||= $::main_window if $::main_window;