From 8d64adb98d9a5f11f7e110cc1eb9c5500b8b5c51 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 17 Aug 2002 23:41:30 +0000 Subject: [PATCH] added transient deactivation option and updated localization git-svn-id: trunk@2588 - --- lcl/interfaces/gtk/gtkdef.pp | 5 ++++- lcl/interfaces/gtk/gtkglobals.pp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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.