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