Fixed os components loading

pull/207/head
parent 4e270c6d6b
commit f9e586ed54

@ -124,7 +124,7 @@ gboolean yon_os_component_insert(struct row_data *row_input){
gtk_list_box_insert(GTK_LIST_BOX(widgets->OSSoftwareListBox),row->row,-1); gtk_list_box_insert(GTK_LIST_BOX(widgets->OSSoftwareListBox),row->row,-1);
yon_os_row_setup(row,row_input->name,row_input->version,row_input->tags,row_input->description); yon_os_row_setup(row,row_input->name,row_input->version,row_input->tags,row_input->description);
char *modules = config(modules_parameter); char *modules = config(modules_parameter);
if (yon_char_is_empty(modules)){ if (yon_char_is_empty(modules)||yon_char_check_element(modules,row_input->name,",")||!strcmp(modules,"auto")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),1); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),1);
} }
return G_SOURCE_REMOVE; return G_SOURCE_REMOVE;

@ -13055,6 +13055,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption password:</property> <property name="label" translatable="yes">Encryption password:</property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

Loading…
Cancel
Save