@techee commented on this pull request.
> gboolean ro = (response == GEANY_RESPONSE_VIEW); /* View
> clicked */
- filesel_state.open.more_options_visible =
gtk_expander_get_expanded(GTK_EXPANDER(expander));
- filesel_state.open.filter_idx =
file_chooser_get_filter_idx(GTK_FILE_CHOOSER(dialog));
- filesel_state.open.filetype_idx =
filetype_combo_box_get_active_filetype(GTK_COMBO_BOX(filetype_combo));
+ if (!GTK_IS_NATIVE_DIALOG(dialog))
+ {
+ GtkWidget *expander =
ui_lookup_widget(GTK_WIDGET(dialog), "more_options_expander");
+ GtkWidget *filetype_combo =
ui_lookup_widget(GTK_WIDGET(dialog), "filetype_combo");
+ GtkWidget *encoding_combo =
ui_lookup_widget(GTK_WIDGET(dialog), "encoding_combo");
+
+ filesel_state.open.more_options_visible =
gtk_expander_get_expanded(GTK_EXPANDER(expander));
+ filesel_state.open.filter_idx =
file_chooser_get_filter_idx(GTK_FILE_CHOOSER(dialog));
So I've just tested this both on macOS and Windows and it doesn't work there
unfortunately. I'd say it's not a big deal - would be just nice if it did.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3861#discussion_r1632405258
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3861/review/[email protected]>