1
0
Эх сурвалжийг харах

Remove menu item on session close.

Signed-off-by: Bradley Smith <[email protected]>
Bradley Smith 15 жил өмнө
parent
commit
93d7dad6e4
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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));