;hasaccels: y
:menu name: menu var: y
$menuitem name: dolcon label: "Start interface" sig: activate
- $smenuitem name: quit stock: QUIT sig: activate
+ $menuitem name: dolconf label: "Configure" sig: activate
+ $menusep
+ $menuitem name: quit label: "Shut down" sig: activate
end
}
}
+void cb_shm_dolconf_activate(GtkWidget *uu1, gpointer uu2)
+{
+ int i;
+
+ if((dcpid = fork()) == 0) {
+ for(i = 3; i < FD_SETSIZE; i++)
+ close(i);
+ execlp("dolconf", "dolconf", NULL);
+ perror("dolconf");
+ exit(127);
+ }
+}
+
void cb_shm_dolcon_activate(GtkWidget *uu1, gpointer uu2)
{
dolcon();