|
|
|
|
@ -232,10 +232,8 @@ void on_storage_create(GtkWidget *self, storage_config_window *window){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void on_storage_disable(GtkWidget *self, storage_config_window *window){
|
|
|
|
|
dialog_confirmation_data *data = malloc(sizeof(dialog_confirmation_data));
|
|
|
|
|
dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
|
|
|
|
|
data->action_text=DISABLE_CONFIRMATION_LABEL;
|
|
|
|
|
data->function=NULL;
|
|
|
|
|
data->data=NULL;
|
|
|
|
|
GtkTreeIter iter,itar;
|
|
|
|
|
if (gtk_combo_box_get_active_iter(GTK_COMBO_BOX(window->StoragePathCombo),&iter)){
|
|
|
|
|
if (yon_confirmation_dialog_call(self,data)){
|
|
|
|
|
@ -262,10 +260,8 @@ void on_storage_disable(GtkWidget *self, storage_config_window *window){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
void on_storage_remove(GtkWidget *self, storage_config_window *window){
|
|
|
|
|
dialog_confirmation_data *data = malloc(sizeof(dialog_confirmation_data));
|
|
|
|
|
dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
|
|
|
|
|
data->action_text=REMOVE_CONFIRMATION_LABEL;
|
|
|
|
|
data->function=NULL;
|
|
|
|
|
data->data=NULL;
|
|
|
|
|
if (yon_confirmation_dialog_call(self,data)){
|
|
|
|
|
GtkTreeIter itar;
|
|
|
|
|
char *storage;
|
|
|
|
|
|