|
|
|
@ -271,6 +271,18 @@ main_window *yon_main_window_complete(main_window *widgets){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->runWithTerminalCombo),0);
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->runWithTerminalCombo),0);
|
|
|
|
gtk_widget_show(widgets->Window);
|
|
|
|
gtk_widget_show(widgets->Window);
|
|
|
|
|
|
|
|
GList *list = gtk_container_get_children(GTK_CONTAINER(gtk_window_get_titlebar(GTK_WINDOW(widgets->Window))));
|
|
|
|
|
|
|
|
GList *iter;
|
|
|
|
|
|
|
|
for (iter=list;iter;iter=iter->next){
|
|
|
|
|
|
|
|
if (GTK_IS_BOX(iter->data)){
|
|
|
|
|
|
|
|
GList *chlist = gtk_container_get_children(GTK_CONTAINER(iter->data));
|
|
|
|
|
|
|
|
if (chlist->next){
|
|
|
|
|
|
|
|
gtk_widget_hide(GTK_WIDGET(chlist->data));
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
gtk_widget_hide(GTK_WIDGET(iter->data));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
return widgets;
|
|
|
|
return widgets;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|