Skip to content

Commit

Permalink
Merge pull request geany#3791 from eht16/issue3627_remove_win32_nativ…
Browse files Browse the repository at this point in the history
…e_dialog_from_glade

Remove "Use Windows native dialogs" GUI setting
  • Loading branch information
eht16 committed Mar 28, 2024
2 parents 8320f20 + 546fb85 commit 3a92129
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
16 changes: 0 additions & 16 deletions data/geany.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1311,22 +1311,6 @@
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="check_native_windows_dialogs">
<property name="label" translatable="yes">Use Windows native dialogs</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
<property name="tooltip-text" translatable="yes">Defines whether to use the Windows native dialogs or whether to use the GTK default dialogs</property>
<property name="use-underline">True</property>
<property name="draw-indicator">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">4</property>
</packing>
</child>
</object>
</child>
</object>
Expand Down
3 changes: 0 additions & 3 deletions src/prefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3a92129

Please sign in to comment.