diff --git a/lcl/interfaces/gtk/gtkdef.pp b/lcl/interfaces/gtk/gtkdef.pp index 3c14350a9a..0b86cc7896 100644 --- a/lcl/interfaces/gtk/gtkdef.pp +++ b/lcl/interfaces/gtk/gtkdef.pp @@ -38,7 +38,7 @@ uses {$ELSE} glib, gdk, gtk, {$Ifndef NoGdkPixbufLib}gdkpixbuf,{$EndIf} {$ENDIF} - LCLLinux, LCLType, VclGlobals, Classes, LCLMemManager, DynHashArray, + Classes, LCLLinux, LCLType, VclGlobals, LCLMemManager, DynHashArray, GraphType; type @@ -435,6 +435,9 @@ end. { ============================================================================= $Log$ + Revision 1.35 2003/03/26 19:25:27 mattias + added transient deactivation option and updated localization + Revision 1.34 2003/03/15 18:32:38 mattias implemented transient windows for all cases diff --git a/lcl/interfaces/gtk/gtkglobals.pp b/lcl/interfaces/gtk/gtkglobals.pp index d59914b4c0..947484e9f9 100644 --- a/lcl/interfaces/gtk/gtkglobals.pp +++ b/lcl/interfaces/gtk/gtkglobals.pp @@ -31,8 +31,10 @@ uses {$I dragicons.inc} var -// target_table : array[0..TARGET_ENTRYS - 1] of TgtkTargetEntry; + // gtk-interface options + UseTransientForModalWindows: boolean; +var //drag icons //TrashCan_Open : PgdkPixmap; //TrashCan_Open_Mask : PGdkPixmap; @@ -283,6 +285,7 @@ implementation initialization ModalWindows:=nil; + UseTransientForModalWindows:=true; end.