From 546fb85b22ea8cf48d7c6ac373c713a608707d5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 17 Mar 2024 18:17:45 +0100 Subject: [PATCH] Remove "Use Windows native dialogs" GUI setting This is a left-over from #3219 and should have been removed already. Fixes #3627. --- data/geany.glade | 16 ---------------- src/prefs.c | 3 --- 2 files changed, 19 deletions(-) diff --git a/data/geany.glade b/data/geany.glade index 7d82ca28da..eb9a89f837 100644 --- a/data/geany.glade +++ b/data/geany.glade @@ -1311,22 +1311,6 @@ 3 - - - Use Windows native dialogs - True - True - False - Defines whether to use the Windows native dialogs or whether to use the GTK default dialogs - True - True - - - False - False - 4 - - diff --git a/src/prefs.c b/src/prefs.c index dc4ace5baf..40c23ccc52 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -1751,9 +1751,6 @@ void prefs_show_dialog(void) vte_append_preferences_tab(); #endif -#ifndef G_OS_WIN32 - gtk_widget_hide(ui_lookup_widget(ui_widgets.prefs_dialog, "check_native_windows_dialogs")); -#endif ui_setup_open_button_callback(ui_lookup_widget(ui_widgets.prefs_dialog, "startup_path_button"), NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_ENTRY(ui_lookup_widget(ui_widgets.prefs_dialog, "startup_path_entry"))); ui_setup_open_button_callback(ui_lookup_widget(ui_widgets.prefs_dialog, "extra_plugin_path_button"), NULL,