|
|
|
@ -236,6 +236,8 @@ void on_configuration_hub_open(GtkFlowBox *,GtkFlowBoxChild *child, main_window
|
|
|
|
config_hub_icon *cur_icon = g_object_get_data(G_OBJECT(child),"config_hub_icon");
|
|
|
|
config_hub_icon *cur_icon = g_object_get_data(G_OBJECT(child),"config_hub_icon");
|
|
|
|
|
|
|
|
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),cur_icon->page);
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),cur_icon->page);
|
|
|
|
|
|
|
|
yon_page_init(widgets,cur_icon->page);
|
|
|
|
|
|
|
|
yon_page_update(widgets);
|
|
|
|
switch(cur_icon->page){
|
|
|
|
switch(cur_icon->page){
|
|
|
|
case YON_PAGE_OS_COMPONENTS:
|
|
|
|
case YON_PAGE_OS_COMPONENTS:
|
|
|
|
case YON_PAGE_KERNEL:
|
|
|
|
case YON_PAGE_KERNEL:
|
|
|
|
@ -247,8 +249,6 @@ void on_configuration_hub_open(GtkFlowBox *,GtkFlowBoxChild *child, main_window
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default: break;
|
|
|
|
default: break;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
yon_page_init(widgets,cur_icon->page);
|
|
|
|
|
|
|
|
yon_page_update(widgets);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_configuration_hub_add(GtkFlowBox *target, char *name, char *icon, enum YON_PAGES page){
|
|
|
|
void yon_configuration_hub_add(GtkFlowBox *target, char *name, char *icon, enum YON_PAGES page){
|
|
|
|
|