diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2006-12-04 15:32:42 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2006-12-04 15:32:42 +0000 |
commit | 7941dd79793c02e3b0b704edb1fda236ba98f29d (patch) | |
tree | 958634c1d563496a646c343a71af71c0a05f4efc /fpicker/source/unx/gnome/SalGtkFilePicker.cxx | |
parent | 1b9ef40215dba3ea84ff72656d417acee9b8b186 (diff) |
INTEGRATION: CWS vcl69 (1.17.30); FILE MERGED
2006/11/21 16:31:33 pl 1.17.30.1: #i70782# workaround deadlock (thanks cmc)
Diffstat (limited to 'fpicker/source/unx/gnome/SalGtkFilePicker.cxx')
-rw-r--r-- | fpicker/source/unx/gnome/SalGtkFilePicker.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx index e6328d2875..a29fdd04ed 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: SalGtkFilePicker.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: obo $ $Date: 2006-09-16 17:52:09 $ + * last change: $Author: rt $ $Date: 2006-12-04 16:32:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1092,7 +1092,9 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException ) OUStringToOString(aResProvider.getResString(FILE_PICKER_TITLE_SAVE ), RTL_TEXTENCODING_UTF8 ).getStr() ); - btn = gtk_dialog_run( GTK_DIALOG( dlg ) ); + RunDialog aAnotherRunInMain(dlg); + btn = aAnotherRunInMain.runandwaitforresult(); + gtk_widget_destroy( dlg ); } |