mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-19 08:30:09 +00:00
Merge branch 'win-file-ext' into 'main'
filechoosernativewin32: Set default extension See merge request GNOME/gtk!5266
This commit is contained in:
commit
52c97dbf67
@ -602,6 +602,10 @@ filechooser_win32_thread (gpointer _data)
|
|||||||
if (FAILED (hr))
|
if (FAILED (hr))
|
||||||
g_warning_hr ("Can't set file types", hr);
|
g_warning_hr ("Can't set file types", hr);
|
||||||
|
|
||||||
|
hr = IFileDialog_SetDefaultExtension (pfd, L"");
|
||||||
|
if (FAILED (hr))
|
||||||
|
g_warning_hr ("Can't set default extension", hr);
|
||||||
|
|
||||||
if (data->self->current_filter)
|
if (data->self->current_filter)
|
||||||
{
|
{
|
||||||
GListModel *filters;
|
GListModel *filters;
|
||||||
|
Loading…
Reference in New Issue
Block a user