rem: g_message ("Don't kill gromit, and show it");
context: totem_gromit_toggle (void){	if (totem_gromit_available () == FALSE)		return;	/* Not started */	if (pid == -1) {		int i = 5;		g_message ("Launching gromit");		if (g_spawn_async (NULL,				(char **)start_cmd, NULL, 0, NULL, NULL,				&pid, NULL) == FALSE) {			g_printerr ("Couldn't start gromit");			return;		}		/* FIXME kludge, should be about 1 sec */		while (gtk_events_pending () || i > 0) {			gtk_main_iteration ();			usleep (100000);			i--;			if (i < 0)				break;		}		launch (toggle_cmd);	} else if (id == -1) { /* Started but disabled */		g_message ("Don't kill gromit, and show it");		g_source_remove (id);		id = -1;		launch (toggle_cmd);	} else {		/* Started and visible */		g_message ("Disable drawing of gromit");		g_source_remove (id);		id = -1;		launch (toggle_cmd);	}}