diff --git a/source/controler.c b/source/controler.c index 9a47b21..1f39062 100644 --- a/source/controler.c +++ b/source/controler.c @@ -236,18 +236,24 @@ void tree_view_select(GtkWidget* self, vector* vec_temp, hotebook* widgets) { } void wrapper_get_spin_time_gui_user() { + block_spin_time(&cfg_custom_gui.user, wrapper_get_spin_time_gui_user); get_spin_time_gui(&all_config.v_user, &cfg_custom_gui.user); entry_user_disk(0, 0); + unlock_spin_time(&cfg_custom_gui.user, wrapper_get_spin_time_gui_user); } void wrapper_get_spin_time_gui_group() { + block_spin_time(&cfg_custom_gui.group, wrapper_get_spin_time_gui_group); get_spin_time_gui(&all_config.v_group, &cfg_custom_gui.group); entry_groups_disk(0, 0); + unlock_spin_time(&cfg_custom_gui.group, wrapper_get_spin_time_gui_group); } void wrapper_get_spin_time_gui_project() { + block_spin_time(&cfg_custom_gui.project, wrapper_get_spin_time_gui_project); get_spin_time_gui(&all_config.v_project, &cfg_custom_gui.project); entry_project_disk(0, 0); + unlock_spin_time(&cfg_custom_gui.project, wrapper_get_spin_time_gui_project); } void get_spin_time_gui(vector* vec_u_g_p, hotebook* widgets) { diff --git a/source/model/model.c b/source/model/model.c index 4cf242d..ca8e0de 100644 --- a/source/model/model.c +++ b/source/model/model.c @@ -26,6 +26,7 @@ void model_tree_view_add(config_u_g_p* _config) { } void model_null_str_writing(config_u_g_p* _config) { + _config->type_arr = yon_char_new(empty_str); _config->quota = yon_char_new(empty_str); _config->size_memory = yon_char_new(empty_str); _config->device = yon_char_new(empty_str); diff --git a/source/view_temp_u_g_p.c b/source/view_temp_u_g_p.c index 4bb1791..9cbf6d9 100644 --- a/source/view_temp_u_g_p.c +++ b/source/view_temp_u_g_p.c @@ -346,7 +346,7 @@ void set_widget(GtkWidget* check, GtkWidget* spin, GtkWidget* combo, int value_s void get_edit_gui_data_base(config_all* all_config, int index) { config_u_g_p* _config = (config_u_g_p*)vec_temp->pfVectorGet(vec_temp, index); if (_config && index >= 0) { - _config = get_temp_gui_data_base(_config); + get_temp_gui_data_base(_config); vec_temp->pfVectorSet(vec_temp, index, _config); } diff --git a/ubl-settings-diskquota.desktop b/ubl-settings-diskquota.desktop index 3343192..cfaaca7 100644 --- a/ubl-settings-diskquota.desktop +++ b/ubl-settings-diskquota.desktop @@ -1,11 +1,11 @@ [Desktop Entry] Encoding=UTF-8 Name=ubl-settings-diskquota -Name[ru]=TEMPLATE +Name[ru]=ubl-settings-diskquota GenericName=ubl-settings-diskquota -GenericName[ru]=TEMPLATE +GenericName[ru]=ubl-settings-diskquota Comment=ubl-settings-diskquota -Comment[ru]=Приложение для TEMPLATE +Comment[ru]=Приложение для настройки дисковых квот Type=Application Exec=pkexec ubl-settings-diskquota Icon=com.ublinux.ubl-settings-diskquota