@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));
Remembering the filter doesn't work.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3861#discussion_r1632406034
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3861/review/[email protected]>