Explorar el Código

Remove menu item on session close.

Signed-off-by: Bradley Smith <[email protected]>
Bradley Smith hace 14 años
padre
commit
93d7dad6e4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/mssh-window.c

+ 2 - 0
src/mssh-window.c

@@ -149,6 +149,8 @@ static gboolean mssh_window_session_close(gpointer data)
 	}
 	else
 	{
+		gtk_widget_destroy(data_pair->terminal->menu_item);
+
 		gtk_container_remove(GTK_CONTAINER(data_pair->window->table),
 			GTK_WIDGET(data_pair->terminal));