| 2047 | } |
| 2048 | |
| 2049 | G_MODULE_EXPORT void |
| 2050 | dest_dir_set_cb (GhbFileButton *dest_chooser, GParamSpec *pspec, gpointer data) |
| 2051 | { |
| 2052 | const gchar *dest_file, *dest_dir; |
| 2053 | gchar *dest; |
| 2054 | signal_user_data_t *ud = ghb_ud(); |
| 2055 | |
| 2056 | ghb_log_func(); |
| 2057 | ghb_widget_to_setting(ud->settings, (GtkWidget*)dest_chooser); |
| 2058 | dest_file = ghb_dict_get_string(ud->settings, "dest_file"); |
| 2059 | dest_dir = ghb_dict_get_string(ud->settings, "dest_dir"); |
| 2060 | dest = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", dest_dir, dest_file); |
| 2061 | ghb_dict_set_string(ud->settings, "destination", dest); |
| 2062 | GhbValue *dest_dict = ghb_get_job_dest_settings(ud->settings); |
| 2063 | ghb_dict_set_string(dest_dict, "File", dest); |
| 2064 | g_free(dest); |
| 2065 | update_default_destination(ud); |
| 2066 | } |
| 2067 | |
| 2068 | G_MODULE_EXPORT void |
| 2069 | dest_file_changed_cb (GtkEntry *entry, gpointer data) |
nothing calls this directly
no test coverage detected