aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
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;