forked from eclipse-platform/eclipse.platform.swt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK4] Migrate FileDialog to new GTK FileDialog API
The FileChooser API has been marked as deprecated with GTK 4.10 and replaced by the FileDialog API. With this contribution, this old API has now been limited to GTK3. Following methods have been added to OS.java: - g_list_store_new - g_list_store_append Following methods have been moved from GTK.java to GTK3.java: - gtk_file_chooser_add_filter - gtk_file_chooser_get_filter - gtk_file_chooser_set_current_name - gtk_file_chooser_set_filter - gtk_file_chooser_set_select_multiple - gtk_file_chooser_native_new Following constant has been added to GTK.java: - GTK_TYPE_FILE_FILTER Following methods have been removed from GTK4.java: - gtk_file_chooser_get_files - gtk_file_chooser_get_file - gtk_file_chooser_set_current_folder - gtk_file_chooser_set_file Following methods have been added to GTK4.java: - gtk_file_dialog_set_initial_name - gtk_file_dialog_set_initial_file - gtk_file_dialog_set_title - gtk_file_dialog_set_default_filter - gtk_file_dialog_set_filters - gtk_file_dialog_get_default_filter - gtk_file_dialog_open_multiple - gtk_file_dialog_open_multiple_finish - gtk_file_dialog_open - gtk_file_dialog_open_finish - gtk_file_dialog_save - gtk_file_dialog_save_finish This commit also amends an oversight from 2e61b4b where the title of the directory dialog was no longer set. Contributes to: eclipse-platform#652
- Loading branch information
Showing
13 changed files
with
454 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.