diff options
author | matteo <matteo.pasotti@gmail.com> | 2014-06-28 12:03:56 +0300 |
---|---|---|
committer | matteo <matteo.pasotti@gmail.com> | 2014-06-28 12:03:56 +0300 |
commit | ce90c083a3e53394d23e5a18d19e78137b6d800f (patch) | |
tree | 64d7b2dbe961de2d7f93c208b43088bb7ef2ff71 /lib | |
parent | 7d37b66a480ab62f66433c120acefe088889efd8 (diff) | |
download | manatools-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.pm | 7 |
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; |