aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatteo <matteo.pasotti@gmail.com>2014-06-28 12:03:56 +0300
committermatteo <matteo.pasotti@gmail.com>2014-06-28 12:03:56 +0300
commitce90c083a3e53394d23e5a18d19e78137b6d800f (patch)
tree64d7b2dbe961de2d7f93c208b43088bb7ef2ff71 /lib
parent7d37b66a480ab62f66433c120acefe088889efd8 (diff)
downloadmanatools-ce90c083a3e53394d23e5a18d19e78137b6d800f.tar
manatools-ce90c083a3e53394d23e5a18d19e78137b6d800f.tar.gz
manatools-ce90c083a3e53394d23e5a18d19e78137b6d800f.tar.bz2
manatools-ce90c083a3e53394d23e5a18d19e78137b6d800f.tar.xz
manatools-ce90c083a3e53394d23e5a18d19e78137b6d800f.zip
fixed call to ask_YesOrNo
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/rpmdragora.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm
index 80f06cd2..cae9879e 100644
--- a/lib/AdminPanel/rpmdragora.pm
+++ b/lib/AdminPanel/rpmdragora.pm
@@ -250,11 +250,8 @@ sub getbanner() {
# - 1 if if Yes/Ok
sub interactive_msg {
my ($title, $contents, %options) = @_;
- my $param;
- $param->{title} = $title;
- $param->{text} = $contents;
- $param->{richtext} = 0;
- return AdminPanel::Shared::GUI::ask_YesOrNo($param);
+ my $sh_gui = AdminPanel::Shared::GUI->new();
+ return $sh_gui->ask_YesOrNo({ title => $title, text => $contents, richtext => 0});
=comment
$options{transient} ||= $::main_window if $::main_window;
local $::isEmbedded;