aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo@mageia.org>2014-06-28 10:31:13 +0200
committerMatteo Pasotti <matteo@mageia.org>2014-06-28 10:31:13 +0200
commit4e363919eebd2c6ee95955ebf9a1284df7d1183f (patch)
tree0c936952601b8e8c8312aa5ec92de016b32f656a /lib
parent084d8bb10d4152919b264331c89756fa21e3de2b (diff)
downloadmanatools-4e363919eebd2c6ee95955ebf9a1284df7d1183f.tar
manatools-4e363919eebd2c6ee95955ebf9a1284df7d1183f.tar.gz
manatools-4e363919eebd2c6ee95955ebf9a1284df7d1183f.tar.bz2
manatools-4e363919eebd2c6ee95955ebf9a1284df7d1183f.tar.xz
manatools-4e363919eebd2c6ee95955ebf9a1284df7d1183f.zip
invokes ask_YesOrNo moved into AdminPanel::Shared::GUI
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/rpmdragora.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm
index b96ed53d..80f06cd2 100644
--- a/lib/AdminPanel/rpmdragora.pm
+++ b/lib/AdminPanel/rpmdragora.pm
@@ -45,6 +45,7 @@ use Locale::gettext;
use feature 'state';
use AdminPanel::Shared;
+use AdminPanel::Shared::GUI;
our @ISA = qw(Exporter);
our $VERSION = '2.27';
@@ -249,7 +250,11 @@ sub getbanner() {
# - 1 if if Yes/Ok
sub interactive_msg {
my ($title, $contents, %options) = @_;
- return ask_YesOrNo($title, $contents);
+ my $param;
+ $param->{title} = $title;
+ $param->{text} = $contents;
+ $param->{richtext} = 0;
+ return AdminPanel::Shared::GUI::ask_YesOrNo($param);
=comment
$options{transient} ||= $::main_window if $::main_window;
local $::isEmbedded;