|
|
|
@ -23,16 +23,6 @@ void on_file_chooser_cancel(GtkWidget *, filechooser_window *window){
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
char *yon_get_default_label_with_parameter(char *command){
|
|
|
|
|
|
|
|
int size;
|
|
|
|
|
|
|
|
config_str parsed = yon_config_load(command,&size);
|
|
|
|
|
|
|
|
if (parsed){
|
|
|
|
|
|
|
|
yon_char_remove_last_symbol(parsed[0],'\n');
|
|
|
|
|
|
|
|
char *default_string = yon_char_unite(DEFAULT_LABEL," ","(",parsed[0],")",NULL);
|
|
|
|
|
|
|
|
return default_string;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void on_file_chooser_selected(GtkWidget *self, filechooser_window *window){
|
|
|
|
void on_file_chooser_selected(GtkWidget *self, filechooser_window *window){
|
|
|
|
if (window->last_any_selection) free(window->last_any_selection);
|
|
|
|
if (window->last_any_selection) free(window->last_any_selection);
|
|
|
|
if (window->last_success_selection) free(window->last_success_selection);
|
|
|
|
if (window->last_success_selection) free(window->last_success_selection);
|
|
|
|
|