diff options
author | etienne | 2004-09-06 15:06:14 +0000 |
---|---|---|
committer | etienne | 2004-09-06 15:06:14 +0000 |
commit | 0f62118094b4833b3fea71137ee8ab5e2434ab7a (patch) | |
tree | ce1e2ba964cf19bccf5a2a1a370fb6708d82c5c6 | |
parent | a80ffa71dce832aac01154d7de371c1215f737e7 (diff) | |
download | ivymon-0f62118094b4833b3fea71137ee8ab5e2434ab7a.zip ivymon-0f62118094b4833b3fea71137ee8ab5e2434ab7a.tar.gz ivymon-0f62118094b4833b3fea71137ee8ab5e2434ab7a.tar.bz2 ivymon-0f62118094b4833b3fea71137ee8ab5e2434ab7a.tar.xz |
toplevels are now transient
-rwxr-xr-x | src/ivymon | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1067,6 +1067,7 @@ sub filterClient { # sinon, on la crée } else { my $tpl = $mw->Toplevel; + $tpl->transient($mw); my $title = "$client messages"; $tpl->title($title); $tpl->Label(-text => $title)->pack(-side => 'top', @@ -1118,6 +1119,7 @@ sub showClientBindings { my $tpl = $clientBindingsTpl{$client}; $tpl->destroy if defined $tpl and Tk::Exists($tpl); $tpl = $mw->Toplevel; + $tpl->transient($mw); $clientBindingsTpl{$client} = $tpl; my $title = "Ivy bindings of $client application"; $tpl->title($title); @@ -2114,6 +2116,7 @@ sub loadfileForReplay { # build replay window $replay_tpl->destroy if defined $replay_tpl and Tk::Exists($replay_tpl); $replay_tpl = $mw->Toplevel; + $replay_tpl->transient($mw); $replay_tpl->title("Replay mode"); my $ctrl_fm = $replay_tpl->Frame()->pack(-side => 'bottom', -pady => 5); $replay_text = $replay_tpl->Scrolled('Text', @@ -2350,6 +2353,7 @@ sub savefile { sub save { my $tpl = $mw->Toplevel; + $tpl->transient($mw); $tpl->Popup; $tpl->title("Save"); $tpl->geometry("200x50"); |