|
|
|
|
@ -395,7 +395,7 @@ void on_system_autostart_clicked(GtkCellRenderer *, char *path, main_window *wid
|
|
|
|
|
gboolean yon_filter(GtkTreeModel* model, GtkTreeIter *iter, main_window *widgets){
|
|
|
|
|
gboolean autostart,autostop,masked,type,loaded,active;
|
|
|
|
|
char *name;
|
|
|
|
|
gtk_tree_model_get(model,iter,0,&autostart,1,&autostop,2,&masked,5,&name,7,&type,8,&loaded,9,&active,-1);
|
|
|
|
|
gtk_tree_model_get(model,iter,0,&autostart,1,&autostop,2,&masked,5,&name,7,&type,8,&active,9,&loaded,-1);
|
|
|
|
|
GtkWidget *combo=NULL;
|
|
|
|
|
GtkWidget *loaded_check=NULL;
|
|
|
|
|
GtkWidget *active_check=NULL;
|
|
|
|
|
@ -527,7 +527,7 @@ void on_system_launch_clicked(GtkWidget *, char *path, main_window *widgets){
|
|
|
|
|
int responce = yon_confirmation_dialog_call(widgets->Window,data);
|
|
|
|
|
if (responce == GTK_RESPONSE_ACCEPT){
|
|
|
|
|
gtk_list_store_set(GTK_LIST_STORE(model),&iter,4,1,-1);
|
|
|
|
|
yon_ubl_status_box_render(SERVICE_RELOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
|
|
|
|
|
yon_ubl_status_box_render(SERVICE_START_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -1361,7 +1361,7 @@ void* yon_interface_update(main_window *widgets){
|
|
|
|
|
int active = !strcmp(parsed[2],"active");
|
|
|
|
|
enum YON_UNIT_TYPE type = yon_get_unit_type(parsed[0]);
|
|
|
|
|
gtk_list_store_append(widgets->SystemList,&iter);
|
|
|
|
|
gtk_list_store_set(widgets->SystemList,&iter,3,1,4,active,5,parsed[0],6,parsed[4],7,type,8,active,9,loaded,11,_(parsed[3]),-1);
|
|
|
|
|
gtk_list_store_set(widgets->SystemList,&iter,3,loaded,4,active,5,parsed[0],6,parsed[4],7,type,8,active,9,1,11,_(parsed[3]),-1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -1411,7 +1411,7 @@ void* yon_interface_update(main_window *widgets){
|
|
|
|
|
int active = !strcmp(parsed[2],"active");
|
|
|
|
|
enum YON_UNIT_TYPE type = yon_get_unit_type(parsed[0]);
|
|
|
|
|
gtk_list_store_append(widgets->UserList,&iter);
|
|
|
|
|
gtk_list_store_set(widgets->UserList,&iter,3,1,4,active,5,parsed[0],6,parsed[4],7,type,8,active,9,loaded,11,_(parsed[3]),-1);
|
|
|
|
|
gtk_list_store_set(widgets->UserList,&iter,3,loaded,4,active,5,parsed[0],6,parsed[4],7,type,8,active,9,1,11,_(parsed[3]),-1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|