MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ghb_file_chooser_new

Function ghb_file_chooser_new

gtk/src/util.c:177–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177GtkFileChooser *
178ghb_file_chooser_new (const char *title, GtkWindow *parent, GtkFileChooserAction action,
179 const char *accept_label, const char *cancel_label)
180{
181 if (!ghb_dict_get_bool(ghb_ud()->prefs, "NativeFileChooser"))
182 {
183 return GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(title, parent, action,
184 accept_label, GTK_RESPONSE_ACCEPT,
185 cancel_label, GTK_RESPONSE_CANCEL,
186 NULL));
187 }
188 else
189 {
190 return GTK_FILE_CHOOSER(gtk_file_chooser_native_new(title, parent, action,
191 accept_label, cancel_label));
192 }
193}
194
195void
196ghb_file_chooser_set_modal (GtkFileChooser *chooser, gboolean modal)

Callers 9

preset_import_action_cbFunction · 0.85
preset_export_action_cbFunction · 0.85
ghb_file_button_clickedFunction · 0.85
do_source_dialogFunction · 0.85
destination_action_cbFunction · 0.85
save_queue_fileFunction · 0.85
open_queue_fileFunction · 0.85

Calls 2

ghb_dict_get_boolFunction · 0.85
ghb_udFunction · 0.85

Tested by

no test coverage detected