Prevent prefs dialog being hidden after using the prefs file dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2002 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2007-11-01 12:53:00 +00:00
parent 331a7848fc
commit 340c76f01c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c:
Prevent prefs dialog being hidden after using the prefs file dialog.
2007-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2007-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, /src/main.c, src/symbols.c, tagmanager/tm_project.c, * src/document.c, /src/main.c, src/symbols.c, tagmanager/tm_project.c,

View File

@ -432,7 +432,7 @@ void win32_show_pref_file_dialog(GtkEntry *item)
#else #else
of.lStructSize = sizeof of; of.lStructSize = sizeof of;
#endif #endif
of.hwndOwner = GDK_WINDOW_HWND(app->window->window); of.hwndOwner = GDK_WINDOW_HWND(ui_widgets.prefs_dialog->window);
of.lpstrFilter = filters; of.lpstrFilter = filters;
of.lpstrCustomFilter = NULL; of.lpstrCustomFilter = NULL;