diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-28 10:32:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-28 10:32:23 +0000 |
commit | 0b60f3e6c85525fd3fa48beb9d0ec1187a389108 (patch) | |
tree | 9d9c3440673b5aa254c390e65eda5839f5f3fb49 | |
parent | 43d94276604bfb76ea73dd0b142738aad49a6bc5 (diff) | |
download | rpmdrake-0b60f3e6c85525fd3fa48beb9d0ec1187a389108.tar rpmdrake-0b60f3e6c85525fd3fa48beb9d0ec1187a389108.tar.gz rpmdrake-0b60f3e6c85525fd3fa48beb9d0ec1187a389108.tar.bz2 rpmdrake-0b60f3e6c85525fd3fa48beb9d0ec1187a389108.tar.xz rpmdrake-0b60f3e6c85525fd3fa48beb9d0ec1187a389108.zip |
(interactive_msg,wait_msg) do not embed message dialogs
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 69b7644b..37e6d700 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -180,6 +180,7 @@ sub getbanner() { sub interactive_msg { my ($title, $contents, %options) = @_; + local $::isEmbedded; my $d = ugtk2->new($title, grab => 1, if_(exists $options{transient}, transient => $options{transient})); $d->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always'); $contents = formatAlaTeX($contents) unless $options{scroll}; #- because we'll use a WrappedLabel @@ -302,6 +303,7 @@ sub fatal_msg { sub wait_msg { my ($msg, %options) = @_; gtkflush(); + local $::isEmbedded; my $mainw = ugtk2->new(N("Please wait"), grab => 1, if_(exists $options{transient}, transient => $options{transient})); $mainw->{real_window}->set_position($options{transient} ? 'center_on_parent' : 'center_always'); my $label = ref($msg) =~ /^Gtk/ ? $msg : Gtk2::WrappedLabel->new($msg); |