diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-28 08:14:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-28 08:14:20 +0000 |
commit | 5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e (patch) | |
tree | f594f81beeb66120aa0b145d4df4b65a3206f183 | |
parent | 57bab60d58c0eef658185553f1ab039a76d00bc2 (diff) | |
download | control-center-5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e.tar control-center-5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e.tar.gz control-center-5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e.tar.bz2 control-center-5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e.tar.xz control-center-5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e.zip |
restore modal windows
-rwxr-xr-x | control-center | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/control-center b/control-center index d5b11840..fed6bf79 100755 --- a/control-center +++ b/control-center @@ -773,12 +773,13 @@ sub splash_warning { sub new_dialog { my ($title, $no_button) = @_; my $dialog = Gtk2::Dialog->new; + $dialog->set_transient_for($window_global); $dialog->set_position('center-on-parent'); $dialog->set_border_width(10); $dialog->set_title($title); $dialog->action_area->pack_start(gtkadd(Gtk2::HButtonBox->new, gtksignal_connect(Gtk2::Button->new(N("Close")), clicked => sub { $dialog->destroy })),0,0,0) unless $no_button; - $dialog; + gtkset_modal($dialog, 1); } sub more_themes { |