[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_multiattrib.c
User: werner
Date: 06/12/29 10:22:18
Modified: . x_multiattrib.c
Log:
* src/x_mulitattrib.c: added transient_for flag to the dialog.
Suggested by Kurt Peters
Revision Changes Path
1.5 +4 -0 eda/geda/gaf/gschem/src/x_multiattrib.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_multiattrib.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_multiattrib.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- x_multiattrib.c 17 Dec 2006 04:14:03 -0000 1.4
+++ x_multiattrib.c 29 Dec 2006 15:22:17 -0000 1.5
@@ -58,6 +58,10 @@
"toplevel", toplevel,
"object", object,
NULL));
+
+ gtk_window_set_transient_for(GTK_WINDOW(dialog),
+ GTK_WINDOW(toplevel->main_window));
+
gtk_widget_show (dialog);
switch (gtk_dialog_run ((GtkDialog*)dialog)) {
case MULTIATTRIB_RESPONSE_CLOSE:
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs