summaryrefslogtreecommitdiff
path: root/linux/main.cpp
diff options
context:
space:
mode:
authorleo2000-10-02 19:42:20 +0000
committerleo2000-10-02 19:42:20 +0000
commiteab1b19ce036328610ed89363375e6d3f22af2e6 (patch)
treec9b22fd8f6bf20359a96627f8a60b66c75b80148 /linux/main.cpp
parent8112baff828fcdabe5a3c6df5f206123a88dae10 (diff)
Added gtk_window_set_transient to the floating pieces bar
git-svn-id: http://svn.leocad.org/trunk@150 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'linux/main.cpp')
-rw-r--r--linux/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index e6f4dca..fbba97a 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -542,6 +542,7 @@ static void update_window_layout ()
if (pieces_visible)
{
pieces_parent = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_transient_for (GTK_WINDOW (pieces_parent), GTK_WINDOW (main_window));
gtk_signal_connect (GTK_OBJECT (pieces_parent), "delete_event",
GTK_SIGNAL_FUNC (pieces_close), NULL);
gtk_signal_connect (GTK_OBJECT (pieces_parent), "destroy",